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/22/2024',y:[37.40,37.45,37.36,37.42]},{ x:'01/23/2024',y:[37.42,37.45,37.35,37.42]},{ x:'01/24/2024',y:[37.27,37.28,37.18,37.26]},{ x:'01/25/2024',y:[37.15,37.15,37.05,37.15]},{ x:'01/26/2024',y:[37.37,37.39,37.33,37.38]},{ x:'01/29/2024',y:[37.34,37.37,37.24,37.30]},{ x:'01/30/2024',y:[37.41,37.46,37.37,37.44]},{ x:'01/31/2024',y:[37.47,37.73,37.47,37.72]},{ x:'02/01/2024',y:[37.78,37.90,37.75,37.84]},{ x:'02/02/2024',y:[37.93,37.99,37.80,37.86]},{ x:'02/05/2024',y:[37.53,37.67,37.53,37.61]},{ x:'02/15/2024',y:[37.18,37.25,36.90,37.06]},{ x:'02/16/2024',y:[37.03,37.04,36.84,36.90]},{ x:'02/19/2024',y:[36.88,36.93,36.82,36.93]},{ x:'02/20/2024',y:[36.87,36.93,36.82,36.93]},{ x:'02/21/2024',y:[36.92,37.04,36.92,37.03]},{ x:'02/22/2024',y:[36.93,37.07,36.92,37.02]},{ x:'02/23/2024',y:[37.08,37.11,37.05,37.11]},{ x:'02/26/2024',y:[37.36,37.43,37.36,37.42]},{ x:'02/27/2024',y:[37.19,37.26,37.13,37.18]},{ x:'02/29/2024',y:[37.20,37.23,37.11,37.12]},{ x:'03/01/2024',y:[37.08,37.11,37.00,37.08]},{ x:'03/04/2024',y:[37.15,37.16,37.08,37.10]},{ x:'03/05/2024',y:[37.13,37.18,37.10,37.15]},{ x:'03/06/2024',y:[37.23,37.37,37.21,37.34]},{ x:'03/07/2024',y:[37.45,37.54,37.43,37.53]},{ x:'03/08/2024',y:[37.54,37.60,37.50,37.58]},{ x:'03/11/2024',y:[37.60,37.69,37.60,37.69]},{ x:'03/12/2024',y:[37.61,37.66,37.59,37.63]},{ x:'03/13/2024',y:[37.56,37.56,37.47,37.52]},{ x:'03/14/2024',y:[37.50,37.54,37.47,37.48]},{ 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]} ] }], 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());