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/18/2024',y:[25.76,25.76,25.63,25.65]},{ x:'03/19/2024',y:[25.79,25.83,25.77,25.77]},{ x:'03/20/2024',y:[25.79,25.80,25.75,25.77]},{ x:'03/21/2024',y:[26.23,26.38,26.22,26.27]},{ x:'03/22/2024',y:[26.09,26.11,25.94,25.96]},{ x:'03/25/2024',y:[25.89,25.99,25.85,25.90]},{ x:'03/26/2024',y:[25.94,25.94,25.88,25.93]},{ x:'03/27/2024',y:[25.95,26.01,25.94,25.98]},{ x:'03/28/2024',y:[26.10,26.20,26.10,26.20]},{ x:'03/29/2024',y:[26.47,26.68,26.45,26.68]},{ x:'04/01/2024',y:[26.89,27.03,26.89,26.96]},{ x:'04/02/2024',y:[26.85,26.93,26.79,26.91]},{ x:'04/03/2024',y:[27.22,27.30,27.15,27.26]},{ x:'04/08/2024',y:[27.50,28.01,27.46,27.94]},{ x:'04/09/2024',y:[27.94,27.98,27.87,27.97]},{ x:'04/10/2024',y:[28.00,28.11,27.93,28.11]},{ x:'04/11/2024',y:[27.87,27.97,27.83,27.95]},{ x:'04/12/2024',y:[28.41,28.56,28.39,28.46]},{ x:'04/15/2024',y:[28.09,28.21,28.02,28.13]},{ x:'04/16/2024',y:[28.50,28.56,28.42,28.55]},{ x:'04/17/2024',y:[28.50,28.50,28.41,28.43]},{ x:'04/18/2024',y:[28.27,28.36,28.20,28.36]},{ x:'04/19/2024',y:[28.39,28.89,28.39,28.52]},{ x:'04/22/2024',y:[28.43,28.46,28.21,28.27]},{ x:'04/23/2024',y:[27.85,27.87,27.44,27.61]},{ x:'04/24/2024',y:[27.64,27.80,27.64,27.77]},{ x:'04/25/2024',y:[27.67,27.70,27.52,27.61]},{ x:'04/26/2024',y:[27.75,27.89,27.75,27.88]},{ x:'04/29/2024',y:[27.77,27.85,27.68,27.85]},{ x:'04/30/2024',y:[27.80,27.82,27.72,27.72]},{ x:'05/02/2024',y:[27.73,27.73,27.55,27.56]},{ x:'05/03/2024',y:[27.45,27.45,27.36,27.43]},{ x:'05/06/2024',y:[27.39,27.55,27.39,27.51]},{ x:'05/07/2024',y:[27.68,27.72,27.62,27.66]},{ x:'05/08/2024',y:[27.55,27.62,27.44,27.60]},{ x:'05/09/2024',y:[27.44,27.55,27.44,27.55]},{ x:'05/10/2024',y:[27.92,28.00,27.90,28.00]},{ x:'05/13/2024',y:[28.09,28.10,27.95,27.95]},{ x:'05/14/2024',y:[27.80,27.88,27.75,27.86]},{ x:'05/15/2024',y:[27.96,28.01,27.96,27.98]},{ x:'05/16/2024',y:[28.40,28.45,28.29,28.39]},{ x:'05/17/2024',y:[28.23,28.25,28.18,28.24]},{ x:'05/20/2024',y:[28.87,28.95,28.80,28.93]},{ x:'05/21/2024',y:[28.87,28.89,28.58,28.70]},{ x:'05/22/2024',y:[28.71,28.76,28.60,28.65]},{ x:'05/23/2024',y:[28.24,28.24,28.06,28.12]},{ x:'05/24/2024',y:[27.63,27.69,27.58,27.69]},{ x:'06/11/2024',y:[27.29,27.30,27.18,27.22]},{ x:'06/12/2024',y:[27.32,27.35,27.31,27.34]},{ x:'06/13/2024',y:[27.38,27.41,27.26,27.28]},{ x:'06/14/2024',y:[27.23,27.25,27.20,27.25]},{ x:'06/17/2024',y:[27.45,27.49,27.41,27.43]},{ x:'06/18/2024',y:[27.43,27.44,27.38,27.40]},{ x:'06/19/2024',y:[27.47,27.51,27.47,27.48]},{ x:'06/20/2024',y:[27.50,27.62,27.50,27.61]},{ x:'06/21/2024',y:[27.86,27.89,27.82,27.86]},{ x:'06/24/2024',y:[27.37,27.45,27.35,27.43]},{ x:'06/25/2024',y:[27.45,27.50,27.40,27.44]},{ x:'06/26/2024',y:[27.36,27.38,27.27,27.32]},{ x:'06/27/2024',y:[27.12,27.12,27.10,27.11]} ] }], chart: { type: "candlestick", height: 350, toolbar: { show: !1 } }, plotOptions: { candlestick: { colors: { upward: chartCandlestickBasicColors[0], downward: chartCandlestickBasicColors[1] } } }, title: { text: "00635u 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());