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:'03/18/2024',y:[34.47,34.53,34.44,34.46]},{ x:'03/19/2024',y:[34.50,34.62,34.49,34.62]},{ x:'03/20/2024',y:[34.73,34.77,34.70,34.76]},{ x:'03/21/2024',y:[34.75,34.78,34.68,34.76]},{ x:'03/22/2024',y:[34.90,35.13,34.90,35.10]},{ x:'03/25/2024',y:[35.24,35.34,35.04,35.11]},{ x:'03/26/2024',y:[35.02,35.05,34.92,35.01]},{ x:'03/27/2024',y:[34.97,35.03,34.97,35.00]},{ x:'03/28/2024',y:[35.15,35.15,35.09,35.11]},{ x:'03/29/2024',y:[35.20,35.24,35.20,35.21]},{ x:'04/01/2024',y:[35.16,35.25,35.15,35.24]},{ x:'04/02/2024',y:[35.08,35.08,34.90,34.90]},{ x:'04/03/2024',y:[34.74,34.85,34.74,34.77]},{ x:'04/08/2024',y:[34.68,34.68,34.60,34.62]},{ x:'04/09/2024',y:[34.71,34.87,34.71,34.81]},{ x:'04/10/2024',y:[34.96,34.96,34.87,34.94]},{ x:'04/11/2024',y:[34.54,34.62,34.53,34.60]},{ x:'04/12/2024',y:[34.50,34.54,34.44,34.52]},{ x:'04/15/2024',y:[34.55,34.63,34.51,34.53]},{ x:'04/16/2024',y:[34.40,34.57,34.35,34.52]},{ x:'04/17/2024',y:[34.36,34.36,34.06,34.07]},{ x:'04/18/2024',y:[33.83,33.99,33.80,33.80]},{ x:'04/19/2024',y:[33.80,34.23,33.80,34.04]},{ x:'04/22/2024',y:[33.86,33.87,33.81,33.86]},{ x:'04/23/2024',y:[34.00,34.11,34.00,34.08]},{ x:'04/24/2024',y:[34.14,34.14,33.98,34.06]},{ x:'04/25/2024',y:[33.96,33.98,33.92,33.92]},{ x:'04/26/2024',y:[33.92,33.92,33.79,33.87]},{ x:'04/29/2024',y:[34.03,34.15,34.03,34.08]},{ x:'04/30/2024',y:[34.13,34.21,34.13,34.15]},{ x:'05/02/2024',y:[34.17,34.20,34.12,34.20]},{ x:'05/03/2024',y:[34.20,34.22,34.14,34.17]},{ x:'05/06/2024',y:[34.35,34.41,34.33,34.39]},{ x:'05/07/2024',y:[34.52,34.69,34.52,34.65]},{ x:'05/08/2024',y:[34.71,34.77,34.67,34.70]},{ x:'05/09/2024',y:[34.58,34.59,34.54,34.58]},{ x:'05/10/2024',y:[34.74,34.80,34.73,34.74]},{ x:'05/13/2024',y:[34.68,34.68,34.61,34.64]},{ x:'05/14/2024',y:[34.64,34.64,34.59,34.60]},{ x:'05/15/2024',y:[34.71,34.73,34.56,34.60]},{ x:'05/16/2024',y:[34.96,34.98,34.88,34.93]},{ x:'05/17/2024',y:[34.92,34.98,34.88,34.90]},{ x:'05/20/2024',y:[34.85,34.85,34.82,34.84]},{ x:'05/21/2024',y:[34.84,34.86,34.83,34.85]},{ x:'05/22/2024',y:[34.92,34.94,34.88,34.89]},{ x:'05/23/2024',y:[34.92,34.92,34.84,34.84]},{ x:'05/24/2024',y:[34.81,34.81,34.74,34.75]},{ x:'06/11/2024',y:[35.06,35.06,34.93,34.93]},{ x:'06/12/2024',y:[35.07,35.08,35.00,35.07]},{ x:'06/13/2024',y:[35.26,35.30,35.22,35.26]},{ x:'06/14/2024',y:[35.47,35.53,35.44,35.46]},{ x:'06/17/2024',y:[35.40,35.41,35.34,35.36]},{ x:'06/18/2024',y:[35.37,35.37,35.27,35.28]},{ x:'06/19/2024',y:[35.37,35.47,35.37,35.47]},{ x:'06/20/2024',y:[35.37,35.40,35.33,35.36]},{ x:'06/21/2024',y:[35.30,35.30,35.25,35.26]},{ x:'06/24/2024',y:[35.29,35.35,35.26,35.28]},{ x:'06/25/2024',y:[35.43,35.48,35.42,35.46]},{ x:'06/26/2024',y:[35.44,35.46,35.37,35.45]},{ x:'06/27/2024',y:[35.19,35.23,35.15,35.21]} ] }], chart: { type: "candlestick", height: 350, toolbar: { show: !1 } }, plotOptions: { candlestick: { colors: { upward: chartCandlestickBasicColors[0], downward: chartCandlestickBasicColors[1] } } }, title: { text: "00724b 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());