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:[26.17,26.24,26.05,26.17]},{ x:'03/20/2024',y:[26.20,26.21,26.06,26.06]},{ x:'03/21/2024',y:[26.12,26.48,26.12,26.39]},{ x:'03/22/2024',y:[26.32,26.47,26.25,26.27]},{ x:'03/25/2024',y:[26.20,26.32,26.18,26.31]},{ x:'03/26/2024',y:[26.33,26.57,26.33,26.46]},{ x:'03/27/2024',y:[26.46,26.60,26.42,26.53]},{ x:'03/28/2024',y:[26.50,26.56,26.42,26.43]},{ x:'03/29/2024',y:[26.51,26.57,26.41,26.41]},{ x:'04/01/2024',y:[26.58,26.68,26.58,26.61]},{ x:'04/02/2024',y:[26.54,26.62,26.51,26.59]},{ x:'04/03/2024',y:[26.56,26.56,26.37,26.37]},{ x:'04/08/2024',y:[26.31,26.60,26.29,26.54]},{ x:'04/09/2024',y:[26.54,26.78,26.54,26.78]},{ x:'04/10/2024',y:[26.78,26.81,26.69,26.70]},{ x:'04/11/2024',y:[26.69,26.69,26.52,26.59]},{ x:'04/12/2024',y:[26.43,26.50,26.40,26.49]},{ x:'04/15/2024',y:[26.39,26.59,26.37,26.57]},{ x:'04/16/2024',y:[26.46,26.46,25.87,25.96]},{ x:'04/17/2024',y:[25.96,26.10,25.90,26.05]},{ x:'04/18/2024',y:[26.05,26.33,25.97,26.30]},{ x:'04/19/2024',y:[26.23,26.23,25.70,25.89]},{ x:'04/22/2024',y:[26.21,26.45,26.15,26.41]},{ x:'04/23/2024',y:[26.41,26.56,26.41,26.49]},{ x:'04/24/2024',y:[26.54,26.62,26.39,26.39]},{ x:'04/25/2024',y:[26.29,26.29,26.05,26.14]},{ x:'04/26/2024',y:[26.11,26.36,26.11,26.26]},{ x:'04/29/2024',y:[26.63,26.97,26.63,26.95]},{ x:'04/30/2024',y:[26.93,27.00,26.84,26.87]},{ x:'05/02/2024',y:[26.80,27.00,26.80,26.95]},{ x:'05/03/2024',y:[27.17,27.17,26.93,26.93]},{ x:'05/06/2024',y:[27.10,27.56,27.10,27.46]},{ x:'05/07/2024',y:[27.52,27.60,27.34,27.44]},{ x:'05/08/2024',y:[27.44,27.50,27.37,27.46]},{ x:'05/09/2024',y:[27.42,27.52,27.32,27.32]},{ x:'05/10/2024',y:[27.40,27.89,27.40,27.88]},{ x:'05/13/2024',y:[27.88,27.95,27.70,27.79]},{ x:'05/14/2024',y:[27.79,27.84,27.61,27.61]},{ x:'05/15/2024',y:[27.75,28.10,27.75,27.92]},{ x:'05/16/2024',y:[28.05,28.21,28.05,28.09]},{ x:'05/17/2024',y:[28.08,28.24,28.04,28.20]},{ x:'05/20/2024',y:[28.22,28.26,28.11,28.21]},{ x:'05/21/2024',y:[28.17,28.17,27.80,27.97]},{ x:'05/22/2024',y:[27.98,28.16,27.96,28.07]},{ x:'05/23/2024',y:[27.75,27.95,27.71,27.95]},{ x:'05/24/2024',y:[27.77,27.87,27.72,27.77]},{ x:'06/11/2024',y:[27.71,27.96,27.71,27.82]},{ x:'06/12/2024',y:[27.79,27.81,27.70,27.74]},{ x:'06/13/2024',y:[27.88,27.92,27.81,27.85]},{ x:'06/14/2024',y:[27.84,27.97,27.84,27.97]},{ x:'06/17/2024',y:[27.87,27.98,27.86,27.88]},{ x:'06/18/2024',y:[27.90,28.19,27.90,28.17]},{ x:'06/19/2024',y:[28.21,28.36,28.17,28.31]},{ x:'06/20/2024',y:[28.28,28.45,28.27,28.41]},{ x:'06/21/2024',y:[28.38,28.50,28.32,28.50]},{ x:'06/24/2024',y:[28.38,28.50,28.20,28.50]},{ x:'06/25/2024',y:[28.61,28.64,28.38,28.50]},{ x:'06/26/2024',y:[28.40,28.50,28.18,28.27]},{ x:'06/27/2024',y:[28.00,28.21,27.94,28.19]},{ x:'06/28/2024',y:[28.22,28.53,28.22,28.39]} ] }], chart: { type: "candlestick", height: 350, toolbar: { show: !1 } }, plotOptions: { candlestick: { colors: { upward: chartCandlestickBasicColors[0], downward: chartCandlestickBasicColors[1] } } }, title: { text: "00701 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());