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:[18.71,18.72,18.63,18.64]},{ x:'01/23/2024',y:[18.65,18.71,18.65,18.67]},{ x:'01/24/2024',y:[18.71,18.71,18.66,18.68]},{ x:'01/25/2024',y:[18.71,18.71,18.65,18.66]},{ x:'01/26/2024',y:[18.70,18.74,18.70,18.72]},{ x:'01/29/2024',y:[18.72,18.74,18.70,18.71]},{ x:'01/30/2024',y:[18.73,18.74,18.69,18.69]},{ x:'01/31/2024',y:[18.69,18.75,18.68,18.72]},{ x:'02/01/2024',y:[18.73,18.76,18.73,18.76]},{ x:'02/02/2024',y:[18.77,18.79,18.71,18.72]},{ x:'02/05/2024',y:[18.74,18.74,18.71,18.72]},{ x:'02/15/2024',y:[18.72,18.80,18.60,18.78]},{ x:'02/16/2024',y:[18.77,18.81,18.76,18.80]},{ x:'02/19/2024',y:[18.78,18.83,18.78,18.82]},{ x:'02/20/2024',y:[18.82,18.86,18.82,18.84]},{ x:'02/21/2024',y:[18.85,18.86,18.84,18.86]},{ x:'02/22/2024',y:[18.86,18.89,18.85,18.89]},{ x:'02/23/2024',y:[18.88,18.91,18.87,18.91]},{ x:'02/26/2024',y:[18.91,18.95,18.89,18.91]},{ x:'02/27/2024',y:[18.91,18.95,18.89,18.91]},{ x:'02/29/2024',y:[18.92,19.00,18.92,18.98]},{ x:'03/01/2024',y:[18.95,18.97,18.94,18.96]},{ x:'03/04/2024',y:[18.96,18.97,18.91,18.92]},{ x:'03/05/2024',y:[18.92,18.95,18.92,18.94]},{ x:'03/06/2024',y:[18.95,18.95,18.93,18.95]},{ x:'03/07/2024',y:[18.95,18.96,18.91,18.92]},{ x:'03/08/2024',y:[18.92,18.92,18.89,18.89]},{ x:'03/11/2024',y:[18.89,18.89,18.86,18.86]},{ x:'03/12/2024',y:[18.86,18.93,18.85,18.90]},{ x:'03/13/2024',y:[18.92,18.95,18.91,18.91]},{ x:'03/14/2024',y:[18.91,18.98,18.91,18.97]},{ x:'03/15/2024',y:[18.95,19.02,18.92,19.02]},{ x:'03/18/2024',y:[18.95,19.01,18.95,18.99]},{ x:'03/19/2024',y:[18.78,18.88,18.78,18.87]},{ x:'03/20/2024',y:[18.89,18.98,18.88,18.97]},{ x:'03/21/2024',y:[19.00,19.02,18.97,18.98]},{ x:'03/22/2024',y:[19.04,19.12,19.04,19.11]},{ x:'03/25/2024',y:[19.11,19.13,19.01,19.05]},{ x:'03/26/2024',y:[19.06,19.10,18.99,19.07]},{ x:'03/27/2024',y:[19.08,19.11,19.07,19.08]},{ x:'03/28/2024',y:[19.11,19.16,19.11,19.14]},{ x:'03/29/2024',y:[19.14,19.14,19.10,19.12]},{ x:'04/01/2024',y:[19.10,19.15,19.10,19.11]},{ x:'04/02/2024',y:[19.11,19.17,19.11,19.14]},{ x:'04/03/2024',y:[19.14,19.15,19.11,19.11]},{ x:'04/08/2024',y:[19.15,19.17,19.14,19.14]},{ x:'04/09/2024',y:[19.17,19.20,19.16,19.16]},{ x:'04/10/2024',y:[19.17,19.19,19.15,19.15]},{ x:'04/11/2024',y:[19.15,19.19,19.14,19.17]},{ x:'04/12/2024',y:[19.17,19.20,19.14,19.18]},{ x:'04/15/2024',y:[19.18,19.23,19.16,19.21]},{ x:'04/16/2024',y:[19.21,19.27,19.20,19.25]},{ x:'04/17/2024',y:[19.22,19.22,19.18,19.20]},{ x:'04/18/2024',y:[19.20,19.20,19.09,19.10]},{ x:'04/19/2024',y:[19.12,19.20,19.12,19.13]},{ x:'04/22/2024',y:[19.16,19.26,19.16,19.25]},{ x:'04/23/2024',y:[19.30,19.37,19.30,19.36]},{ x:'04/24/2024',y:[19.37,19.37,19.34,19.34]},{ x:'04/25/2024',y:[19.34,19.40,19.34,19.37]},{ x:'04/26/2024',y:[19.33,19.36,19.28,19.33]} ] }], chart: { type: "candlestick", height: 350, toolbar: { show: !1 } }, plotOptions: { candlestick: { colors: { upward: chartCandlestickBasicColors[0], downward: chartCandlestickBasicColors[1] } } }, title: { text: "00710b 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());