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:[38.38,38.47,38.34,38.46]},{ x:'03/20/2024',y:[38.52,38.60,38.52,38.58]},{ x:'03/21/2024',y:[38.49,38.56,38.44,38.51]},{ x:'03/22/2024',y:[38.73,38.97,38.72,38.95]},{ x:'03/25/2024',y:[39.16,39.23,38.90,38.97]},{ x:'03/26/2024',y:[38.88,38.91,38.76,38.86]},{ x:'03/27/2024',y:[38.88,38.95,38.86,38.93]},{ x:'03/28/2024',y:[39.16,39.19,39.13,39.15]},{ x:'03/29/2024',y:[39.36,39.36,39.29,39.34]},{ x:'04/01/2024',y:[39.28,39.35,39.26,39.33]},{ x:'04/02/2024',y:[38.98,39.03,38.94,38.94]},{ x:'04/03/2024',y:[38.74,38.85,38.74,38.74]},{ x:'04/08/2024',y:[38.53,38.58,38.52,38.53]},{ x:'04/09/2024',y:[38.64,38.84,38.63,38.76]},{ x:'04/10/2024',y:[38.91,38.94,38.84,38.89]},{ x:'04/11/2024',y:[38.41,38.48,38.33,38.45]},{ x:'04/12/2024',y:[38.27,38.30,38.22,38.29]},{ x:'04/15/2024',y:[38.33,38.36,38.24,38.27]},{ x:'04/16/2024',y:[38.09,38.09,37.96,38.04]},{ x:'04/17/2024',y:[37.78,37.80,37.59,37.62]},{ x:'04/18/2024',y:[37.38,37.45,37.35,37.37]},{ x:'04/19/2024',y:[37.43,37.94,37.43,37.65]},{ x:'04/22/2024',y:[37.35,37.45,37.35,37.45]},{ x:'04/23/2024',y:[37.65,37.74,37.65,37.74]},{ x:'04/24/2024',y:[37.74,37.74,37.56,37.62]},{ x:'04/25/2024',y:[37.46,37.52,37.43,37.44]},{ x:'04/26/2024',y:[37.31,37.34,37.26,37.32]},{ x:'04/29/2024',y:[37.60,37.67,37.60,37.65]},{ x:'04/30/2024',y:[37.76,37.82,37.71,37.79]},{ x:'05/02/2024',y:[37.66,37.76,37.64,37.75]},{ x:'05/03/2024',y:[37.74,37.80,37.72,37.73]},{ x:'05/06/2024',y:[37.96,38.05,37.96,38.03]},{ x:'05/07/2024',y:[38.20,38.42,38.20,38.39]},{ x:'05/08/2024',y:[38.42,38.45,38.36,38.36]},{ x:'05/09/2024',y:[38.17,38.19,38.12,38.16]},{ x:'05/10/2024',y:[38.40,38.45,38.34,38.34]},{ x:'05/13/2024',y:[38.22,38.25,38.20,38.21]},{ x:'05/14/2024',y:[38.21,38.23,38.17,38.18]},{ x:'05/15/2024',y:[38.27,38.33,38.18,38.18]},{ x:'05/16/2024',y:[38.61,38.67,38.55,38.62]},{ x:'05/17/2024',y:[38.59,38.65,38.56,38.59]},{ x:'05/20/2024',y:[38.47,38.51,38.45,38.48]},{ x:'05/21/2024',y:[38.45,38.47,38.43,38.45]},{ x:'05/22/2024',y:[38.53,38.60,38.51,38.52]},{ x:'05/23/2024',y:[38.52,38.54,38.46,38.46]},{ x:'05/24/2024',y:[38.34,38.37,38.28,38.30]},{ x:'06/11/2024',y:[38.70,38.72,38.60,38.66]},{ x:'06/12/2024',y:[38.90,38.95,38.84,38.91]},{ x:'06/13/2024',y:[39.17,39.18,39.08,39.14]},{ x:'06/14/2024',y:[39.45,39.51,39.41,39.41]},{ x:'06/17/2024',y:[39.41,39.46,39.38,39.40]},{ x:'06/18/2024',y:[39.28,39.32,39.24,39.28]},{ x:'06/19/2024',y:[39.49,39.55,39.49,39.54]},{ x:'06/20/2024',y:[39.48,39.48,39.40,39.41]},{ x:'06/21/2024',y:[39.33,39.33,39.24,39.27]},{ x:'06/24/2024',y:[39.34,39.39,39.31,39.33]},{ x:'06/25/2024',y:[39.55,39.59,39.54,39.58]},{ x:'06/26/2024',y:[39.48,39.52,39.41,39.49]},{ x:'06/27/2024',y:[39.08,39.14,39.05,39.13]},{ x:'06/28/2024',y:[39.25,39.30,39.10,39.13]} ] }], chart: { type: "candlestick", height: 350, toolbar: { show: !1 } }, plotOptions: { candlestick: { colors: { upward: chartCandlestickBasicColors[0], downward: chartCandlestickBasicColors[1] } } }, title: { text: "00722b 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());