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/19/2024',y:[33.97,34.03,33.95,34.01]},{ x:'03/20/2024',y:[34.13,34.13,34.08,34.13]},{ x:'03/21/2024',y:[34.00,34.03,34.00,34.00]},{ x:'03/22/2024',y:[34.00,34.42,34.00,34.38]},{ x:'03/25/2024',y:[34.57,34.57,34.39,34.45]},{ x:'03/26/2024',y:[34.31,34.37,34.31,34.37]},{ x:'03/27/2024',y:[34.41,34.42,34.40,34.42]},{ x:'03/28/2024',y:[34.50,34.59,34.50,34.55]},{ x:'03/29/2024',y:[34.66,34.67,34.65,34.67]},{ x:'04/01/2024',y:[34.61,34.65,34.61,34.65]},{ x:'04/02/2024',y:[34.55,34.55,34.32,34.32]},{ x:'04/03/2024',y:[34.19,34.19,34.13,34.14]},{ x:'04/08/2024',y:[34.09,34.09,33.93,33.95]},{ x:'04/09/2024',y:[34.03,34.12,34.03,34.11]},{ x:'04/10/2024',y:[34.20,34.24,34.20,34.23]},{ x:'04/11/2024',y:[33.85,33.85,33.72,33.79]},{ x:'04/12/2024',y:[33.75,33.75,33.67,33.71]},{ x:'04/15/2024',y:[33.78,33.78,33.69,33.69]},{ x:'04/16/2024',y:[33.58,33.58,33.43,33.52]},{ x:'04/17/2024',y:[33.41,33.41,33.15,33.20]},{ x:'04/18/2024',y:[33.03,33.03,33.01,33.01]},{ x:'04/19/2024',y:[33.20,33.41,33.20,33.24]},{ x:'04/22/2024',y:[32.95,32.98,32.92,32.95]},{ x:'04/23/2024',y:[33.13,33.20,33.13,33.20]},{ x:'04/24/2024',y:[33.16,33.16,33.04,33.12]},{ x:'04/25/2024',y:[32.95,32.95,32.93,32.93]},{ x:'04/26/2024',y:[32.72,32.74,32.70,32.74]},{ x:'04/29/2024',y:[33.00,33.04,33.00,33.00]},{ x:'04/30/2024',y:[33.08,33.19,33.08,33.19]},{ x:'05/02/2024',y:[33.00,33.07,33.00,33.07]},{ x:'05/03/2024',y:[33.07,33.10,33.07,33.07]},{ x:'05/06/2024',y:[33.24,33.35,33.24,33.33]},{ x:'05/07/2024',y:[33.46,33.63,33.46,33.61]},{ x:'05/08/2024',y:[33.64,33.66,33.64,33.66]},{ x:'05/09/2024',y:[33.46,33.48,33.44,33.45]},{ x:'05/10/2024',y:[33.67,33.70,33.66,33.67]},{ x:'05/13/2024',y:[33.48,33.50,33.48,33.50]},{ x:'05/14/2024',y:[33.50,33.52,33.50,33.52]},{ x:'05/15/2024',y:[33.59,33.59,33.53,33.57]},{ x:'05/16/2024',y:[33.86,33.90,33.84,33.90]},{ x:'05/17/2024',y:[33.88,33.88,33.88,33.88]},{ x:'05/20/2024',y:[33.75,33.75,33.73,33.73]},{ x:'05/21/2024',y:[33.72,33.72,33.68,33.72]},{ x:'05/22/2024',y:[33.85,33.85,33.77,33.77]},{ x:'05/23/2024',y:[33.82,33.82,33.75,33.75]},{ x:'05/24/2024',y:[33.62,33.62,33.57,33.61]},{ x:'06/11/2024',y:[33.95,33.95,33.77,33.80]},{ x:'06/12/2024',y:[34.01,34.03,33.99,34.03]},{ x:'06/13/2024',y:[34.29,34.32,34.22,34.25]},{ x:'06/14/2024',y:[34.55,34.60,34.54,34.55]},{ x:'06/17/2024',y:[34.52,34.54,34.52,34.52]},{ x:'06/18/2024',y:[34.43,34.44,34.41,34.44]},{ x:'06/19/2024',y:[34.61,34.63,34.61,34.63]},{ x:'06/20/2024',y:[34.54,34.55,34.50,34.52]},{ x:'06/21/2024',y:[34.39,34.41,34.36,34.36]},{ x:'06/24/2024',y:[34.47,34.47,34.41,34.43]},{ x:'06/25/2024',y:[34.63,34.70,34.63,34.70]},{ x:'06/26/2024',y:[34.60,34.60,34.56,34.60]},{ x:'06/27/2024',y:[34.19,34.30,34.19,34.30]},{ x:'06/28/2024',y:[34.35,34.35,34.32,34.33]} ] }], chart: { type: "candlestick", height: 350, toolbar: { show: !1 } }, plotOptions: { candlestick: { colors: { upward: chartCandlestickBasicColors[0], downward: chartCandlestickBasicColors[1] } } }, title: { text: "00723b 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());