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/20/2024',y:[84.50,85.05,83.45,83.45]},{ x:'03/21/2024',y:[85.10,85.75,84.90,85.55]},{ x:'03/22/2024',y:[85.80,86.10,85.10,85.90]},{ x:'03/25/2024',y:[85.80,86.00,85.55,86.00]},{ x:'03/26/2024',y:[86.00,86.20,85.20,85.30]},{ x:'03/27/2024',y:[85.60,85.70,85.45,85.65]},{ x:'03/28/2024',y:[85.35,85.45,84.90,85.30]},{ x:'03/29/2024',y:[85.30,85.85,85.25,85.85]},{ x:'04/01/2024',y:[85.95,85.95,85.30,85.30]},{ x:'04/02/2024',y:[86.80,87.00,86.80,86.90]},{ x:'04/03/2024',y:[85.70,86.65,85.70,86.65]},{ x:'04/08/2024',y:[86.95,87.00,86.80,86.80]},{ x:'04/09/2024',y:[87.85,88.65,87.75,88.65]},{ x:'04/10/2024',y:[88.50,88.55,88.10,88.55]},{ x:'04/11/2024',y:[88.10,88.30,87.70,88.00]},{ x:'04/12/2024',y:[88.00,88.75,87.90,88.10]},{ x:'04/15/2024',y:[87.15,87.30,86.70,86.80]},{ x:'04/16/2024',y:[85.90,85.90,83.90,83.90]},{ x:'04/17/2024',y:[85.15,85.60,85.00,85.60]},{ x:'04/18/2024',y:[85.00,86.05,84.85,86.05]},{ x:'04/19/2024',y:[84.50,84.50,81.00,82.10]},{ x:'04/22/2024',y:[80.80,81.50,80.45,80.95]},{ x:'04/23/2024',y:[81.35,81.75,81.25,81.70]},{ x:'04/24/2024',y:[82.80,85.00,82.80,85.00]},{ x:'04/25/2024',y:[84.45,84.45,83.75,83.85]},{ x:'04/26/2024',y:[84.85,85.55,84.85,84.85]},{ x:'04/29/2024',y:[85.10,86.15,85.10,85.90]},{ x:'04/30/2024',y:[86.65,86.65,86.15,86.15]},{ x:'05/02/2024',y:[84.65,84.65,84.15,84.15]},{ x:'05/03/2024',y:[85.65,85.65,84.40,84.90]},{ x:'05/06/2024',y:[85.95,86.20,85.80,86.05]},{ x:'05/07/2024',y:[86.40,86.70,86.40,86.70]},{ x:'05/08/2024',y:[86.30,87.10,86.30,87.10]},{ x:'05/09/2024',y:[87.45,87.45,87.00,87.00]},{ x:'05/10/2024',y:[87.00,87.00,86.50,86.80]},{ x:'05/13/2024',y:[87.85,88.20,87.75,88.00]},{ x:'05/14/2024',y:[87.80,88.20,87.50,88.20]},{ x:'05/15/2024',y:[88.80,90.20,88.80,89.75]},{ x:'05/16/2024',y:[91.40,91.40,90.30,90.30]},{ x:'05/17/2024',y:[90.05,90.20,89.65,89.75]},{ x:'05/20/2024',y:[89.50,89.60,89.15,89.30]},{ x:'05/21/2024',y:[89.85,90.00,89.50,90.00]},{ x:'05/22/2024',y:[90.05,91.55,90.05,91.50]},{ x:'05/23/2024',y:[92.55,92.65,92.45,92.50]},{ x:'05/24/2024',y:[92.35,92.70,91.95,92.70]},{ x:'06/11/2024',y:[94.40,94.50,93.80,94.15]},{ x:'06/12/2024',y:[94.80,95.85,94.45,95.85]},{ x:'06/13/2024',y:[96.00,97.90,96.00,97.45]},{ x:'06/14/2024',y:[97.45,98.60,96.95,98.60]},{ x:'06/17/2024',y:[98.60,98.60,97.80,97.80]},{ x:'06/18/2024',y:[99.50,99.75,99.00,99.60]},{ x:'06/19/2024',y:[101.20,102.80,100.60,102.80]},{ x:'06/20/2024',y:[102.85,103.20,102.25,103.20]},{ x:'06/21/2024',y:[102.15,102.60,101.90,102.00]},{ x:'06/24/2024',y:[101.55,101.55,100.05,100.35]},{ x:'06/25/2024',y:[99.00,100.00,98.30,100.00]},{ x:'06/26/2024',y:[101.40,101.50,101.00,101.50]},{ x:'06/27/2024',y:[100.45,101.15,100.10,101.15]},{ x:'06/28/2024',y:[101.25,102.05,101.20,101.85]},{ x:'07/01/2024',y:[104.90,104.90,101.75,102.10]} ] }], chart: { type: "candlestick", height: 350, toolbar: { show: !1 } }, plotOptions: { candlestick: { colors: { upward: chartCandlestickBasicColors[0], downward: chartCandlestickBasicColors[1] } } }, title: { text: "0053 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());