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/16/2024',y:[132.95,133.05,131.85,133.00]},{ x:'01/17/2024',y:[131.30,132.10,130.00,130.00]},{ x:'01/18/2024',y:[130.55,130.60,130.25,130.60]},{ x:'01/19/2024',y:[134.85,136.75,134.40,136.75]},{ x:'01/22/2024',y:[138.65,139.00,138.40,138.55]},{ x:'01/23/2024',y:[139.70,139.70,139.55,139.55]},{ x:'01/24/2024',y:[140.35,140.75,140.35,140.60]},{ x:'01/25/2024',y:[141.50,141.80,140.85,141.70]},{ x:'01/26/2024',y:[141.50,142.00,141.50,142.00]},{ x:'01/29/2024',y:[142.50,143.30,142.50,143.30]},{ x:'01/30/2024',y:[143.00,143.00,143.00,143.00]},{ x:'01/31/2024',y:[141.00,141.00,140.40,140.40]},{ x:'02/01/2024',y:[140.40,140.70,140.40,140.70]},{ x:'02/02/2024',y:[143.00,143.00,143.00,143.00]},{ x:'02/05/2024',y:[142.40,143.00,142.40,143.00]},{ x:'02/15/2024',y:[151.95,152.40,151.80,152.40]},{ x:'02/16/2024',y:[152.65,152.95,152.65,152.95]},{ x:'02/19/2024',y:[0.00,0.00,0.00,0.00]},{ x:'02/20/2024',y:[152.40,153.70,152.40,153.70]},{ x:'02/21/2024',y:[0.00,0.00,0.00,0.00]},{ x:'02/22/2024',y:[154.90,155.85,154.90,155.85]},{ x:'02/23/2024',y:[156.50,156.50,156.50,156.50]},{ x:'02/26/2024',y:[156.70,157.70,156.70,157.70]},{ x:'02/27/2024',y:[157.90,157.90,157.50,157.50]},{ x:'02/29/2024',y:[155.85,157.30,155.45,157.30]},{ x:'03/01/2024',y:[157.85,157.85,157.00,157.10]},{ x:'03/04/2024',y:[161.65,163.15,161.65,162.70]},{ x:'03/05/2024',y:[164.45,164.45,164.45,164.45]},{ x:'03/06/2024',y:[163.00,165.10,163.00,165.10]},{ x:'03/07/2024',y:[168.95,170.70,168.70,169.65]},{ x:'03/08/2024',y:[174.60,174.60,169.10,169.10]},{ x:'03/11/2024',y:[170.10,171.30,169.60,169.80]},{ x:'03/12/2024',y:[171.05,173.40,171.05,173.40]},{ x:'03/13/2024',y:[175.30,175.30,173.00,173.75]},{ x:'03/14/2024',y:[173.90,173.90,173.00,173.50]},{ x:'03/15/2024',y:[171.50,171.60,170.35,170.35]},{ x:'03/18/2024',y:[170.50,172.80,170.50,172.80]},{ x:'03/19/2024',y:[170.65,172.55,170.45,172.55]},{ x:'03/20/2024',y:[173.50,173.50,172.00,172.00]},{ x:'03/21/2024',y:[176.05,178.50,176.05,178.35]},{ x:'03/22/2024',y:[178.50,178.55,178.20,178.20]},{ x:'03/25/2024',y:[0.00,0.00,0.00,0.00]},{ x:'03/26/2024',y:[181.00,181.45,177.90,177.90]},{ x:'03/27/2024',y:[178.20,179.20,178.20,178.75]},{ x:'03/28/2024',y:[176.70,178.30,176.05,178.05]},{ x:'03/29/2024',y:[179.35,179.35,178.90,178.90]},{ x:'04/01/2024',y:[179.95,179.95,179.15,179.50]},{ x:'04/02/2024',y:[181.25,183.10,181.25,183.10]},{ x:'04/03/2024',y:[181.10,181.20,180.45,180.45]},{ x:'04/08/2024',y:[182.50,182.60,182.40,182.60]},{ x:'04/09/2024',y:[184.20,189.85,184.20,189.85]},{ x:'04/10/2024',y:[189.50,189.60,189.20,189.20]},{ x:'04/11/2024',y:[187.05,187.05,186.10,186.15]},{ x:'04/12/2024',y:[187.70,187.70,187.70,187.70]},{ x:'04/15/2024',y:[184.40,184.40,182.55,183.40]},{ x:'04/16/2024',y:[178.90,178.90,170.55,172.80]},{ x:'04/17/2024',y:[174.45,177.45,174.45,176.80]},{ x:'04/18/2024',y:[174.65,178.85,174.65,178.85]},{ x:'04/19/2024',y:[169.75,169.75,160.65,165.40]},{ x:'04/22/2024',y:[165.20,167.45,164.35,165.05]} ] }], chart: { type: "candlestick", height: 350, toolbar: { show: !1 } }, plotOptions: { candlestick: { colors: { upward: chartCandlestickBasicColors[0], downward: chartCandlestickBasicColors[1] } } }, title: { text: "00663l 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());