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:[32.22,32.38,32.22,32.35]},{ x:'01/24/2024',y:[32.38,32.55,32.38,32.50]},{ x:'01/25/2024',y:[32.44,32.44,32.18,32.21]},{ x:'01/26/2024',y:[32.21,32.25,32.14,32.15]},{ x:'01/29/2024',y:[32.24,32.27,32.24,32.26]},{ x:'01/30/2024',y:[32.59,32.70,32.58,32.59]},{ x:'01/31/2024',y:[32.47,32.55,32.47,32.51]},{ x:'02/01/2024',y:[32.12,32.16,32.10,32.13]},{ x:'02/02/2024',y:[32.37,32.38,32.29,32.30]},{ x:'02/05/2024',y:[32.30,32.31,32.25,32.26]},{ x:'02/15/2024',y:[32.89,32.98,32.75,32.96]},{ x:'02/16/2024',y:[32.97,32.98,32.91,32.91]},{ x:'02/19/2024',y:[32.60,32.60,32.57,32.60]},{ x:'02/20/2024',y:[32.60,32.60,32.50,32.52]},{ x:'02/21/2024',y:[32.20,32.20,31.75,31.84]},{ x:'02/22/2024',y:[31.55,31.55,31.43,31.53]},{ x:'02/23/2024',y:[31.77,31.93,31.77,31.92]},{ x:'02/26/2024',y:[31.95,31.99,31.92,31.96]},{ x:'02/27/2024',y:[32.15,32.23,32.15,32.23]},{ x:'02/29/2024',y:[32.33,32.45,32.33,32.42]},{ x:'03/01/2024',y:[32.42,32.61,32.42,32.60]},{ x:'03/04/2024',y:[32.60,32.63,32.54,32.56]},{ x:'03/05/2024',y:[32.42,32.45,32.40,32.45]},{ x:'03/06/2024',y:[32.30,32.47,32.30,32.42]},{ x:'03/07/2024',y:[32.30,32.30,32.00,32.10]},{ x:'03/08/2024',y:[32.40,32.59,32.40,32.56]},{ x:'03/11/2024',y:[32.35,32.46,32.34,32.43]},{ x:'03/12/2024',y:[32.52,32.89,32.52,32.87]},{ x:'03/13/2024',y:[32.87,33.00,32.87,33.00]},{ x:'03/14/2024',y:[32.67,32.95,32.67,32.91]},{ x:'03/15/2024',y:[32.50,32.62,32.50,32.62]},{ x:'03/18/2024',y:[32.54,32.54,32.02,32.15]},{ x:'03/19/2024',y:[32.09,32.21,31.99,32.21]},{ x:'03/20/2024',y:[32.14,32.21,32.14,32.20]},{ x:'03/21/2024',y:[32.82,32.82,32.69,32.74]},{ x:'03/22/2024',y:[32.74,32.95,32.74,32.91]},{ x:'03/25/2024',y:[32.82,32.82,32.50,32.61]},{ x:'03/26/2024',y:[32.49,32.50,32.40,32.47]},{ x:'03/27/2024',y:[32.52,32.65,32.52,32.65]},{ x:'03/28/2024',y:[32.67,32.69,32.63,32.69]},{ x:'03/29/2024',y:[32.70,32.78,32.70,32.75]},{ x:'04/01/2024',y:[33.03,33.03,32.97,32.99]},{ x:'04/02/2024',y:[32.88,32.91,32.88,32.89]},{ x:'04/03/2024',y:[32.71,32.71,32.56,32.60]},{ x:'04/08/2024',y:[32.53,32.53,32.50,32.52]},{ x:'04/09/2024',y:[32.58,32.62,32.57,32.62]},{ x:'04/10/2024',y:[32.61,32.63,32.61,32.62]},{ x:'04/11/2024',y:[32.33,32.40,32.33,32.40]},{ x:'04/12/2024',y:[32.64,32.70,32.63,32.66]},{ x:'04/15/2024',y:[32.37,32.37,32.20,32.20]},{ x:'04/16/2024',y:[31.77,31.77,31.43,31.51]},{ x:'04/17/2024',y:[31.48,31.48,31.36,31.36]},{ x:'04/18/2024',y:[31.20,31.20,30.96,31.01]},{ x:'04/19/2024',y:[30.80,30.80,30.57,30.80]},{ x:'04/22/2024',y:[30.95,31.19,30.95,31.19]},{ x:'04/23/2024',y:[31.20,31.49,31.20,31.37]},{ x:'04/24/2024',y:[31.83,32.00,31.83,31.97]},{ x:'04/25/2024',y:[32.15,32.15,32.02,32.03]},{ x:'04/26/2024',y:[31.91,31.91,31.82,31.85]},{ x:'04/29/2024',y:[32.44,32.45,32.39,32.42]} ] }], chart: { type: "candlestick", height: 350, toolbar: { show: !1 } }, plotOptions: { candlestick: { colors: { upward: chartCandlestickBasicColors[0], downward: chartCandlestickBasicColors[1] } } }, title: { text: "00875 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());