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/27/2023',y:[26.62,27.01,26.62,26.81]},{ x:'11/28/2023',y:[27.00,27.00,26.86,26.90]},{ x:'11/29/2023',y:[27.75,27.78,27.59,27.68]},{ x:'11/30/2023',y:[27.68,27.68,27.55,27.57]},{ x:'12/01/2023',y:[27.57,27.57,27.47,27.49]},{ x:'12/04/2023',y:[28.93,28.95,28.65,28.77]},{ x:'12/05/2023',y:[27.40,27.45,27.22,27.26]},{ x:'12/06/2023',y:[27.01,27.02,26.94,27.02]},{ x:'12/07/2023',y:[27.11,27.17,27.06,27.08]},{ x:'12/08/2023',y:[27.20,27.21,27.13,27.19]},{ x:'12/11/2023',y:[26.47,26.47,26.22,26.30]},{ x:'12/12/2023',y:[25.96,26.00,25.89,25.98]},{ x:'12/18/2023',y:[26.78,26.86,26.74,26.83]},{ x:'12/19/2023',y:[26.94,26.97,26.80,26.85]},{ x:'01/10/2024',y:[26.74,26.78,26.65,26.75]},{ x:'01/11/2024',y:[26.66,26.78,26.65,26.77]},{ x:'01/12/2024',y:[26.74,26.86,26.71,26.84]},{ x:'01/15/2024',y:[27.16,27.45,27.16,27.38]},{ x:'01/16/2024',y:[27.29,27.33,27.21,27.22]},{ x:'01/17/2024',y:[26.68,26.78,26.46,26.47]},{ x:'01/18/2024',y:[26.22,26.25,26.10,26.14]},{ x:'01/19/2024',y:[26.53,26.55,26.43,26.45]},{ x:'01/22/2024',y:[26.64,26.70,26.45,26.46]},{ x:'01/23/2024',y:[26.43,26.63,26.37,26.63]},{ x:'01/24/2024',y:[26.56,26.62,26.48,26.48]},{ x:'01/25/2024',y:[26.24,26.27,26.21,26.27]},{ x:'01/26/2024',y:[26.36,26.40,26.34,26.37]},{ x:'01/29/2024',y:[26.39,26.49,26.37,26.45]},{ x:'01/30/2024',y:[26.63,26.65,26.56,26.62]},{ x:'01/31/2024',y:[26.73,26.74,26.66,26.70]},{ x:'02/01/2024',y:[26.83,27.07,26.81,27.02]},{ x:'02/02/2024',y:[27.20,27.23,27.13,27.22]},{ x:'02/05/2024',y:[26.71,26.77,26.57,26.60]},{ x:'02/15/2024',y:[25.54,25.54,25.45,25.51]},{ x:'02/16/2024',y:[25.68,25.77,25.68,25.74]},{ x:'02/19/2024',y:[26.07,26.18,26.05,26.14]},{ x:'02/20/2024',y:[26.03,26.13,26.03,26.11]},{ x:'02/21/2024',y:[26.21,26.45,26.21,26.40]},{ x:'02/22/2024',y:[26.30,26.39,26.26,26.36]},{ x:'02/23/2024',y:[26.28,26.29,26.22,26.25]},{ x:'02/26/2024',y:[26.38,26.48,26.38,26.45]},{ x:'02/27/2024',y:[26.40,26.50,26.40,26.45]},{ x:'02/29/2024',y:[26.45,26.57,26.45,26.47]},{ x:'03/01/2024',y:[26.68,26.79,26.66,26.69]},{ x:'03/04/2024',y:[27.65,27.68,27.58,27.62]},{ x:'03/05/2024',y:[28.48,28.53,28.38,28.50]},{ x:'03/06/2024',y:[28.83,28.84,28.74,28.80]},{ x:'03/07/2024',y:[29.31,29.71,29.26,29.65]},{ x:'03/08/2024',y:[29.73,29.73,29.52,29.55]},{ x:'03/11/2024',y:[30.34,30.36,30.10,30.23]},{ x:'03/12/2024',y:[30.22,30.27,30.09,30.12]},{ x:'03/13/2024',y:[29.57,29.64,29.54,29.59]},{ x:'03/14/2024',y:[30.02,30.04,29.86,29.89]},{ x:'03/15/2024',y:[29.70,29.75,29.65,29.75]},{ x:'03/18/2024',y:[29.50,29.50,29.22,29.23]},{ x:'03/19/2024',y:[29.65,29.68,29.55,29.55]},{ x:'03/20/2024',y:[29.56,29.60,29.52,29.54]},{ x:'03/21/2024',y:[30.63,30.96,30.61,30.76]},{ x:'03/22/2024',y:[30.28,30.28,29.95,29.99]},{ x:'03/25/2024',y:[29.76,30.03,29.72,29.83]} ] }], chart: { type: "candlestick", height: 350, toolbar: { show: !1 } }, plotOptions: { candlestick: { colors: { upward: chartCandlestickBasicColors[0], downward: chartCandlestickBasicColors[1] } } }, title: { text: "00708l 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());