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/23/2024',y:[44.82,44.82,44.82,44.82]},{ x:'01/24/2024',y:[44.82,44.82,44.82,44.82]},{ x:'01/25/2024',y:[44.80,44.80,44.80,44.80]},{ x:'01/26/2024',y:[44.89,44.89,44.62,44.63]},{ x:'01/29/2024',y:[44.63,44.63,44.63,44.63]},{ x:'01/30/2024',y:[44.63,44.63,44.63,44.63]},{ x:'01/31/2024',y:[44.68,44.68,44.68,44.68]},{ x:'02/01/2024',y:[44.82,44.82,44.82,44.82]},{ x:'02/02/2024',y:[44.70,44.70,44.70,44.70]},{ x:'02/05/2024',y:[44.98,44.98,44.71,44.71]},{ x:'02/15/2024',y:[44.87,44.87,44.81,44.81]},{ x:'02/16/2024',y:[44.82,44.95,44.82,44.87]},{ x:'02/19/2024',y:[45.00,45.12,45.00,45.05]},{ x:'02/20/2024',y:[45.13,45.40,45.13,45.28]},{ x:'02/21/2024',y:[45.45,45.86,45.45,45.62]},{ x:'02/22/2024',y:[45.62,45.62,45.58,45.58]},{ x:'02/23/2024',y:[45.61,46.29,45.61,45.91]},{ x:'02/26/2024',y:[45.95,46.00,45.88,45.89]},{ x:'02/27/2024',y:[45.38,45.40,45.38,45.40]},{ x:'02/29/2024',y:[45.39,45.41,45.39,45.41]},{ x:'03/01/2024',y:[45.42,45.42,45.42,45.42]},{ x:'03/04/2024',y:[45.43,45.43,45.35,45.35]},{ x:'03/05/2024',y:[45.35,45.35,45.35,45.35]},{ x:'03/06/2024',y:[45.35,45.59,45.35,45.46]},{ x:'03/07/2024',y:[45.45,45.45,45.45,45.45]},{ x:'03/08/2024',y:[45.45,45.45,45.26,45.26]},{ x:'03/11/2024',y:[45.49,45.49,45.45,45.45]},{ x:'03/12/2024',y:[45.33,45.40,45.33,45.40]},{ x:'03/13/2024',y:[45.44,45.44,45.21,45.21]},{ x:'03/14/2024',y:[45.30,45.30,45.30,45.30]},{ x:'03/15/2024',y:[45.27,45.39,45.27,45.39]},{ x:'03/18/2024',y:[45.59,45.64,45.57,45.57]},{ x:'03/19/2024',y:[45.72,45.72,45.65,45.65]},{ x:'03/20/2024',y:[45.64,45.66,45.64,45.66]},{ x:'03/21/2024',y:[45.56,45.56,45.56,45.56]},{ x:'03/22/2024',y:[45.70,45.71,45.64,45.64]},{ x:'03/25/2024',y:[45.70,45.70,45.70,45.70]},{ x:'03/26/2024',y:[45.60,45.60,45.60,45.60]},{ x:'03/27/2024',y:[45.73,45.73,45.68,45.68]},{ x:'03/28/2024',y:[45.68,45.68,45.68,45.68]},{ x:'03/29/2024',y:[45.65,45.68,45.65,45.68]},{ x:'04/01/2024',y:[45.68,45.68,45.68,45.68]},{ x:'04/02/2024',y:[45.68,45.68,45.68,45.68]},{ x:'04/03/2024',y:[46.04,46.04,45.74,45.78]},{ x:'04/08/2024',y:[46.16,46.16,46.15,46.16]},{ x:'04/09/2024',y:[46.23,46.23,45.99,46.00]},{ x:'04/10/2024',y:[45.93,45.93,45.93,45.93]},{ x:'04/11/2024',y:[46.20,46.20,46.18,46.20]},{ x:'04/12/2024',y:[46.30,46.30,46.30,46.30]},{ x:'04/15/2024',y:[46.54,46.54,46.38,46.38]},{ x:'04/16/2024',y:[46.74,46.74,46.58,46.58]},{ x:'04/17/2024',y:[0.00,0.00,0.00,0.00]},{ x:'04/18/2024',y:[46.80,46.80,46.62,46.62]},{ x:'04/19/2024',y:[46.60,46.68,46.60,46.67]},{ x:'04/22/2024',y:[46.67,46.79,46.67,46.79]},{ x:'04/23/2024',y:[46.81,46.84,46.81,46.84]},{ x:'04/24/2024',y:[46.71,46.72,46.71,46.72]},{ x:'04/25/2024',y:[46.70,46.70,46.70,46.70]},{ x:'04/26/2024',y:[46.75,46.75,46.68,46.68]},{ x:'04/29/2024',y:[0.00,0.00,0.00,0.00]} ] }], chart: { type: "candlestick", height: 350, toolbar: { show: !1 } }, plotOptions: { candlestick: { colors: { upward: chartCandlestickBasicColors[0], downward: chartCandlestickBasicColors[1] } } }, title: { text: "00721b 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());