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:[26.64,26.70,26.45,26.46]},{ x:'01/23/2024',y:[26.43,26.63,26.37,26.63]},{ x:'01/24/2024',y:[26.56,26.62,26.48,26.48]},{ x:'01/25/2024',y:[26.24,26.27,26.21,26.27]},{ x:'01/26/2024',y:[26.36,26.40,26.34,26.37]},{ x:'01/29/2024',y:[26.39,26.49,26.37,26.45]},{ x:'01/30/2024',y:[26.63,26.65,26.56,26.62]},{ x:'01/31/2024',y:[26.73,26.74,26.66,26.70]},{ x:'02/01/2024',y:[26.83,27.07,26.81,27.02]},{ x:'02/02/2024',y:[27.20,27.23,27.13,27.22]},{ x:'02/05/2024',y:[26.71,26.77,26.57,26.60]},{ x:'02/15/2024',y:[25.54,25.54,25.45,25.51]},{ x:'02/16/2024',y:[25.68,25.77,25.68,25.74]},{ x:'02/19/2024',y:[26.07,26.18,26.05,26.14]},{ x:'02/20/2024',y:[26.03,26.13,26.03,26.11]},{ x:'02/21/2024',y:[26.21,26.45,26.21,26.40]},{ x:'02/22/2024',y:[26.30,26.39,26.26,26.36]},{ x:'02/23/2024',y:[26.28,26.29,26.22,26.25]},{ x:'02/26/2024',y:[26.38,26.48,26.38,26.45]},{ x:'02/27/2024',y:[26.40,26.50,26.40,26.45]},{ x:'02/29/2024',y:[26.45,26.57,26.45,26.47]},{ x:'03/01/2024',y:[26.68,26.79,26.66,26.69]},{ x:'03/04/2024',y:[27.65,27.68,27.58,27.62]},{ x:'03/05/2024',y:[28.48,28.53,28.38,28.50]},{ x:'03/06/2024',y:[28.83,28.84,28.74,28.80]},{ x:'03/07/2024',y:[29.31,29.71,29.26,29.65]},{ x:'03/08/2024',y:[29.73,29.73,29.52,29.55]},{ x:'03/11/2024',y:[30.34,30.36,30.10,30.23]},{ x:'03/12/2024',y:[30.22,30.27,30.09,30.12]},{ x:'03/13/2024',y:[29.57,29.64,29.54,29.59]},{ x:'03/14/2024',y:[30.02,30.04,29.86,29.89]},{ x:'03/15/2024',y:[29.70,29.75,29.65,29.75]},{ x:'03/18/2024',y:[29.50,29.50,29.22,29.23]},{ x:'03/19/2024',y:[29.65,29.68,29.55,29.55]},{ x:'03/20/2024',y:[29.56,29.60,29.52,29.54]},{ x:'03/21/2024',y:[30.63,30.96,30.61,30.76]},{ x:'03/22/2024',y:[30.28,30.28,29.95,29.99]},{ x:'03/25/2024',y:[29.76,30.03,29.72,29.83]},{ x:'03/26/2024',y:[29.91,29.94,29.77,29.91]},{ x:'03/27/2024',y:[30.05,30.10,29.93,30.03]},{ x:'03/28/2024',y:[30.31,30.54,30.28,30.51]},{ x:'03/29/2024',y:[31.28,31.60,31.28,31.59]},{ x:'04/01/2024',y:[32.13,32.44,32.13,32.28]},{ x:'04/02/2024',y:[32.00,32.21,31.93,32.12]},{ x:'04/03/2024',y:[32.89,33.07,32.80,32.96]},{ x:'04/08/2024',y:[33.54,34.86,33.50,34.54]},{ x:'04/09/2024',y:[34.56,34.75,34.46,34.67]},{ x:'04/10/2024',y:[34.80,35.08,34.68,35.05]},{ x:'04/11/2024',y:[34.43,34.72,34.38,34.64]},{ x:'04/12/2024',y:[35.82,36.19,35.77,35.90]},{ x:'04/15/2024',y:[34.97,35.27,34.83,35.02]},{ x:'04/16/2024',y:[35.94,36.09,35.76,36.06]},{ x:'04/17/2024',y:[35.91,35.97,35.76,35.76]},{ x:'04/18/2024',y:[35.43,35.60,35.23,35.56]},{ x:'04/19/2024',y:[35.72,36.84,35.72,35.86]},{ x:'04/22/2024',y:[35.77,35.87,35.23,35.40]},{ x:'04/23/2024',y:[34.34,34.36,33.25,33.67]},{ x:'04/24/2024',y:[33.83,34.13,33.78,34.05]},{ x:'04/25/2024',y:[33.85,33.88,33.42,33.73]},{ x:'04/26/2024',y:[34.10,34.35,34.03,34.32]} ] }], 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());