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/15/2024',y:[37.31,37.39,37.31,37.37]},{ x:'03/18/2024',y:[37.38,37.43,37.33,37.33]},{ x:'03/19/2024',y:[37.34,37.46,37.33,37.46]},{ x:'03/20/2024',y:[37.54,37.60,37.52,37.60]},{ x:'03/21/2024',y:[37.52,37.57,37.50,37.56]},{ x:'03/22/2024',y:[37.70,37.95,37.70,37.95]},{ x:'03/25/2024',y:[38.08,38.18,37.89,37.95]},{ x:'03/26/2024',y:[37.83,37.89,37.76,37.86]},{ x:'03/27/2024',y:[37.84,37.92,37.83,37.92]},{ x:'03/28/2024',y:[38.04,38.08,38.02,38.05]},{ x:'03/29/2024',y:[38.19,38.20,38.15,38.20]},{ x:'04/01/2024',y:[38.18,38.23,38.14,38.22]},{ x:'04/02/2024',y:[37.93,37.95,37.90,37.91]},{ x:'04/03/2024',y:[37.75,37.83,37.72,37.77]},{ x:'04/08/2024',y:[37.67,37.67,37.58,37.63]},{ x:'04/09/2024',y:[37.70,37.82,37.66,37.78]},{ x:'04/10/2024',y:[37.86,37.88,37.80,37.85]},{ x:'04/11/2024',y:[37.49,37.51,37.40,37.46]},{ x:'04/12/2024',y:[37.40,37.46,37.32,37.36]},{ x:'04/15/2024',y:[37.38,37.45,37.34,37.35]},{ x:'04/16/2024',y:[37.20,37.21,37.13,37.18]},{ x:'04/17/2024',y:[36.96,36.97,36.88,36.89]},{ x:'04/18/2024',y:[36.52,36.57,36.47,36.50]},{ x:'04/19/2024',y:[36.54,36.98,36.50,36.70]},{ x:'04/22/2024',y:[36.61,36.61,36.47,36.52]},{ x:'04/23/2024',y:[36.72,36.79,36.69,36.77]},{ x:'04/24/2024',y:[36.75,36.77,36.64,36.71]},{ x:'04/25/2024',y:[36.62,36.63,36.55,36.57]},{ x:'04/26/2024',y:[36.42,36.45,36.36,36.42]},{ x:'04/29/2024',y:[36.50,36.77,36.50,36.70]},{ x:'04/30/2024',y:[36.79,36.87,36.77,36.82]},{ x:'05/02/2024',y:[36.76,36.82,36.74,36.80]},{ x:'05/03/2024',y:[36.80,36.84,36.75,36.77]},{ x:'05/06/2024',y:[36.94,37.05,36.93,37.03]},{ x:'05/07/2024',y:[37.19,37.38,37.19,37.36]},{ x:'05/08/2024',y:[37.38,37.44,37.34,37.35]},{ x:'05/09/2024',y:[37.17,37.20,37.15,37.17]},{ x:'05/10/2024',y:[37.37,37.41,37.33,37.33]},{ x:'05/13/2024',y:[37.26,37.26,37.20,37.22]},{ x:'05/14/2024',y:[37.22,37.23,37.18,37.20]},{ x:'05/15/2024',y:[37.30,37.32,37.18,37.19]},{ x:'05/16/2024',y:[37.54,37.58,37.47,37.54]},{ x:'05/17/2024',y:[37.50,37.56,37.47,37.50]},{ x:'05/20/2024',y:[37.42,37.45,37.40,37.43]},{ x:'05/21/2024',y:[37.42,37.45,37.39,37.45]},{ x:'05/22/2024',y:[37.48,37.53,37.47,37.48]},{ x:'05/23/2024',y:[37.46,37.48,37.40,37.41]},{ x:'05/24/2024',y:[37.34,37.34,37.25,37.28]},{ x:'06/11/2024',y:[37.44,37.60,37.44,37.58]},{ x:'06/12/2024',y:[37.77,37.77,37.68,37.73]},{ x:'06/13/2024',y:[37.95,37.96,37.90,37.93]},{ x:'06/14/2024',y:[38.11,38.18,38.10,38.11]},{ x:'06/17/2024',y:[38.10,38.11,38.06,38.08]},{ x:'06/18/2024',y:[38.08,38.08,37.99,38.02]},{ x:'06/19/2024',y:[38.22,38.22,38.18,38.21]},{ x:'06/20/2024',y:[38.16,38.16,38.10,38.10]},{ x:'06/21/2024',y:[38.05,38.05,37.98,37.98]},{ x:'06/24/2024',y:[38.01,38.10,38.01,38.05]},{ x:'06/25/2024',y:[38.25,38.28,38.24,38.27]},{ x:'06/26/2024',y:[38.20,38.25,38.16,38.22]} ] }], chart: { type: "candlestick", height: 350, toolbar: { show: !1 } }, plotOptions: { candlestick: { colors: { upward: chartCandlestickBasicColors[0], downward: chartCandlestickBasicColors[1] } } }, title: { text: "00725b 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());