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/24/2024',y:[66.95,68.60,66.95,68.40]},{ x:'04/25/2024',y:[66.80,67.05,66.10,66.35]},{ x:'04/26/2024',y:[68.10,68.95,67.95,68.25]},{ x:'04/29/2024',y:[69.90,70.90,69.80,70.80]},{ x:'04/30/2024',y:[70.80,71.00,70.40,70.40]},{ x:'05/02/2024',y:[69.35,69.65,68.90,69.25]},{ x:'05/03/2024',y:[70.80,71.00,69.25,69.60]},{ x:'05/06/2024',y:[71.45,71.95,71.00,71.25]},{ x:'05/07/2024',y:[72.10,72.15,70.85,71.65]},{ x:'05/08/2024',y:[71.45,72.15,71.25,72.15]},{ x:'05/09/2024',y:[71.80,72.30,71.40,71.40]},{ x:'05/10/2024',y:[72.15,72.75,71.65,72.55]},{ x:'05/13/2024',y:[73.65,73.70,72.90,73.20]},{ x:'05/14/2024',y:[73.50,74.15,73.20,74.15]},{ x:'05/15/2024',y:[75.15,76.70,75.10,75.45]},{ x:'05/16/2024',y:[77.35,77.80,76.35,76.50]},{ x:'05/17/2024',y:[76.60,76.85,76.10,76.30]},{ x:'05/20/2024',y:[76.80,76.80,75.10,76.25]},{ x:'05/21/2024',y:[76.00,76.30,75.20,76.10]},{ x:'05/22/2024',y:[76.65,78.30,76.60,78.15]},{ x:'05/23/2024',y:[78.25,78.60,77.60,78.40]},{ x:'05/24/2024',y:[77.20,78.30,77.20,78.20]},{ x:'06/11/2024',y:[80.10,80.80,79.55,79.55]},{ x:'06/12/2024',y:[79.85,81.50,79.85,81.40]},{ x:'06/13/2024',y:[83.40,84.50,82.70,83.60]},{ x:'06/14/2024',y:[83.40,84.70,83.10,84.65]},{ x:'06/17/2024',y:[84.55,85.20,84.30,84.60]},{ x:'06/18/2024',y:[86.20,87.15,86.05,87.05]},{ x:'06/19/2024',y:[88.65,90.80,88.60,90.40]},{ x:'06/20/2024',y:[90.40,92.30,90.40,92.30]},{ x:'06/21/2024',y:[90.65,91.75,90.15,91.15]},{ x:'06/24/2024',y:[89.50,89.50,87.20,87.40]},{ x:'06/25/2024',y:[86.65,87.75,85.00,87.65]},{ x:'06/26/2024',y:[88.55,89.50,87.60,88.50]},{ x:'06/27/2024',y:[86.90,88.10,86.65,88.10]},{ x:'06/28/2024',y:[88.30,90.30,88.00,89.40]},{ x:'07/01/2024',y:[89.85,90.70,89.10,89.45]},{ x:'07/02/2024',y:[88.65,89.35,87.35,88.15]},{ x:'07/03/2024',y:[90.10,90.75,89.40,90.75]},{ x:'07/04/2024',y:[93.15,94.30,93.15,94.30]},{ x:'07/05/2024',y:[94.50,94.70,93.65,93.75]},{ x:'07/12/2024',y:[96.75,97.50,95.60,95.90]},{ x:'07/15/2024',y:[96.95,97.15,95.25,96.00]},{ x:'07/16/2024',y:[96.50,98.60,96.20,96.90]},{ x:'07/17/2024',y:[96.25,96.85,94.85,95.40]},{ x:'07/18/2024',y:[91.25,92.60,90.60,92.35]},{ x:'07/19/2024',y:[90.60,90.70,88.20,88.45]},{ x:'07/22/2024',y:[87.65,87.65,83.00,84.35]},{ x:'07/23/2024',y:[86.50,88.15,86.50,88.15]},{ x:'07/26/2024',y:[81.15,82.70,81.00,82.40]},{ x:'07/29/2024',y:[84.90,84.95,82.60,83.05]},{ x:'07/30/2024',y:[81.60,83.65,80.10,83.40]},{ x:'07/31/2024',y:[82.15,84.00,81.65,83.30]},{ x:'08/01/2024',y:[86.40,86.50,84.90,86.15]},{ x:'08/02/2024',y:[81.10,82.00,78.50,78.50]},{ x:'08/05/2024',y:[69.35,69.50,63.30,63.35]},{ x:'08/06/2024',y:[69.95,71.30,63.70,69.10]},{ x:'08/07/2024',y:[70.60,74.95,70.05,74.45]},{ x:'08/08/2024',y:[71.80,73.40,70.25,71.40]},{ x:'08/09/2024',y:[75.05,76.80,74.40,75.65]} ] }], chart: { type: "candlestick", height: 350, toolbar: { show: !1 } }, plotOptions: { candlestick: { colors: { upward: chartCandlestickBasicColors[0], downward: chartCandlestickBasicColors[1] } } }, title: { text: "00685l 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());