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:'01/23/2024',y:[150.85,151.20,150.30,151.20]},{ x:'01/24/2024',y:[151.55,152.25,151.35,151.40]},{ x:'01/25/2024',y:[153.15,153.70,152.45,153.50]},{ x:'01/26/2024',y:[152.85,153.85,152.80,153.10]},{ x:'01/29/2024',y:[153.05,155.70,153.05,155.70]},{ x:'01/30/2024',y:[155.20,155.70,154.65,155.15]},{ x:'01/31/2024',y:[152.90,153.50,151.75,152.00]},{ x:'02/01/2024',y:[152.40,152.80,151.35,152.65]},{ x:'02/02/2024',y:[154.35,154.90,153.75,154.90]},{ x:'02/05/2024',y:[153.65,155.30,153.20,155.05]},{ x:'02/15/2024',y:[164.75,165.60,163.25,165.20]},{ x:'02/16/2024',y:[165.55,166.00,164.60,164.80]},{ x:'02/19/2024',y:[164.60,165.20,164.15,165.00]},{ x:'02/20/2024',y:[163.95,166.15,163.95,166.15]},{ x:'02/21/2024',y:[165.65,166.00,165.10,165.20]},{ x:'02/22/2024',y:[168.05,168.90,166.30,168.90]},{ x:'02/23/2024',y:[170.15,170.80,169.20,169.45]},{ x:'02/26/2024',y:[168.85,170.80,168.35,170.50]},{ x:'02/27/2024',y:[170.65,171.10,166.55,168.85]},{ x:'02/29/2024',y:[167.90,170.80,167.75,170.15]},{ x:'03/01/2024',y:[170.90,171.05,169.60,169.85]},{ x:'03/04/2024',y:[173.60,177.00,173.60,176.35]},{ x:'03/05/2024',y:[178.00,178.80,176.60,178.10]},{ x:'03/06/2024',y:[176.00,180.45,176.00,180.10]},{ x:'03/07/2024',y:[183.30,185.30,181.90,184.20]},{ x:'03/08/2024',y:[189.65,190.05,183.05,186.10]},{ x:'03/11/2024',y:[184.85,186.55,183.90,184.80]},{ x:'03/12/2024',y:[184.45,188.80,184.45,188.80]},{ x:'03/13/2024',y:[190.45,191.15,187.90,188.65]},{ x:'03/14/2024',y:[188.65,189.40,186.25,188.40]},{ x:'03/15/2024',y:[186.50,187.50,185.30,185.35]},{ x:'03/18/2024',y:[185.35,188.10,185.20,188.10]},{ x:'03/19/2024',y:[185.60,188.00,185.10,187.55]},{ x:'03/20/2024',y:[188.30,188.85,185.60,186.05]},{ x:'03/21/2024',y:[190.50,194.30,190.30,194.10]},{ x:'03/22/2024',y:[194.05,194.75,191.80,193.60]},{ x:'03/25/2024',y:[193.55,195.15,192.95,194.15]},{ x:'03/26/2024',y:[196.20,198.10,190.40,193.00]},{ x:'03/27/2024',y:[193.70,194.90,192.40,194.35]},{ x:'03/28/2024',y:[193.60,194.00,191.00,193.45]},{ x:'03/29/2024',y:[194.15,194.95,193.20,194.70]},{ x:'04/01/2024',y:[196.10,196.95,194.40,194.55]},{ x:'04/02/2024',y:[196.75,199.20,196.55,199.20]},{ x:'04/03/2024',y:[196.35,197.30,194.80,196.55]},{ x:'04/08/2024',y:[196.85,199.20,196.50,198.30]},{ x:'04/09/2024',y:[199.95,206.45,199.80,206.30]},{ x:'04/10/2024',y:[205.55,206.60,205.00,205.65]},{ x:'04/11/2024',y:[203.40,204.10,202.05,203.80]},{ x:'04/12/2024',y:[203.30,204.95,202.75,204.05]},{ x:'04/15/2024',y:[200.65,200.90,198.10,199.15]},{ x:'04/16/2024',y:[194.75,194.75,185.20,187.50]},{ x:'04/17/2024',y:[189.55,192.75,189.00,192.10]},{ x:'04/18/2024',y:[189.35,194.50,188.80,194.35]},{ x:'04/19/2024',y:[186.55,186.60,174.35,179.00]},{ x:'04/22/2024',y:[179.00,181.60,177.50,178.45]},{ x:'04/23/2024',y:[182.55,182.95,179.60,181.70]},{ x:'04/24/2024',y:[186.90,191.40,186.85,190.95]},{ x:'04/25/2024',y:[186.55,187.25,184.60,185.00]},{ x:'04/26/2024',y:[190.10,192.45,189.20,190.60]},{ x:'04/29/2024',y:[195.15,197.95,194.60,197.50]} ] }], chart: { type: "candlestick", height: 350, toolbar: { show: !1 } }, plotOptions: { candlestick: { colors: { upward: chartCandlestickBasicColors[0], downward: chartCandlestickBasicColors[1] } } }, title: { text: "00631l 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());