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/22/2024',y:[27.42,27.58,26.93,27.26]},{ x:'01/23/2024',y:[27.00,27.25,26.40,26.88]},{ x:'01/24/2024',y:[27.30,27.60,26.47,26.70]},{ x:'01/25/2024',y:[28.33,28.60,27.65,28.47]},{ x:'01/26/2024',y:[28.33,28.70,28.08,28.24]},{ x:'01/29/2024',y:[28.54,28.86,28.38,28.39]},{ x:'01/30/2024',y:[28.12,28.20,27.33,27.51]},{ x:'01/31/2024',y:[27.13,27.55,26.98,27.32]},{ x:'02/01/2024',y:[27.32,27.75,26.98,27.47]},{ x:'02/02/2024',y:[27.35,27.65,26.73,26.89]},{ x:'02/05/2024',y:[26.58,28.00,26.25,27.71]},{ x:'02/15/2024',y:[29.18,29.50,29.01,29.36]},{ x:'02/16/2024',y:[29.65,30.46,29.55,30.40]},{ x:'02/19/2024',y:[30.51,30.78,29.80,29.88]},{ x:'02/20/2024',y:[30.01,30.41,29.95,30.07]},{ x:'02/21/2024',y:[30.20,32.27,30.17,32.25]},{ x:'02/22/2024',y:[31.87,32.05,31.51,32.05]},{ x:'02/23/2024',y:[32.15,32.51,31.84,32.07]},{ x:'02/26/2024',y:[32.25,32.25,31.15,31.42]},{ x:'02/27/2024',y:[31.13,31.40,30.90,31.23]},{ x:'02/29/2024',y:[30.94,31.83,30.90,31.47]},{ x:'03/01/2024',y:[31.59,31.85,31.22,31.61]},{ x:'03/04/2024',y:[31.74,31.80,31.39,31.46]},{ x:'03/05/2024',y:[31.34,32.23,31.18,32.06]},{ x:'03/06/2024',y:[32.20,32.63,32.16,32.30]},{ x:'03/07/2024',y:[32.05,32.40,31.80,31.81]},{ x:'03/08/2024',y:[31.85,31.99,31.35,31.47]},{ x:'03/11/2024',y:[31.59,32.88,31.56,32.50]},{ x:'03/12/2024',y:[32.96,33.58,32.67,33.50]},{ x:'03/13/2024',y:[33.46,33.46,32.76,33.01]},{ x:'03/14/2024',y:[32.87,33.38,32.62,32.72]},{ x:'03/15/2024',y:[32.62,33.05,32.44,32.48]},{ x:'03/18/2024',y:[32.89,33.40,32.74,33.05]},{ x:'03/19/2024',y:[33.13,33.50,32.95,33.36]},{ x:'03/20/2024',y:[33.22,33.63,32.92,33.45]},{ x:'03/21/2024',y:[33.54,33.84,33.39,33.49]},{ x:'03/22/2024',y:[33.47,33.56,32.47,32.94]},{ x:'03/25/2024',y:[33.00,33.29,32.72,33.13]},{ x:'03/26/2024',y:[32.91,33.39,32.90,33.25]},{ x:'03/27/2024',y:[33.31,33.49,33.14,33.21]},{ x:'03/28/2024',y:[33.00,33.56,32.55,33.34]},{ x:'03/29/2024',y:[33.16,33.53,33.06,33.10]},{ x:'04/01/2024',y:[33.37,34.54,33.35,34.19]},{ x:'04/02/2024',y:[33.98,34.42,33.81,33.93]},{ x:'04/03/2024',y:[34.00,34.02,33.48,33.84]},{ x:'04/08/2024',y:[33.80,33.89,33.06,33.38]},{ x:'04/09/2024',y:[33.23,33.45,32.84,32.84]},{ x:'04/10/2024',y:[33.02,33.10,32.63,32.76]},{ x:'04/11/2024',y:[32.43,32.75,32.17,32.75]},{ x:'04/12/2024',y:[32.59,32.86,32.33,32.40]},{ x:'04/15/2024',y:[31.88,33.68,31.76,33.68]},{ x:'04/16/2024',y:[33.61,33.88,33.10,33.80]},{ x:'04/17/2024',y:[33.65,33.72,33.10,33.54]},{ x:'04/18/2024',y:[33.90,34.88,33.74,34.37]},{ x:'04/19/2024',y:[34.20,34.30,33.54,33.77]},{ x:'04/22/2024',y:[33.86,34.49,33.83,33.93]},{ x:'04/23/2024',y:[34.00,34.14,33.49,33.87]},{ x:'04/24/2024',y:[34.00,34.41,33.65,33.80]},{ x:'04/25/2024',y:[33.91,34.45,33.76,34.20]},{ x:'04/26/2024',y:[34.30,35.22,34.26,35.22]} ] }], chart: { type: "candlestick", height: 350, toolbar: { show: !1 } }, plotOptions: { candlestick: { colors: { upward: chartCandlestickBasicColors[0], downward: chartCandlestickBasicColors[1] } } }, title: { text: "00633l 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());