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/14/2022',y:[23.71,23.76,23.55,23.61]},{ x:'11/15/2022',y:[23.77,23.92,23.75,23.92]},{ x:'11/16/2022',y:[24.01,24.03,23.85,23.97]},{ x:'11/17/2022',y:[23.95,23.98,23.63,23.66]},{ x:'11/18/2022',y:[23.64,23.71,23.61,23.61]},{ x:'11/21/2022',y:[23.33,23.33,23.16,23.19]},{ x:'11/22/2022',y:[23.07,23.17,23.07,23.14]},{ x:'11/23/2022',y:[23.05,23.07,22.84,22.90]},{ x:'11/24/2022',y:[23.33,23.42,23.32,23.37]},{ x:'11/25/2022',y:[23.34,23.53,23.32,23.46]},{ x:'11/28/2022',y:[23.29,23.29,23.13,23.25]},{ x:'11/29/2022',y:[22.99,23.32,22.97,23.32]},{ x:'11/30/2022',y:[23.24,23.33,23.22,23.32]},{ x:'12/01/2022',y:[23.89,23.96,23.75,23.95]},{ x:'12/02/2022',y:[24.44,24.47,24.36,24.40]},{ x:'12/05/2022',y:[24.46,24.67,24.46,24.62]},{ x:'12/06/2022',y:[23.64,23.75,23.60,23.67]},{ x:'12/07/2022',y:[23.62,23.73,23.58,23.70]},{ x:'12/08/2022',y:[24.00,24.00,23.91,23.94]},{ x:'12/09/2022',y:[24.15,24.36,24.14,24.34]},{ x:'12/12/2022',y:[24.24,24.24,24.00,24.01]},{ x:'12/13/2022',y:[23.92,24.00,23.87,23.92]},{ x:'12/14/2022',y:[24.66,24.71,24.59,24.64]},{ x:'12/15/2022',y:[24.54,24.54,24.07,24.09]},{ x:'12/16/2022',y:[23.75,23.90,23.72,23.77]},{ x:'12/19/2022',y:[24.12,24.24,24.10,24.11]},{ x:'12/20/2022',y:[23.98,24.21,23.92,24.04]},{ x:'12/21/2022',y:[24.79,24.84,24.69,24.69]},{ x:'12/22/2022',y:[24.79,24.83,24.76,24.83]},{ x:'12/23/2022',y:[24.05,24.16,24.04,24.16]},{ x:'12/26/2022',y:[24.11,24.26,24.11,24.25]},{ x:'12/27/2022',y:[24.33,24.44,24.30,24.40]},{ x:'12/28/2022',y:[24.55,24.63,24.52,24.55]},{ x:'12/29/2022',y:[24.43,24.51,24.40,24.47]},{ x:'12/30/2022',y:[24.66,24.72,24.63,24.67]},{ x:'01/03/2023',y:[25.00,25.37,24.94,25.24]},{ x:'01/04/2023',y:[25.27,25.47,25.24,25.43]},{ x:'01/05/2023',y:[25.65,25.77,25.55,25.58]},{ x:'01/06/2023',y:[25.07,25.28,25.06,25.16]},{ x:'01/09/2023',y:[26.01,26.30,26.01,26.25]},{ x:'01/10/2023',y:[26.09,26.17,26.01,26.10]},{ x:'01/11/2023',y:[26.24,26.29,26.07,26.28]},{ x:'01/12/2023',y:[26.20,26.38,26.17,26.38]},{ x:'01/13/2023',y:[26.72,26.75,26.60,26.60]},{ x:'01/16/2023',y:[27.26,27.54,27.26,27.30]},{ x:'01/17/2023',y:[27.28,27.28,26.98,27.08]},{ x:'01/30/2023',y:[27.44,27.57,27.30,27.52]},{ x:'01/31/2023',y:[27.24,27.32,27.09,27.13]},{ x:'02/01/2023',y:[27.34,27.37,27.26,27.29]},{ x:'02/02/2023',y:[27.98,28.07,27.92,27.99]},{ x:'02/03/2023',y:[26.95,26.99,26.86,26.87]},{ x:'02/06/2023',y:[25.59,25.89,25.50,25.82]},{ x:'02/07/2023',y:[25.65,25.78,25.65,25.75]},{ x:'02/08/2023',y:[25.85,25.87,25.75,25.80]},{ x:'02/09/2023',y:[25.79,25.91,25.69,25.89]},{ x:'02/10/2023',y:[25.44,25.48,25.15,25.18]},{ x:'02/13/2023',y:[25.37,25.43,25.27,25.33]},{ x:'02/14/2023',y:[25.24,25.29,25.18,25.28]},{ x:'02/15/2023',y:[25.22,25.32,24.96,24.99]},{ x:'02/16/2023',y:[24.67,24.84,24.65,24.74]} ] }], 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());