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.10,10.10,9.74,9.79]},{ x:'01/23/2024',y:[9.77,10.11,9.75,10.05]},{ x:'01/24/2024',y:[10.33,10.45,10.04,10.11]},{ x:'01/25/2024',y:[10.48,10.65,10.37,10.64]},{ x:'01/26/2024',y:[10.73,10.73,10.46,10.53]},{ x:'01/29/2024',y:[10.53,10.58,10.45,10.47]},{ x:'01/30/2024',y:[10.43,10.43,10.18,10.26]},{ x:'01/31/2024',y:[10.19,10.19,10.03,10.10]},{ x:'02/01/2024',y:[10.15,10.32,10.05,10.20]},{ x:'02/02/2024',y:[10.20,10.35,10.13,10.17]},{ x:'02/05/2024',y:[10.16,10.23,9.96,10.23]},{ x:'02/15/2024',y:[10.46,10.60,10.31,10.48]},{ x:'02/16/2024',y:[10.56,10.78,10.51,10.78]},{ x:'02/19/2024',y:[10.78,10.81,10.65,10.70]},{ x:'02/20/2024',y:[10.67,10.75,10.60,10.63]},{ x:'02/21/2024',y:[10.64,11.16,10.64,11.13]},{ x:'02/22/2024',y:[11.11,11.11,10.95,11.11]},{ x:'02/23/2024',y:[11.15,11.37,11.13,11.23]},{ x:'02/26/2024',y:[11.26,11.27,11.15,11.21]},{ x:'02/27/2024',y:[11.19,11.24,11.08,11.21]},{ x:'02/29/2024',y:[11.10,11.21,11.06,11.13]},{ x:'03/01/2024',y:[11.12,11.20,10.93,11.17]},{ x:'03/04/2024',y:[11.16,11.19,11.07,11.09]},{ x:'03/05/2024',y:[11.00,11.00,10.79,10.85]},{ x:'03/06/2024',y:[10.80,11.11,10.79,11.04]},{ x:'03/07/2024',y:[11.07,11.09,10.95,10.95]},{ x:'03/08/2024',y:[10.93,11.04,10.87,10.98]},{ x:'03/11/2024',y:[10.98,11.10,10.97,11.07]},{ x:'03/12/2024',y:[11.07,11.42,11.07,11.42]},{ x:'03/13/2024',y:[11.57,11.60,11.50,11.60]},{ x:'03/14/2024',y:[11.60,11.67,11.46,11.46]},{ x:'03/15/2024',y:[11.43,11.44,11.26,11.27]},{ x:'03/18/2024',y:[11.45,11.45,11.31,11.44]},{ x:'03/19/2024',y:[11.38,11.42,11.29,11.36]},{ x:'03/20/2024',y:[11.40,11.42,11.29,11.40]},{ x:'03/21/2024',y:[11.43,11.67,11.43,11.55]},{ x:'03/22/2024',y:[11.52,11.53,11.24,11.30]},{ x:'03/25/2024',y:[11.32,11.41,11.32,11.36]},{ x:'03/26/2024',y:[11.36,11.44,11.32,11.38]},{ x:'03/27/2024',y:[11.41,11.43,11.31,11.38]},{ x:'03/28/2024',y:[11.33,11.61,11.33,11.56]},{ x:'03/29/2024',y:[11.56,11.58,11.49,11.50]},{ x:'04/01/2024',y:[11.51,11.66,11.51,11.66]},{ x:'04/02/2024',y:[11.69,11.85,11.69,11.78]},{ x:'04/03/2024',y:[11.79,11.84,11.69,11.71]},{ x:'04/08/2024',y:[11.72,11.78,11.55,11.69]},{ x:'04/09/2024',y:[11.70,11.83,11.70,11.75]},{ x:'04/10/2024',y:[11.75,11.93,11.75,11.89]},{ x:'04/11/2024',y:[11.83,11.88,11.68,11.88]},{ x:'04/12/2024',y:[11.88,11.88,11.70,11.78]},{ x:'04/15/2024',y:[11.60,11.65,11.47,11.58]},{ x:'04/16/2024',y:[11.48,11.58,11.44,11.48]},{ x:'04/17/2024',y:[11.41,11.45,11.35,11.38]},{ x:'04/18/2024',y:[11.40,11.60,11.40,11.51]},{ x:'04/19/2024',y:[11.48,11.48,11.37,11.37]},{ x:'04/22/2024',y:[11.45,11.67,11.45,11.61]},{ x:'04/23/2024',y:[11.71,11.85,11.69,11.83]},{ x:'04/24/2024',y:[11.90,12.10,11.90,12.10]},{ x:'04/25/2024',y:[12.10,12.33,12.09,12.18]},{ x:'04/26/2024',y:[12.21,12.57,12.21,12.54]} ] }], chart: { type: "candlestick", height: 350, toolbar: { show: !1 } }, plotOptions: { candlestick: { colors: { upward: chartCandlestickBasicColors[0], downward: chartCandlestickBasicColors[1] } } }, title: { text: "00700 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());