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:[27.44,27.57,27.30,27.52]},{ x:'01/31/2023',y:[27.24,27.32,27.09,27.13]},{ x:'02/01/2023',y:[27.34,27.37,27.26,27.29]},{ x:'02/02/2023',y:[27.98,28.07,27.92,27.99]},{ x:'02/03/2023',y:[26.95,26.99,26.86,26.87]},{ x:'02/06/2023',y:[25.59,25.89,25.50,25.82]},{ x:'02/07/2023',y:[25.65,25.78,25.65,25.75]},{ x:'02/08/2023',y:[25.85,25.87,25.75,25.80]},{ x:'02/09/2023',y:[25.79,25.91,25.69,25.89]},{ x:'02/10/2023',y:[25.44,25.48,25.15,25.18]},{ x:'02/13/2023',y:[25.37,25.43,25.27,25.33]},{ x:'02/14/2023',y:[25.24,25.29,25.18,25.28]},{ x:'02/15/2023',y:[25.22,25.32,24.96,24.99]},{ x:'02/16/2023',y:[24.67,24.84,24.65,24.74]},{ x:'02/17/2023',y:[24.63,24.63,24.39,24.46]},{ x:'02/20/2023',y:[24.73,24.90,24.73,24.84]},{ x:'02/21/2023',y:[24.85,24.86,24.70,24.72]},{ x:'02/22/2023',y:[24.72,24.74,24.65,24.67]},{ x:'02/23/2023',y:[24.43,24.51,24.38,24.46]},{ x:'02/24/2023',y:[24.39,24.42,24.34,24.36]},{ x:'03/01/2023',y:[24.35,24.55,24.33,24.55]},{ x:'03/02/2023',y:[24.65,24.65,24.50,24.57]},{ x:'03/03/2023',y:[24.71,24.76,24.68,24.70]},{ x:'03/06/2023',y:[25.02,25.13,25.00,25.13]},{ x:'03/07/2023',y:[24.89,24.99,24.84,24.91]},{ x:'03/08/2023',y:[24.09,24.09,23.91,23.92]},{ x:'03/09/2023',y:[24.09,24.09,23.94,24.02]},{ x:'03/10/2023',y:[24.50,24.50,24.36,24.37]},{ x:'03/13/2023',y:[25.61,25.90,25.50,25.69]},{ x:'03/14/2023',y:[26.48,26.50,26.22,26.24]},{ x:'03/15/2023',y:[26.20,26.30,26.15,26.19]},{ x:'03/16/2023',y:[26.53,26.60,26.41,26.59]},{ x:'03/17/2023',y:[26.66,27.01,26.64,27.01]},{ x:'03/20/2023',y:[28.09,28.26,28.04,28.25]},{ x:'03/21/2023',y:[28.34,28.50,28.34,28.38]},{ x:'03/22/2023',y:[27.36,27.38,27.16,27.18]},{ x:'03/23/2023',y:[28.08,28.23,27.91,28.21]},{ x:'03/24/2023',y:[28.66,28.67,28.54,28.55]},{ x:'03/27/2023',y:[28.14,28.23,28.02,28.02]},{ x:'03/28/2023',y:[27.70,27.78,27.58,27.65]},{ x:'03/29/2023',y:[27.95,27.98,27.81,27.84]},{ x:'03/30/2023',y:[27.69,27.72,27.55,27.72]},{ x:'03/31/2023',y:[28.20,28.29,28.18,28.18]},{ x:'04/06/2023',y:[29.13,29.19,29.03,29.13]},{ x:'04/07/2023',y:[28.99,28.99,28.90,28.91]},{ x:'04/10/2023',y:[28.66,28.71,28.41,28.49]},{ x:'04/11/2023',y:[28.49,28.74,28.41,28.72]},{ x:'04/12/2023',y:[28.86,29.33,28.82,29.25]},{ x:'04/13/2023',y:[29.25,29.25,29.15,29.22]},{ x:'04/14/2023',y:[29.92,30.02,29.88,29.90]},{ x:'04/17/2023',y:[28.68,28.83,28.54,28.80]},{ x:'04/18/2023',y:[28.52,28.67,28.52,28.60]},{ x:'04/19/2023',y:[28.83,28.83,28.70,28.75]},{ x:'04/20/2023',y:[28.49,28.60,28.37,28.39]},{ x:'04/21/2023',y:[28.68,28.75,28.58,28.58]},{ x:'04/24/2023',y:[28.13,28.15,27.95,28.00]},{ x:'04/25/2023',y:[28.50,28.59,28.35,28.41]},{ x:'04/26/2023',y:[28.50,28.60,28.45,28.51]},{ x:'04/27/2023',y:[28.31,28.60,28.29,28.55]},{ x:'04/28/2023',y:[28.17,28.31,28.14,28.21]} ] }], chart: { type: "candlestick", height: 350, toolbar: { show: !1 } }, plotOptions: { candlestick: { colors: { upward: chartCandlestickBasicColors[0], downward: chartCandlestickBasicColors[1] } } }, title: { text: "00708l 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());