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/26/2024',y:[79.05,79.10,78.90,79.10]},{ x:'04/29/2024',y:[79.60,79.85,79.55,79.75]},{ x:'04/30/2024',y:[79.65,79.70,79.50,79.50]},{ x:'05/02/2024',y:[77.40,77.55,77.30,77.50]},{ x:'05/03/2024',y:[78.25,78.35,78.10,78.10]},{ x:'05/06/2024',y:[79.60,79.80,79.60,79.70]},{ x:'05/07/2024',y:[81.20,81.35,81.05,81.35]},{ x:'05/08/2024',y:[81.45,81.65,81.45,81.50]},{ x:'05/09/2024',y:[81.40,81.50,81.30,81.35]},{ x:'05/10/2024',y:[82.50,82.65,82.45,82.65]},{ x:'05/13/2024',y:[82.50,82.75,82.50,82.70]},{ x:'05/14/2024',y:[82.40,82.50,82.40,82.45]},{ x:'05/15/2024',y:[83.30,83.30,83.05,83.05]},{ x:'05/16/2024',y:[85.15,85.15,84.85,84.95]},{ x:'05/17/2024',y:[84.40,84.60,84.40,84.55]},{ x:'05/20/2024',y:[85.00,85.10,84.90,85.10]},{ x:'05/21/2024',y:[85.00,85.15,85.00,85.15]},{ x:'05/22/2024',y:[85.50,85.55,85.40,85.40]},{ x:'05/23/2024',y:[85.30,85.90,85.30,85.75]},{ x:'05/24/2024',y:[83.75,83.80,83.65,83.65]},{ x:'06/11/2024',y:[85.95,86.30,85.95,86.15]},{ x:'06/12/2024',y:[86.65,86.85,86.65,86.85]},{ x:'06/13/2024',y:[88.25,88.50,88.25,88.30]},{ x:'06/14/2024',y:[88.35,88.60,88.30,88.55]},{ x:'06/17/2024',y:[88.35,88.40,88.20,88.20]},{ x:'06/18/2024',y:[89.75,89.85,89.60,89.80]},{ x:'06/19/2024',y:[90.20,90.35,90.20,90.25]},{ x:'06/20/2024',y:[90.45,90.70,90.35,90.70]},{ x:'06/21/2024',y:[89.45,89.70,89.45,89.65]},{ x:'06/24/2024',y:[89.50,89.50,88.85,89.15]},{ x:'06/25/2024',y:[88.85,89.15,88.65,89.15]},{ x:'06/26/2024',y:[89.75,89.90,89.65,89.90]},{ x:'06/27/2024',y:[89.30,89.60,89.30,89.50]},{ x:'06/28/2024',y:[90.30,90.70,90.30,90.35]},{ x:'07/01/2024',y:[89.50,89.75,89.50,89.65]},{ x:'07/02/2024',y:[89.35,89.45,89.35,89.35]},{ x:'07/03/2024',y:[90.75,90.90,90.70,90.85]},{ x:'07/04/2024',y:[91.75,91.80,91.40,91.45]},{ x:'07/05/2024',y:[91.40,91.50,91.30,91.50]},{ x:'07/12/2024',y:[92.95,93.05,92.85,92.95]},{ x:'07/15/2024',y:[94.25,94.55,94.25,94.55]},{ x:'07/16/2024',y:[94.85,95.10,94.85,95.05]},{ x:'07/17/2024',y:[95.65,95.70,95.45,95.45]},{ x:'07/18/2024',y:[93.50,93.60,93.35,93.45]},{ x:'07/19/2024',y:[92.00,92.25,92.00,92.10]},{ x:'07/22/2024',y:[91.25,91.30,90.75,91.15]},{ x:'07/23/2024',y:[92.45,92.50,92.30,92.45]},{ x:'07/26/2024',y:[87.50,88.00,87.40,87.95]},{ x:'07/29/2024',y:[89.80,89.90,89.75,89.80]},{ x:'07/30/2024',y:[88.85,89.15,88.50,89.10]},{ x:'07/31/2024',y:[88.65,89.00,88.45,89.00]},{ x:'08/01/2024',y:[91.60,91.85,91.45,91.85]},{ x:'08/02/2024',y:[87.30,87.70,86.60,87.05]},{ x:'08/05/2024',y:[82.70,82.80,81.30,81.30]},{ x:'08/06/2024',y:[81.65,82.35,81.40,81.85]},{ x:'08/07/2024',y:[81.20,82.75,81.10,82.70]},{ x:'08/08/2024',y:[79.55,80.20,79.40,79.75]},{ x:'08/09/2024',y:[83.35,83.70,82.70,83.05]},{ x:'08/12/2024',y:[83.85,84.20,83.75,84.05]},{ x:'08/13/2024',y:[84.15,84.30,84.05,84.30]} ] }], chart: { type: "candlestick", height: 350, toolbar: { show: !1 } }, plotOptions: { candlestick: { colors: { upward: chartCandlestickBasicColors[0], downward: chartCandlestickBasicColors[1] } } }, title: { text: "00647l 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());