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:'03/19/2024',y:[8.78,8.81,8.60,8.66]},{ x:'03/20/2024',y:[8.73,8.76,8.54,8.66]},{ x:'03/21/2024',y:[8.80,9.08,8.77,8.97]},{ x:'03/22/2024',y:[8.95,8.95,8.44,8.53]},{ x:'03/25/2024',y:[8.53,8.71,8.53,8.61]},{ x:'03/26/2024',y:[8.53,8.75,8.53,8.62]},{ x:'03/27/2024',y:[8.66,8.70,8.49,8.53]},{ x:'03/28/2024',y:[8.60,8.81,8.47,8.77]},{ x:'03/29/2024',y:[8.72,8.72,8.67,8.69]},{ x:'04/01/2024',y:[8.71,8.90,8.71,8.90]},{ x:'04/02/2024',y:[8.95,9.13,8.88,9.02]},{ x:'04/03/2024',y:[9.09,9.09,8.84,8.90]},{ x:'04/08/2024',y:[8.88,9.01,8.70,8.85]},{ x:'04/09/2024',y:[8.89,9.12,8.89,8.95]},{ x:'04/10/2024',y:[9.02,9.28,9.01,9.26]},{ x:'04/11/2024',y:[9.03,9.19,8.89,9.19]},{ x:'04/12/2024',y:[9.15,9.16,8.88,8.93]},{ x:'04/15/2024',y:[8.61,8.74,8.53,8.70]},{ x:'04/16/2024',y:[8.58,8.58,8.37,8.43]},{ x:'04/17/2024',y:[8.38,8.44,8.27,8.29]},{ x:'04/18/2024',y:[8.30,8.60,8.30,8.50]},{ x:'04/19/2024',y:[8.41,8.43,8.14,8.26]},{ x:'04/22/2024',y:[8.39,8.72,8.36,8.62]},{ x:'04/23/2024',y:[8.78,8.91,8.71,8.91]},{ x:'04/24/2024',y:[9.00,9.29,8.99,9.26]},{ x:'04/25/2024',y:[9.30,9.59,9.21,9.40]},{ x:'04/26/2024',y:[9.44,9.89,9.44,9.89]},{ x:'04/29/2024',y:[9.85,10.27,9.82,10.05]},{ x:'04/30/2024',y:[10.00,10.12,9.93,9.93]},{ x:'05/02/2024',y:[9.88,10.45,9.83,10.45]},{ x:'05/03/2024',y:[10.84,10.91,10.61,10.67]},{ x:'05/06/2024',y:[10.90,10.91,10.64,10.71]},{ x:'05/07/2024',y:[10.84,10.91,10.61,10.69]},{ x:'05/08/2024',y:[10.69,10.87,10.61,10.61]},{ x:'05/09/2024',y:[10.60,10.87,10.55,10.82]},{ x:'05/10/2024',y:[11.02,11.44,11.01,11.44]},{ x:'05/13/2024',y:[11.43,11.58,11.21,11.58]},{ x:'05/14/2024',y:[11.68,11.79,11.52,11.58]},{ x:'05/15/2024',y:[11.55,11.58,11.49,11.51]},{ x:'05/16/2024',y:[11.64,11.90,11.52,11.90]},{ x:'05/17/2024',y:[12.03,12.08,11.79,11.88]},{ x:'05/20/2024',y:[12.15,12.23,12.09,12.20]},{ x:'05/21/2024',y:[12.01,12.08,11.64,11.75]},{ x:'05/22/2024',y:[11.64,11.82,11.58,11.70]},{ x:'05/23/2024',y:[11.56,11.57,11.14,11.19]},{ x:'05/24/2024',y:[10.91,11.21,10.86,10.89]},{ x:'06/11/2024',y:[10.50,10.50,10.16,10.20]},{ x:'06/12/2024',y:[10.30,10.30,10.05,10.14]},{ x:'06/13/2024',y:[10.28,10.41,10.18,10.21]},{ x:'06/14/2024',y:[10.15,10.34,10.15,10.23]},{ x:'06/17/2024',y:[10.11,10.38,9.94,10.22]},{ x:'06/18/2024',y:[10.29,10.31,10.11,10.15]},{ x:'06/19/2024',y:[10.25,10.63,10.20,10.63]},{ x:'06/20/2024',y:[10.73,10.83,10.59,10.59]},{ x:'06/21/2024',y:[10.47,10.48,10.20,10.24]},{ x:'06/24/2024',y:[10.20,10.23,10.01,10.08]},{ x:'06/25/2024',y:[10.31,10.49,10.30,10.41]},{ x:'06/26/2024',y:[10.24,10.39,10.15,10.32]},{ x:'06/27/2024',y:[10.22,10.24,9.89,9.89]},{ x:'06/28/2024',y:[9.85,10.11,9.75,10.02]} ] }], chart: { type: "candlestick", height: 350, toolbar: { show: !1 } }, plotOptions: { candlestick: { colors: { upward: chartCandlestickBasicColors[0], downward: chartCandlestickBasicColors[1] } } }, title: { text: "00650l 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());