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:[32.70,32.79,32.55,32.62]},{ x:'01/23/2024',y:[32.68,32.75,32.61,32.74]},{ x:'01/24/2024',y:[32.74,32.85,32.72,32.72]},{ x:'01/25/2024',y:[32.96,33.07,32.92,33.05]},{ x:'01/26/2024',y:[33.04,33.13,32.98,33.05]},{ x:'01/29/2024',y:[33.06,33.28,33.06,33.27]},{ x:'01/30/2024',y:[33.26,33.28,33.17,33.18]},{ x:'01/31/2024',y:[33.05,33.05,32.81,32.82]},{ x:'02/01/2024',y:[32.82,32.94,32.71,32.94]},{ x:'02/02/2024',y:[33.03,33.07,32.95,33.07]},{ x:'02/05/2024',y:[33.07,33.19,32.92,33.19]},{ x:'02/15/2024',y:[34.07,34.78,34.07,34.41]},{ x:'02/16/2024',y:[34.37,34.41,34.20,34.23]},{ x:'02/19/2024',y:[34.17,34.23,34.09,34.21]},{ x:'02/20/2024',y:[34.17,34.43,34.17,34.43]},{ x:'02/21/2024',y:[34.28,34.36,34.25,34.36]},{ x:'02/22/2024',y:[34.54,34.62,34.41,34.58]},{ x:'02/23/2024',y:[34.78,34.86,34.71,34.76]},{ x:'02/26/2024',y:[34.72,34.87,34.66,34.86]},{ x:'02/27/2024',y:[34.86,34.89,34.50,34.70]},{ x:'02/29/2024',y:[34.65,34.85,34.50,34.74]},{ x:'03/01/2024',y:[34.77,34.83,34.64,34.67]},{ x:'03/04/2024',y:[35.02,35.49,35.02,35.40]},{ x:'03/05/2024',y:[35.55,35.80,35.54,35.71]},{ x:'03/06/2024',y:[35.60,35.90,35.44,35.86]},{ x:'03/07/2024',y:[36.19,36.72,36.19,36.56]},{ x:'03/08/2024',y:[37.14,37.34,36.66,36.97]},{ x:'03/11/2024',y:[36.70,36.95,36.62,36.71]},{ x:'03/12/2024',y:[36.53,37.08,36.53,37.07]},{ x:'03/13/2024',y:[37.22,37.40,37.13,37.22]},{ x:'03/14/2024',y:[37.16,37.30,37.04,37.16]},{ x:'03/15/2024',y:[37.04,37.11,36.86,36.88]},{ x:'03/18/2024',y:[36.88,37.04,36.80,37.04]},{ x:'03/19/2024',y:[36.89,37.15,36.80,37.09]},{ x:'03/20/2024',y:[37.10,37.28,36.88,36.90]},{ x:'03/21/2024',y:[37.28,37.80,37.28,37.77]},{ x:'03/22/2024',y:[37.68,37.90,37.56,37.76]},{ x:'03/25/2024',y:[37.76,37.86,37.60,37.70]},{ x:'03/26/2024',y:[37.74,38.15,37.49,37.81]},{ x:'03/27/2024',y:[37.75,37.88,37.64,37.81]},{ x:'03/28/2024',y:[37.65,37.81,37.48,37.76]},{ x:'03/29/2024',y:[37.76,38.00,37.75,37.95]},{ x:'04/01/2024',y:[38.00,38.10,37.74,37.74]},{ x:'04/02/2024',y:[37.92,38.30,37.92,38.30]},{ x:'04/03/2024',y:[38.12,38.15,37.88,37.99]},{ x:'04/08/2024',y:[38.02,38.31,38.01,38.22]},{ x:'04/09/2024',y:[38.27,39.01,38.27,38.96]},{ x:'04/10/2024',y:[38.96,39.05,38.88,38.90]},{ x:'04/11/2024',y:[38.65,38.87,38.58,38.86]},{ x:'04/12/2024',y:[38.88,38.96,38.71,38.82]},{ x:'04/15/2024',y:[38.56,38.56,38.33,38.47]},{ x:'04/16/2024',y:[38.07,38.15,37.20,37.29]},{ x:'04/17/2024',y:[37.41,37.86,37.41,37.77]},{ x:'04/18/2024',y:[37.58,38.06,37.47,38.06]},{ x:'04/19/2024',y:[37.26,37.26,36.06,36.44]},{ x:'04/22/2024',y:[36.38,36.69,36.25,36.37]},{ x:'04/23/2024',y:[36.80,36.89,36.53,36.70]},{ x:'04/24/2024',y:[37.08,37.76,37.07,37.65]},{ x:'04/25/2024',y:[37.23,37.29,36.98,37.05]},{ x:'04/26/2024',y:[37.46,37.81,37.46,37.63]} ] }], chart: { type: "candlestick", height: 350, toolbar: { show: !1 } }, plotOptions: { candlestick: { colors: { upward: chartCandlestickBasicColors[0], downward: chartCandlestickBasicColors[1] } } }, title: { text: "00692 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());