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/23/2024',y:[39.93,40.00,39.92,40.00]},{ x:'01/24/2024',y:[40.00,40.05,39.98,39.99]},{ x:'01/25/2024',y:[39.88,39.94,39.85,39.94]},{ x:'01/26/2024',y:[39.98,39.98,39.91,39.91]},{ x:'01/29/2024',y:[39.91,39.91,39.89,39.89]},{ x:'01/30/2024',y:[39.85,39.85,39.79,39.85]},{ x:'01/31/2024',y:[39.85,39.97,39.85,39.97]},{ x:'02/01/2024',y:[40.11,40.11,40.10,40.10]},{ x:'02/02/2024',y:[40.01,40.01,39.94,39.94]},{ x:'02/05/2024',y:[39.94,40.02,39.94,40.01]},{ x:'02/15/2024',y:[39.93,39.99,39.90,39.98]},{ x:'02/16/2024',y:[39.97,40.00,39.92,39.94]},{ x:'02/19/2024',y:[39.95,39.96,39.91,39.91]},{ x:'02/20/2024',y:[39.91,40.08,39.91,40.08]},{ x:'02/21/2024',y:[40.08,40.12,40.08,40.12]},{ x:'02/22/2024',y:[40.09,40.17,40.06,40.16]},{ x:'02/23/2024',y:[40.12,40.15,40.12,40.15]},{ x:'02/26/2024',y:[40.19,40.19,40.16,40.16]},{ x:'02/27/2024',y:[40.15,40.25,40.15,40.23]},{ x:'02/29/2024',y:[40.23,40.37,40.23,40.33]},{ x:'03/01/2024',y:[40.25,40.27,40.24,40.24]},{ x:'03/04/2024',y:[40.33,40.34,40.20,40.24]},{ x:'03/05/2024',y:[40.21,40.26,40.21,40.25]},{ x:'03/06/2024',y:[40.39,40.39,40.26,40.26]},{ x:'03/07/2024',y:[40.26,40.26,40.19,40.24]},{ x:'03/08/2024',y:[40.22,40.24,40.17,40.17]},{ x:'03/11/2024',y:[40.16,40.20,40.16,40.18]},{ x:'03/12/2024',y:[40.18,40.18,40.11,40.12]},{ x:'03/13/2024',y:[40.00,40.15,40.00,40.14]},{ x:'03/14/2024',y:[40.15,40.16,40.11,40.14]},{ x:'03/15/2024',y:[40.17,40.33,40.17,40.30]},{ x:'03/18/2024',y:[40.30,40.30,40.22,40.23]},{ x:'03/19/2024',y:[40.37,40.46,40.37,40.46]},{ x:'03/20/2024',y:[40.50,40.60,40.50,40.60]},{ x:'03/21/2024',y:[40.65,40.65,40.54,40.62]},{ x:'03/22/2024',y:[40.67,40.79,40.67,40.79]},{ x:'03/25/2024',y:[40.89,40.89,40.62,40.69]},{ x:'03/26/2024',y:[40.63,40.80,40.63,40.80]},{ x:'03/27/2024',y:[40.80,40.90,40.80,40.88]},{ x:'03/28/2024',y:[40.86,40.89,40.82,40.82]},{ x:'03/29/2024',y:[40.90,41.03,40.87,40.94]},{ x:'04/01/2024',y:[40.91,40.91,40.85,40.86]},{ x:'04/02/2024',y:[40.96,40.96,40.92,40.94]},{ x:'04/03/2024',y:[40.90,40.99,40.89,40.92]},{ x:'04/08/2024',y:[41.02,41.02,40.91,40.94]},{ x:'04/09/2024',y:[40.95,40.96,40.94,40.94]},{ x:'04/10/2024',y:[40.90,40.90,40.82,40.83]},{ x:'04/11/2024',y:[40.87,40.98,40.87,40.97]},{ x:'04/12/2024',y:[40.90,41.09,40.90,41.05]},{ x:'04/15/2024',y:[41.05,41.22,41.05,41.15]},{ x:'04/16/2024',y:[41.27,41.47,41.27,41.47]},{ x:'04/17/2024',y:[41.36,41.37,41.30,41.31]},{ x:'04/18/2024',y:[41.07,41.07,40.95,40.95]},{ x:'04/19/2024',y:[41.13,41.27,41.13,41.16]},{ x:'04/22/2024',y:[41.08,41.23,41.08,41.20]},{ x:'04/23/2024',y:[41.20,41.31,41.20,41.26]},{ x:'04/24/2024',y:[41.25,41.25,41.13,41.14]},{ x:'04/25/2024',y:[41.14,41.34,41.14,41.25]},{ x:'04/26/2024',y:[41.15,41.23,41.15,41.22]},{ x:'04/29/2024',y:[41.20,41.28,41.20,41.23]} ] }], chart: { type: "candlestick", height: 350, toolbar: { show: !1 } }, plotOptions: { candlestick: { colors: { upward: chartCandlestickBasicColors[0], downward: chartCandlestickBasicColors[1] } } }, title: { text: "00694b 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());