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/22/2022',y:[32.79,32.79,32.69,32.69]},{ x:'11/23/2022',y:[32.97,33.02,32.94,33.02]},{ x:'11/24/2022',y:[33.39,33.48,33.33,33.36]},{ x:'11/25/2022',y:[33.39,33.75,33.30,33.31]},{ x:'11/28/2022',y:[33.24,33.53,33.24,33.50]},{ x:'11/29/2022',y:[33.29,33.29,33.10,33.14]},{ x:'11/30/2022',y:[32.86,32.86,32.76,32.78]},{ x:'12/01/2022',y:[33.12,33.12,32.91,32.98]},{ x:'12/02/2022',y:[33.42,33.42,33.28,33.31]},{ x:'12/05/2022',y:[33.44,33.80,33.41,33.45]},{ x:'12/06/2022',y:[33.43,33.51,33.40,33.46]},{ x:'12/07/2022',y:[33.57,33.63,33.56,33.60]},{ x:'12/08/2022',y:[34.00,34.09,33.98,34.05]},{ x:'12/09/2022',y:[34.07,34.19,34.07,34.19]},{ x:'12/12/2022',y:[33.80,33.97,33.57,33.96]},{ x:'12/13/2022',y:[33.97,33.97,33.83,33.83]},{ x:'12/14/2022',y:[34.00,34.04,33.88,33.94]},{ x:'12/15/2022',y:[34.00,34.00,33.92,33.96]},{ x:'12/16/2022',y:[33.91,34.13,33.81,34.05]},{ x:'12/19/2022',y:[33.84,33.91,33.80,33.91]},{ x:'12/20/2022',y:[33.80,33.80,33.15,33.23]},{ x:'12/21/2022',y:[33.00,33.00,32.95,32.99]},{ x:'12/22/2022',y:[32.99,33.24,32.88,33.24]},{ x:'12/23/2022',y:[33.04,33.19,33.04,33.19]},{ x:'12/26/2022',y:[33.01,33.11,33.01,33.10]},{ x:'12/27/2022',y:[33.06,33.06,33.03,33.06]},{ x:'12/28/2022',y:[32.78,32.78,32.61,32.64]},{ x:'12/29/2022',y:[32.52,32.54,32.36,32.50]},{ x:'12/30/2022',y:[32.55,32.60,32.55,32.60]},{ x:'01/03/2023',y:[32.50,32.50,32.34,32.42]},{ x:'01/04/2023',y:[32.71,32.71,32.60,32.68]},{ x:'01/05/2023',y:[33.20,33.20,32.71,32.82]},{ x:'01/06/2023',y:[32.92,33.06,32.92,33.04]},{ x:'01/09/2023',y:[33.35,33.49,33.35,33.46]},{ x:'01/10/2023',y:[33.46,33.59,33.46,33.58]},{ x:'01/11/2023',y:[33.49,33.49,33.10,33.27]},{ x:'01/12/2023',y:[33.74,33.75,33.55,33.73]},{ x:'01/13/2023',y:[34.20,34.20,34.02,34.08]},{ x:'01/16/2023',y:[34.15,34.15,34.07,34.07]},{ x:'01/17/2023',y:[34.07,34.13,34.00,34.12]},{ x:'01/30/2023',y:[34.12,34.12,33.85,33.88]},{ x:'01/31/2023',y:[33.88,33.88,33.71,33.74]},{ x:'02/01/2023',y:[33.78,33.91,33.78,33.91]},{ x:'02/02/2023',y:[34.15,34.15,33.96,34.01]},{ x:'02/03/2023',y:[34.20,34.32,34.20,34.31]},{ x:'02/06/2023',y:[34.19,34.19,33.99,34.02]},{ x:'02/07/2023',y:[34.02,34.10,33.99,34.02]},{ x:'02/08/2023',y:[33.95,33.97,33.83,33.90]},{ x:'02/09/2023',y:[33.95,33.95,33.91,33.94]},{ x:'02/10/2023',y:[33.83,33.83,33.68,33.70]},{ x:'02/13/2023',y:[33.54,33.54,33.30,33.36]},{ x:'02/14/2023',y:[33.40,33.47,33.40,33.47]},{ x:'02/15/2023',y:[33.60,33.60,33.47,33.51]},{ x:'02/16/2023',y:[33.38,33.38,33.21,33.28]},{ x:'02/17/2023',y:[33.10,33.10,32.85,32.86]},{ x:'02/20/2023',y:[33.00,33.00,32.96,32.99]},{ x:'02/21/2023',y:[33.00,33.00,32.94,32.95]},{ x:'02/22/2023',y:[32.75,32.75,32.57,32.69]},{ x:'02/23/2023',y:[32.75,32.75,32.60,32.63]},{ x:'02/24/2023',y:[32.80,33.00,32.80,32.99]} ] }], chart: { type: "candlestick", height: 350, toolbar: { show: !1 } }, plotOptions: { candlestick: { colors: { upward: chartCandlestickBasicColors[0], downward: chartCandlestickBasicColors[1] } } }, title: { text: "00724b 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());