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/22/2024',y:[23.29,23.34,23.28,23.28]},{ x:'01/23/2024',y:[23.19,23.32,23.16,23.32]},{ x:'01/24/2024',y:[23.45,23.49,23.41,23.42]},{ x:'01/25/2024',y:[23.86,23.86,23.79,23.85]},{ x:'01/26/2024',y:[23.85,23.85,23.79,23.80]},{ x:'01/29/2024',y:[23.78,23.79,23.70,23.70]},{ x:'01/30/2024',y:[23.86,23.88,23.78,23.79]},{ x:'01/31/2024',y:[24.04,24.04,23.96,23.98]},{ x:'02/01/2024',y:[23.94,23.94,23.87,23.88]},{ x:'02/02/2024',y:[23.78,23.78,23.63,23.65]},{ x:'02/05/2024',y:[23.55,23.56,23.51,23.56]},{ x:'02/15/2024',y:[22.93,22.93,22.82,22.89]},{ x:'02/16/2024',y:[23.05,23.17,23.05,23.17]},{ x:'02/19/2024',y:[23.43,23.45,23.36,23.36]},{ x:'02/20/2024',y:[23.42,23.42,23.35,23.35]},{ x:'02/21/2024',y:[23.69,23.77,23.65,23.77]},{ x:'02/22/2024',y:[23.86,23.86,23.76,23.79]},{ x:'02/23/2024',y:[23.92,23.98,23.91,23.94]},{ x:'02/26/2024',y:[23.77,23.79,23.73,23.73]},{ x:'02/27/2024',y:[23.55,23.59,23.52,23.59]},{ x:'02/29/2024',y:[23.50,23.65,23.50,23.65]},{ x:'03/01/2024',y:[23.61,23.61,23.58,23.58]},{ x:'03/04/2024',y:[23.64,23.66,23.56,23.58]},{ x:'03/05/2024',y:[23.61,23.62,23.59,23.61]},{ x:'03/06/2024',y:[23.59,23.60,23.59,23.60]},{ x:'03/07/2024',y:[23.71,23.80,23.71,23.79]},{ x:'03/08/2024',y:[24.03,24.07,23.99,24.05]},{ x:'03/11/2024',y:[23.85,23.88,23.83,23.88]},{ x:'03/12/2024',y:[24.04,24.04,24.00,24.00]},{ x:'03/13/2024',y:[24.06,24.10,24.03,24.08]},{ x:'03/14/2024',y:[24.81,24.95,24.75,24.75]},{ x:'03/15/2024',y:[24.79,25.17,24.79,25.17]},{ x:'03/18/2024',y:[25.24,25.32,25.18,25.21]},{ x:'03/19/2024',y:[25.32,25.35,25.26,25.29]},{ x:'03/20/2024',y:[24.96,25.07,24.95,25.03]},{ x:'03/21/2024',y:[25.05,25.28,25.01,25.21]},{ x:'03/22/2024',y:[24.98,24.99,24.67,24.69]},{ x:'03/25/2024',y:[24.63,24.83,24.60,24.78]},{ x:'03/26/2024',y:[24.66,24.71,24.48,24.56]},{ x:'03/27/2024',y:[24.62,24.62,24.50,24.54]},{ x:'03/28/2024',y:[24.60,24.79,24.56,24.78]},{ x:'03/29/2024',y:[24.70,24.70,24.60,24.68]},{ x:'04/01/2024',y:[24.89,24.95,24.84,24.89]},{ x:'04/02/2024',y:[24.94,24.96,24.86,24.94]},{ x:'04/03/2024',y:[25.04,25.25,25.04,25.23]},{ x:'04/08/2024',y:[25.70,26.20,25.68,26.07]},{ x:'04/09/2024',y:[26.40,26.41,26.25,26.31]},{ x:'04/10/2024',y:[26.45,26.54,26.38,26.52]},{ x:'04/11/2024',y:[26.32,26.47,26.28,26.47]},{ x:'04/12/2024',y:[26.33,26.43,26.29,26.37]},{ x:'04/15/2024',y:[26.68,26.68,26.41,26.54]},{ x:'04/16/2024',y:[27.00,27.00,26.83,26.97]},{ x:'04/17/2024',y:[26.61,26.66,26.55,26.58]},{ x:'04/18/2024',y:[26.79,26.98,26.71,26.94]},{ x:'04/19/2024',y:[27.53,27.72,27.22,27.35]},{ x:'04/22/2024',y:[27.98,28.19,27.88,27.94]},{ x:'04/23/2024',y:[27.83,27.83,27.39,27.52]},{ x:'04/24/2024',y:[27.39,27.68,27.32,27.66]},{ x:'04/25/2024',y:[27.57,27.75,27.49,27.60]},{ x:'04/26/2024',y:[27.98,28.25,27.98,28.23]} ] }], chart: { type: "candlestick", height: 350, toolbar: { show: !1 } }, plotOptions: { candlestick: { colors: { upward: chartCandlestickBasicColors[0], downward: chartCandlestickBasicColors[1] } } }, title: { text: "00763u 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());