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:'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]},{ x:'07/01/2024',y:[100.75,101.85,100.05,100.45]},{ x:'07/02/2024',y:[99.55,100.35,98.10,98.95]},{ x:'07/03/2024',y:[101.10,101.80,100.25,101.70]},{ x:'07/04/2024',y:[104.75,105.90,104.55,105.90]},{ x:'07/05/2024',y:[106.20,106.40,105.25,105.35]},{ x:'07/12/2024',y:[108.60,109.50,107.25,107.65]},{ x:'07/15/2024',y:[108.90,109.05,107.00,107.75]},{ x:'07/16/2024',y:[108.25,110.70,108.00,108.75]},{ x:'07/17/2024',y:[108.05,108.85,106.60,107.45]},{ x:'07/18/2024',y:[102.65,104.05,101.80,103.65]},{ x:'07/19/2024',y:[101.65,101.90,99.10,99.35]},{ x:'07/22/2024',y:[98.25,98.40,93.55,94.90]},{ x:'07/23/2024',y:[97.35,99.00,97.30,99.00]},{ x:'07/26/2024',y:[91.90,93.25,91.00,92.55]},{ x:'07/29/2024',y:[95.40,95.40,92.80,93.25]},{ x:'07/30/2024',y:[91.60,94.05,90.00,93.60]},{ x:'07/31/2024',y:[92.20,94.30,91.70,93.55]},{ x:'08/01/2024',y:[97.00,97.10,95.40,96.95]},{ x:'08/02/2024',y:[91.20,92.25,88.10,88.10]},{ x:'08/05/2024',y:[78.95,78.95,71.50,71.50]},{ x:'08/06/2024',y:[78.50,80.00,71.80,77.60]},{ x:'08/07/2024',y:[79.35,84.05,78.55,83.55]},{ x:'08/08/2024',y:[80.50,82.40,78.90,80.20]},{ x:'08/09/2024',y:[84.40,85.95,83.35,84.85]},{ x:'08/12/2024',y:[86.40,88.45,86.15,86.95]} ] }], 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());