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/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]},{ x:'03/01/2023',y:[32.91,32.94,32.78,32.80]},{ x:'03/02/2023',y:[32.55,32.56,32.42,32.46]},{ x:'03/03/2023',y:[32.46,32.55,32.42,32.52]},{ x:'03/06/2023',y:[32.95,33.13,32.95,33.04]},{ x:'03/07/2023',y:[33.04,33.04,32.99,33.04]},{ x:'03/08/2023',y:[33.11,33.11,32.99,33.03]},{ x:'03/09/2023',y:[33.04,33.04,32.95,32.99]},{ x:'03/10/2023',y:[33.14,33.34,33.10,33.32]},{ x:'03/13/2023',y:[33.39,33.40,33.03,33.03]},{ x:'03/14/2023',y:[33.03,33.03,32.85,32.87]},{ x:'03/15/2023',y:[32.85,32.90,32.80,32.84]},{ x:'03/16/2023',y:[33.00,33.36,33.00,33.26]},{ x:'03/17/2023',y:[33.07,33.23,33.00,33.23]},{ x:'03/20/2023',y:[33.21,33.21,32.97,32.97]},{ x:'03/21/2023',y:[32.94,33.09,32.93,33.07]},{ x:'03/22/2023',y:[33.07,33.22,33.07,33.19]},{ x:'03/23/2023',y:[33.19,33.21,33.14,33.17]},{ x:'03/24/2023',y:[33.17,33.17,32.98,33.06]},{ x:'03/27/2023',y:[33.02,33.17,33.02,33.07]},{ x:'03/28/2023',y:[32.83,32.83,32.66,32.72]},{ x:'03/29/2023',y:[32.67,32.67,32.57,32.61]},{ x:'03/30/2023',y:[32.80,32.88,32.80,32.87]},{ x:'03/31/2023',y:[32.96,33.03,32.92,33.03]},{ x:'04/06/2023',y:[33.62,33.93,33.62,33.91]},{ x:'04/07/2023',y:[33.90,33.90,33.75,33.75]},{ x:'04/10/2023',y:[33.75,33.80,33.58,33.61]},{ x:'04/11/2023',y:[33.50,33.58,33.50,33.56]},{ x:'04/12/2023',y:[33.56,33.60,33.53,33.58]},{ x:'04/13/2023',y:[33.70,33.70,33.54,33.56]},{ x:'04/14/2023',y:[33.56,33.56,33.47,33.49]} ] }], 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());