function getChartColorsArray(e) { if (null !== document.getElementById(e)) { e = document.getElementById(e).getAttribute("data-colors"); if (e) return (e = JSON.parse(e)).map(function(e) { var t = e.replace(" ", ""); return -1 === t.indexOf(",") ? getComputedStyle(document.documentElement).getPropertyValue(t) || t : 2 == (e = e.split(",")).length ? "rgba(" + getComputedStyle(document.documentElement).getPropertyValue(e[0]) + "," + e[1] + ")" : t }) } } var chartCandlestickBasicColors = getChartColorsArray("basic_candlestick"), chartCandlestickComboColors = (chartCandlestickBasicColors && (options = { series: [{ data: [ { x:'01/23/2024',y:[36.83,36.83,36.83,36.83]},{ x:'01/24/2024',y:[36.70,36.70,36.58,36.70]},{ x:'01/25/2024',y:[36.41,36.54,36.40,36.54]},{ x:'01/26/2024',y:[36.71,36.78,36.71,36.78]},{ x:'01/29/2024',y:[36.78,36.78,36.67,36.70]},{ x:'01/30/2024',y:[36.76,36.93,36.76,36.91]},{ x:'01/31/2024',y:[36.99,37.17,36.99,37.17]},{ x:'02/01/2024',y:[37.28,37.37,37.18,37.37]},{ x:'02/02/2024',y:[37.30,37.37,37.30,37.37]},{ x:'02/05/2024',y:[37.30,37.30,36.94,36.95]},{ x:'02/15/2024',y:[36.16,36.33,36.16,36.27]},{ x:'02/16/2024',y:[36.27,36.27,36.06,36.07]},{ x:'02/19/2024',y:[36.07,36.12,36.07,36.10]},{ x:'02/20/2024',y:[36.03,36.13,36.01,36.13]},{ x:'02/21/2024',y:[36.23,36.29,36.23,36.26]},{ x:'02/22/2024',y:[36.28,36.28,36.14,36.23]},{ x:'02/23/2024',y:[36.34,36.39,36.34,36.38]},{ x:'02/26/2024',y:[36.76,36.82,36.69,36.72]},{ x:'02/27/2024',y:[36.30,36.30,36.11,36.14]},{ x:'02/29/2024',y:[36.10,36.10,36.05,36.09]},{ x:'03/01/2024',y:[36.08,36.08,35.98,36.03]},{ x:'03/04/2024',y:[36.15,36.16,36.10,36.16]},{ x:'03/05/2024',y:[36.07,36.13,36.04,36.11]},{ x:'03/06/2024',y:[36.11,36.31,36.11,36.30]},{ x:'03/07/2024',y:[36.55,36.64,36.51,36.64]},{ x:'03/08/2024',y:[36.71,36.71,36.61,36.67]},{ x:'03/11/2024',y:[36.70,36.71,36.70,36.70]},{ x:'03/12/2024',y:[36.70,36.70,36.64,36.67]},{ x:'03/13/2024',y:[36.50,36.54,36.49,36.54]},{ x:'03/14/2024',y:[36.41,36.49,36.41,36.45]},{ x:'03/15/2024',y:[36.24,36.29,36.24,36.29]},{ x:'03/18/2024',y:[36.26,36.29,36.24,36.29]},{ x:'03/19/2024',y:[36.37,36.43,36.36,36.43]},{ x:'03/20/2024',y:[36.54,36.58,36.54,36.54]},{ x:'03/21/2024',y:[36.45,36.46,36.41,36.43]},{ x:'03/22/2024',y:[36.53,36.87,36.53,36.85]},{ x:'03/25/2024',y:[37.17,37.17,36.92,36.93]},{ x:'03/26/2024',y:[36.86,36.88,36.85,36.88]},{ x:'03/27/2024',y:[36.93,36.93,36.91,36.91]},{ x:'03/28/2024',y:[37.03,37.04,37.03,37.03]},{ x:'03/29/2024',y:[37.09,37.13,37.09,37.13]},{ x:'04/01/2024',y:[37.09,37.17,37.09,37.17]},{ x:'04/02/2024',y:[37.17,37.17,36.80,36.81]},{ x:'04/03/2024',y:[36.75,36.75,36.62,36.63]},{ x:'04/08/2024',y:[36.52,36.54,36.34,36.34]},{ x:'04/09/2024',y:[36.53,36.53,36.50,36.50]},{ x:'04/10/2024',y:[36.62,36.71,36.62,36.69]},{ x:'04/11/2024',y:[36.18,36.20,36.18,36.20]},{ x:'04/12/2024',y:[36.10,36.15,36.06,36.13]},{ x:'04/15/2024',y:[36.28,36.28,36.13,36.13]},{ x:'04/16/2024',y:[36.10,36.10,35.87,35.91]},{ x:'04/17/2024',y:[35.85,35.85,35.57,35.62]},{ x:'04/18/2024',y:[35.82,35.83,35.78,35.83]},{ x:'04/19/2024',y:[36.04,36.33,36.02,36.11]},{ x:'04/22/2024',y:[35.76,35.83,35.76,35.80]},{ x:'04/23/2024',y:[36.00,36.05,36.00,36.03]},{ x:'04/24/2024',y:[36.03,36.03,35.86,35.94]},{ x:'04/25/2024',y:[35.86,35.86,35.78,35.78]},{ x:'04/26/2024',y:[35.60,35.60,35.51,35.59]},{ x:'04/29/2024',y:[35.90,35.90,35.86,35.86]} ] }], chart: { type: "candlestick", height: 350, toolbar: { show: !1 } }, plotOptions: { candlestick: { colors: { upward: chartCandlestickBasicColors[0], downward: chartCandlestickBasicColors[1] } } }, title: { text: "00754b Daily 股市資訊", align: "left", style: { fontWeight: 500 } }, xaxis: { labels: { format: 'dd/MM', } }, yaxis: { tooltip: { enabled: !0 } } }, (chart = new ApexCharts(document.querySelector("#basic_candlestick"), options)).render()), (chart = new ApexCharts(document.querySelector("#1"), options)).render());