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:'11/29/2023',y:[38.07,38.13,38.07,38.10]},{ x:'11/30/2023',y:[38.19,38.26,38.19,38.25]},{ x:'12/01/2023',y:[38.23,38.37,38.23,38.37]},{ x:'12/04/2023',y:[38.51,38.51,38.34,38.41]},{ x:'12/05/2023',y:[38.53,38.63,38.53,38.62]},{ x:'12/06/2023',y:[38.66,38.74,38.66,38.72]},{ x:'12/07/2023',y:[38.79,38.83,38.77,38.82]},{ x:'12/08/2023',y:[38.75,38.75,38.54,38.54]},{ x:'12/11/2023',y:[38.65,38.73,38.65,38.73]},{ x:'12/12/2023',y:[38.63,38.71,38.63,38.71]},{ x:'12/18/2023',y:[38.85,38.92,38.85,38.89]},{ x:'12/19/2023',y:[38.92,38.93,38.89,38.92]},{ x:'01/10/2024',y:[38.63,38.72,38.63,38.71]},{ x:'01/11/2024',y:[38.77,38.83,38.77,38.80]},{ x:'01/12/2024',y:[38.86,38.86,38.81,38.85]},{ x:'01/15/2024',y:[38.88,39.07,38.88,39.07]},{ x:'01/16/2024',y:[39.22,39.25,39.19,39.25]},{ x:'01/17/2024',y:[38.83,38.87,38.79,38.85]},{ x:'01/18/2024',y:[38.78,38.83,38.77,38.78]},{ x:'01/19/2024',y:[38.68,38.70,38.66,38.67]},{ x:'01/22/2024',y:[38.55,38.55,38.48,38.51]},{ x:'01/23/2024',y:[38.61,38.66,38.61,38.66]},{ x:'01/24/2024',y:[38.66,38.67,38.59,38.60]},{ x:'01/25/2024',y:[38.60,38.60,38.55,38.58]},{ x:'01/26/2024',y:[38.70,38.70,38.63,38.64]},{ x:'01/29/2024',y:[38.62,38.68,38.62,38.64]},{ x:'01/30/2024',y:[38.54,38.59,38.54,38.57]},{ x:'01/31/2024',y:[38.55,38.71,38.55,38.70]},{ x:'02/01/2024',y:[38.71,38.75,38.71,38.75]},{ x:'02/02/2024',y:[38.71,38.71,38.64,38.64]},{ x:'02/05/2024',y:[38.70,38.71,38.67,38.71]},{ x:'02/15/2024',y:[38.66,38.78,38.65,38.73]},{ x:'02/16/2024',y:[38.79,38.79,38.70,38.77]},{ x:'02/19/2024',y:[38.66,38.76,38.66,38.76]},{ x:'02/20/2024',y:[38.79,38.85,38.79,38.85]},{ x:'02/21/2024',y:[38.91,38.92,38.88,38.90]},{ x:'02/22/2024',y:[38.85,38.94,38.85,38.90]},{ x:'02/23/2024',y:[38.90,39.10,38.89,39.08]},{ x:'02/26/2024',y:[39.05,39.12,39.05,39.10]},{ x:'02/27/2024',y:[39.05,39.16,39.05,39.14]},{ x:'02/29/2024',y:[39.25,39.25,39.19,39.20]},{ x:'03/01/2024',y:[39.20,39.20,39.13,39.15]},{ x:'03/04/2024',y:[39.02,39.14,39.02,39.09]},{ x:'03/05/2024',y:[39.09,39.16,39.09,39.14]},{ x:'03/06/2024',y:[39.22,39.26,39.22,39.26]},{ x:'03/07/2024',y:[39.16,39.22,39.10,39.19]},{ x:'03/08/2024',y:[39.13,39.14,39.06,39.10]},{ x:'03/11/2024',y:[39.08,39.17,39.04,39.15]},{ x:'03/12/2024',y:[39.20,39.22,39.14,39.16]},{ x:'03/13/2024',y:[39.18,39.23,39.18,39.21]},{ x:'03/14/2024',y:[39.21,39.30,39.21,39.25]},{ x:'03/15/2024',y:[39.29,39.30,39.28,39.29]},{ x:'03/18/2024',y:[39.30,39.34,39.29,39.34]},{ x:'03/19/2024',y:[39.40,39.42,39.38,39.38]},{ x:'03/20/2024',y:[39.53,39.53,39.42,39.51]},{ x:'03/21/2024',y:[39.53,39.62,39.52,39.57]},{ x:'03/22/2024',y:[39.61,39.86,39.61,39.82]},{ x:'03/25/2024',y:[39.87,39.87,39.59,39.79]},{ x:'03/26/2024',y:[39.72,39.82,39.67,39.80]},{ x:'03/27/2024',y:[39.78,39.83,39.75,39.81]} ] }], chart: { type: "candlestick", height: 350, toolbar: { show: !1 } }, plotOptions: { candlestick: { colors: { upward: chartCandlestickBasicColors[0], downward: chartCandlestickBasicColors[1] } } }, title: { text: "00727b 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());