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/30/2023',y:[17.36,17.42,16.92,16.95]},{ x:'01/31/2023',y:[16.79,16.90,16.15,16.19]},{ x:'02/01/2023',y:[16.32,16.41,16.06,16.30]},{ x:'02/02/2023',y:[16.64,16.74,16.41,16.50]},{ x:'02/03/2023',y:[16.19,16.21,15.57,15.72]},{ x:'02/06/2023',y:[15.60,15.60,15.04,15.05]},{ x:'02/07/2023',y:[15.18,15.62,15.18,15.41]},{ x:'02/08/2023',y:[15.40,15.57,15.19,15.33]},{ x:'02/09/2023',y:[15.17,15.60,15.10,15.60]},{ x:'02/10/2023',y:[15.63,15.73,15.13,15.15]},{ x:'02/13/2023',y:[14.96,15.16,14.66,15.16]},{ x:'02/14/2023',y:[15.28,15.43,15.04,15.11]},{ x:'02/15/2023',y:[15.14,15.15,14.59,14.69]},{ x:'02/16/2023',y:[14.83,15.35,14.80,15.29]},{ x:'02/17/2023',y:[14.91,15.02,14.70,14.72]},{ x:'02/20/2023',y:[14.47,14.81,14.41,14.74]},{ x:'02/21/2023',y:[14.86,14.89,14.41,14.41]},{ x:'02/22/2023',y:[14.22,14.43,14.09,14.26]},{ x:'02/23/2023',y:[14.16,14.38,14.05,14.12]},{ x:'02/24/2023',y:[13.90,13.97,13.60,13.65]},{ x:'03/01/2023',y:[13.40,14.19,13.34,14.14]},{ x:'03/02/2023',y:[14.28,14.33,14.01,14.25]},{ x:'03/03/2023',y:[14.47,14.63,14.26,14.36]},{ x:'03/06/2023',y:[14.47,14.51,14.08,14.46]},{ x:'03/07/2023',y:[14.37,14.98,14.33,14.65]},{ x:'03/08/2023',y:[14.18,14.18,13.60,13.62]},{ x:'03/09/2023',y:[13.73,13.78,13.55,13.71]},{ x:'03/10/2023',y:[13.24,13.24,12.80,12.80]},{ x:'03/13/2023',y:[12.83,13.26,12.70,13.18]},{ x:'03/14/2023',y:[12.91,13.06,12.48,12.63]},{ x:'03/15/2023',y:[12.91,13.15,12.78,12.79]},{ x:'03/16/2023',y:[12.61,12.71,12.35,12.50]},{ x:'03/17/2023',y:[12.73,12.98,12.62,12.88]},{ x:'03/20/2023',y:[12.77,12.79,12.15,12.16]},{ x:'03/21/2023',y:[12.40,12.45,12.21,12.37]},{ x:'03/22/2023',y:[12.61,13.12,12.61,12.90]},{ x:'03/23/2023',y:[12.82,13.24,12.79,13.24]},{ x:'03/24/2023',y:[13.35,13.56,13.22,13.41]},{ x:'03/27/2023',y:[13.41,13.41,12.78,13.11]},{ x:'03/28/2023',y:[13.04,13.13,12.85,13.04]},{ x:'03/29/2023',y:[13.60,14.08,13.55,13.63]},{ x:'03/30/2023',y:[13.78,13.80,13.42,13.64]},{ x:'03/31/2023',y:[14.00,14.35,13.95,13.97]},{ x:'04/06/2023',y:[13.78,13.89,13.46,13.67]},{ x:'04/07/2023',y:[14.00,14.10,13.92,13.94]},{ x:'04/10/2023',y:[14.00,14.12,13.98,14.11]},{ x:'04/11/2023',y:[14.10,14.39,13.80,13.83]},{ x:'04/12/2023',y:[13.99,14.09,13.78,13.79]},{ x:'04/13/2023',y:[13.48,13.73,13.21,13.62]},{ x:'04/14/2023',y:[13.88,14.04,13.76,13.84]},{ x:'04/17/2023',y:[13.81,14.16,13.72,14.16]},{ x:'04/18/2023',y:[14.24,14.35,14.08,14.19]},{ x:'04/19/2023',y:[14.19,14.21,13.88,14.03]},{ x:'04/20/2023',y:[13.91,13.98,13.76,13.81]},{ x:'04/21/2023',y:[13.81,13.86,13.53,13.55]},{ x:'04/24/2023',y:[13.39,13.54,13.13,13.15]},{ x:'04/25/2023',y:[13.17,13.24,12.76,12.76]},{ x:'04/26/2023',y:[12.69,13.11,12.65,13.11]},{ x:'04/27/2023',y:[13.10,13.10,12.90,13.04]},{ x:'04/28/2023',y:[13.23,13.57,13.22,13.30]} ] }], 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());