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:[74.70,75.65,74.45,75.45]},{ x:'03/20/2024',y:[75.80,75.95,74.60,74.85]},{ x:'03/21/2024',y:[76.60,78.05,76.55,78.00]},{ x:'03/22/2024',y:[77.95,78.30,77.10,77.90]},{ x:'03/25/2024',y:[77.95,78.45,77.60,78.00]},{ x:'03/26/2024',y:[78.90,79.70,76.50,77.60]},{ x:'03/27/2024',y:[77.70,78.30,77.30,78.05]},{ x:'03/28/2024',y:[77.80,78.00,76.80,77.70]},{ x:'03/29/2024',y:[78.10,78.30,77.65,78.10]},{ x:'04/01/2024',y:[78.80,79.15,78.15,78.30]},{ x:'04/02/2024',y:[79.00,80.00,78.95,80.00]},{ x:'04/03/2024',y:[78.90,79.35,78.25,79.00]},{ x:'04/08/2024',y:[79.00,80.10,79.00,79.70]},{ x:'04/09/2024',y:[80.25,82.90,80.25,82.85]},{ x:'04/10/2024',y:[82.55,83.05,82.25,82.60]},{ x:'04/11/2024',y:[81.65,82.00,81.15,81.90]},{ x:'04/12/2024',y:[81.65,82.30,81.45,81.95]},{ x:'04/15/2024',y:[80.60,80.70,79.70,80.05]},{ x:'04/16/2024',y:[78.15,78.30,74.50,75.55]},{ x:'04/17/2024',y:[76.15,77.50,75.95,77.20]},{ x:'04/18/2024',y:[76.15,78.20,75.85,78.10]},{ x:'04/19/2024',y:[75.05,75.10,70.15,72.25]},{ x:'04/22/2024',y:[72.10,73.15,71.40,71.85]},{ x:'04/23/2024',y:[73.45,73.55,72.20,73.15]},{ x:'04/24/2024',y:[75.15,77.00,75.15,76.85]},{ x:'04/25/2024',y:[75.15,75.35,74.35,74.60]},{ x:'04/26/2024',y:[76.45,77.45,76.10,76.70]},{ x:'04/29/2024',y:[78.55,79.60,78.35,79.45]},{ x:'04/30/2024',y:[79.50,79.75,78.95,78.95]},{ x:'05/02/2024',y:[77.70,78.30,77.35,77.75]},{ x:'05/03/2024',y:[79.55,79.75,77.75,78.15]},{ x:'05/06/2024',y:[80.05,80.75,79.65,79.95]},{ x:'05/07/2024',y:[81.00,81.05,79.50,80.35]},{ x:'05/08/2024',y:[80.20,80.95,79.80,80.90]},{ x:'05/09/2024',y:[80.70,81.20,80.20,80.20]},{ x:'05/10/2024',y:[80.95,81.70,80.10,81.45]},{ x:'05/13/2024',y:[82.75,82.80,81.80,82.10]},{ x:'05/14/2024',y:[82.30,83.20,82.10,83.15]},{ x:'05/15/2024',y:[84.40,86.00,84.30,84.75]},{ x:'05/16/2024',y:[87.00,87.55,85.70,85.90]},{ x:'05/17/2024',y:[85.90,86.30,85.35,85.70]},{ x:'05/20/2024',y:[86.20,86.20,84.35,85.60]},{ x:'05/21/2024',y:[85.35,85.75,84.40,85.35]},{ x:'05/22/2024',y:[86.05,87.95,85.95,87.75]},{ x:'05/23/2024',y:[87.85,88.35,86.95,87.90]},{ x:'05/24/2024',y:[86.75,88.10,86.65,87.80]},{ x:'06/11/2024',y:[90.00,90.70,89.35,89.50]},{ x:'06/12/2024',y:[89.85,91.55,89.60,91.45]},{ x:'06/13/2024',y:[93.60,95.00,92.80,93.70]},{ x:'06/14/2024',y:[93.70,95.00,93.30,95.00]},{ x:'06/17/2024',y:[94.85,95.70,94.55,95.00]},{ x:'06/18/2024',y:[97.00,97.80,96.70,97.75]},{ x:'06/19/2024',y:[99.60,102.00,99.55,101.60]},{ x:'06/20/2024',y:[101.65,103.60,101.60,103.60]},{ x:'06/21/2024',y:[101.60,103.00,101.30,102.50]},{ x:'06/24/2024',y:[100.45,100.55,98.10,98.25]},{ x:'06/25/2024',y:[97.30,98.70,95.50,98.50]},{ x:'06/26/2024',y:[99.40,100.45,98.30,99.40]},{ x:'06/27/2024',y:[97.50,99.00,97.30,98.80]},{ x:'06/28/2024',y:[99.15,101.45,98.75,100.40]} ] }], chart: { type: "candlestick", height: 350, toolbar: { show: !1 } }, plotOptions: { candlestick: { colors: { upward: chartCandlestickBasicColors[0], downward: chartCandlestickBasicColors[1] } } }, title: { text: "00675l 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());