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:[10.87,10.93,10.70,10.79]},{ x:'01/23/2024',y:[10.70,10.81,10.47,10.67]},{ x:'01/24/2024',y:[10.87,10.96,10.49,10.57]},{ x:'01/25/2024',y:[11.21,11.36,10.94,11.25]},{ x:'01/26/2024',y:[11.22,11.36,11.11,11.16]},{ x:'01/29/2024',y:[11.32,11.42,11.22,11.25]},{ x:'01/30/2024',y:[11.15,11.16,10.81,10.89]},{ x:'01/31/2024',y:[10.73,10.91,10.69,10.83]},{ x:'02/01/2024',y:[10.85,11.00,10.69,10.91]},{ x:'02/02/2024',y:[10.86,10.96,10.59,10.65]},{ x:'02/05/2024',y:[10.51,11.09,10.40,10.97]},{ x:'02/15/2024',y:[11.54,11.70,11.50,11.64]},{ x:'02/16/2024',y:[11.76,12.08,11.73,12.08]},{ x:'02/19/2024',y:[12.15,12.21,11.82,11.84]},{ x:'02/20/2024',y:[11.92,12.08,11.88,11.93]},{ x:'02/21/2024',y:[12.00,12.80,11.96,12.78]},{ x:'02/22/2024',y:[12.67,12.71,12.50,12.71]},{ x:'02/23/2024',y:[12.79,12.90,12.63,12.73]},{ x:'02/26/2024',y:[12.77,12.77,12.36,12.47]},{ x:'02/27/2024',y:[12.36,12.47,12.27,12.39]},{ x:'02/29/2024',y:[12.29,12.65,12.27,12.54]},{ x:'03/01/2024',y:[12.58,12.65,12.42,12.56]},{ x:'03/04/2024',y:[12.61,12.63,12.48,12.49]},{ x:'03/05/2024',y:[12.49,12.81,12.38,12.75]},{ x:'03/06/2024',y:[12.79,12.96,12.78,12.84]},{ x:'03/07/2024',y:[12.74,12.86,12.62,12.63]},{ x:'03/08/2024',y:[12.63,12.72,12.46,12.48]},{ x:'03/11/2024',y:[12.52,13.06,12.51,12.92]},{ x:'03/12/2024',y:[13.09,13.34,12.98,13.32]},{ x:'03/13/2024',y:[13.29,13.29,13.02,13.07]},{ x:'03/14/2024',y:[13.06,13.27,12.96,13.02]},{ x:'03/15/2024',y:[12.96,13.13,12.90,12.93]},{ x:'03/18/2024',y:[13.11,13.28,13.03,13.14]},{ x:'03/19/2024',y:[13.15,13.33,13.11,13.29]},{ x:'03/20/2024',y:[13.23,13.39,13.11,13.34]},{ x:'03/21/2024',y:[13.38,13.48,13.30,13.32]},{ x:'03/22/2024',y:[13.32,13.38,12.94,13.12]},{ x:'03/25/2024',y:[13.14,13.27,13.04,13.21]},{ x:'03/26/2024',y:[13.13,13.30,13.11,13.24]},{ x:'03/27/2024',y:[13.28,13.34,13.21,13.22]},{ x:'03/28/2024',y:[13.16,13.40,12.97,13.29]},{ x:'03/29/2024',y:[13.24,13.37,13.18,13.18]},{ x:'04/01/2024',y:[13.28,13.76,13.28,13.63]},{ x:'04/02/2024',y:[13.65,13.74,13.49,13.55]},{ x:'04/03/2024',y:[13.56,13.58,13.36,13.49]},{ x:'04/08/2024',y:[13.51,13.51,13.20,13.30]},{ x:'04/09/2024',y:[13.30,13.36,13.11,13.11]},{ x:'04/10/2024',y:[13.18,13.22,13.02,13.07]},{ x:'04/11/2024',y:[12.99,13.08,12.86,13.07]},{ x:'04/12/2024',y:[13.02,13.15,12.93,12.94]},{ x:'04/15/2024',y:[12.75,13.47,12.70,13.47]},{ x:'04/16/2024',y:[13.40,13.56,13.25,13.55]},{ x:'04/17/2024',y:[13.48,13.49,13.26,13.44]},{ x:'04/18/2024',y:[13.56,13.95,13.51,13.74]},{ x:'04/19/2024',y:[13.67,13.74,13.42,13.51]},{ x:'04/22/2024',y:[13.58,13.81,13.55,13.60]},{ x:'04/23/2024',y:[13.66,13.68,13.42,13.56]},{ x:'04/24/2024',y:[13.63,13.78,13.48,13.54]},{ x:'04/25/2024',y:[13.59,13.80,13.52,13.72]},{ x:'04/26/2024',y:[13.76,14.10,13.73,14.10]} ] }], chart: { type: "candlestick", height: 350, toolbar: { show: !1 } }, plotOptions: { candlestick: { colors: { upward: chartCandlestickBasicColors[0], downward: chartCandlestickBasicColors[1] } } }, title: { text: "00637l 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());