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:[31.49,31.58,30.76,30.76]},{ x:'11/30/2023',y:[30.80,31.35,30.80,31.09]},{ x:'12/01/2023',y:[31.18,31.22,30.31,30.45]},{ x:'12/04/2023',y:[30.63,30.81,30.30,30.43]},{ x:'12/05/2023',y:[30.27,30.28,29.72,29.89]},{ x:'12/06/2023',y:[29.37,29.37,28.85,29.33]},{ x:'12/07/2023',y:[29.03,29.21,28.50,29.02]},{ x:'12/08/2023',y:[29.06,29.34,28.83,29.18]},{ x:'12/11/2023',y:[28.80,28.84,28.10,28.47]},{ x:'12/12/2023',y:[29.25,29.42,28.98,29.20]},{ x:'12/18/2023',y:[27.75,28.11,27.32,27.89]},{ x:'12/19/2023',y:[27.75,28.09,27.50,27.85]},{ x:'01/10/2024',y:[27.19,27.75,27.07,27.29]},{ x:'01/11/2024',y:[27.23,27.72,26.97,27.62]},{ x:'01/12/2024',y:[27.22,27.57,27.02,27.34]},{ x:'01/15/2024',y:[27.30,27.69,26.71,27.39]},{ x:'01/16/2024',y:[27.12,27.64,26.83,27.15]},{ x:'01/17/2024',y:[27.38,27.45,26.81,26.83]},{ x:'01/18/2024',y:[26.45,26.48,25.55,25.77]},{ x:'01/19/2024',y:[26.71,27.31,26.62,27.03]},{ 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]} ] }], 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());