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/22/2024',y:[60.75,60.95,60.30,60.70]},{ x:'01/23/2024',y:[61.00,61.20,60.75,61.20]},{ x:'01/24/2024',y:[61.40,61.55,61.15,61.15]},{ x:'01/25/2024',y:[61.85,61.95,61.50,61.85]},{ x:'01/26/2024',y:[61.65,62.05,61.65,61.75]},{ x:'01/29/2024',y:[61.75,62.80,61.75,62.75]},{ x:'01/30/2024',y:[62.60,62.80,62.40,62.65]},{ x:'01/31/2024',y:[61.85,61.95,61.30,61.35]},{ x:'02/01/2024',y:[61.60,61.80,61.15,61.80]},{ x:'02/02/2024',y:[62.35,62.60,62.20,62.60]},{ x:'02/05/2024',y:[62.10,62.80,61.85,62.70]},{ x:'02/15/2024',y:[66.45,66.70,65.80,66.60]},{ x:'02/16/2024',y:[66.80,67.00,66.40,66.50]},{ x:'02/19/2024',y:[66.50,66.70,66.25,66.60]},{ x:'02/20/2024',y:[66.25,67.10,66.20,67.10]},{ x:'02/21/2024',y:[66.85,67.00,66.55,66.65]},{ x:'02/22/2024',y:[67.80,68.10,67.05,68.10]},{ x:'02/23/2024',y:[68.65,68.90,68.30,68.30]},{ x:'02/26/2024',y:[68.15,68.90,67.95,68.80]},{ x:'02/27/2024',y:[68.85,69.00,67.20,68.00]},{ x:'02/29/2024',y:[67.70,68.85,67.65,68.65]},{ x:'03/01/2024',y:[68.95,69.05,68.40,68.65]},{ x:'03/04/2024',y:[70.00,71.40,70.00,71.10]},{ x:'03/05/2024',y:[71.75,72.05,71.15,71.85]},{ x:'03/06/2024',y:[71.00,72.75,71.00,72.50]},{ x:'03/07/2024',y:[73.95,74.55,73.20,74.15]},{ x:'03/08/2024',y:[76.25,76.30,73.70,74.65]},{ x:'03/11/2024',y:[74.30,75.00,73.90,74.20]},{ x:'03/12/2024',y:[74.30,75.95,74.20,75.90]},{ x:'03/13/2024',y:[76.65,76.85,75.50,75.85]},{ x:'03/14/2024',y:[75.80,76.15,74.85,75.70]},{ x:'03/15/2024',y:[74.95,75.35,74.50,74.50]},{ x:'03/18/2024',y:[74.60,75.70,74.45,75.70]},{ x:'03/19/2024',y:[74.70,75.65,74.45,75.45]},{ x:'03/20/2024',y:[75.80,75.95,74.60,74.85]},{ x:'03/21/2024',y:[76.60,78.05,76.55,78.00]},{ x:'03/22/2024',y:[77.95,78.30,77.10,77.90]},{ x:'03/25/2024',y:[77.95,78.45,77.60,78.00]},{ x:'03/26/2024',y:[78.90,79.70,76.50,77.60]},{ x:'03/27/2024',y:[77.70,78.30,77.30,78.05]},{ x:'03/28/2024',y:[77.80,78.00,76.80,77.70]},{ x:'03/29/2024',y:[78.10,78.30,77.65,78.10]},{ x:'04/01/2024',y:[78.80,79.15,78.15,78.30]},{ x:'04/02/2024',y:[79.00,80.00,78.95,80.00]},{ x:'04/03/2024',y:[78.90,79.35,78.25,79.00]},{ x:'04/08/2024',y:[79.00,80.10,79.00,79.70]},{ x:'04/09/2024',y:[80.25,82.90,80.25,82.85]},{ x:'04/10/2024',y:[82.55,83.05,82.25,82.60]},{ x:'04/11/2024',y:[81.65,82.00,81.15,81.90]},{ x:'04/12/2024',y:[81.65,82.30,81.45,81.95]},{ x:'04/15/2024',y:[80.60,80.70,79.70,80.05]},{ x:'04/16/2024',y:[78.15,78.30,74.50,75.55]},{ x:'04/17/2024',y:[76.15,77.50,75.95,77.20]},{ x:'04/18/2024',y:[76.15,78.20,75.85,78.10]},{ x:'04/19/2024',y:[75.05,75.10,70.15,72.25]},{ x:'04/22/2024',y:[72.10,73.15,71.40,71.85]},{ x:'04/23/2024',y:[73.45,73.55,72.20,73.15]},{ x:'04/24/2024',y:[75.15,77.00,75.15,76.85]},{ 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]} ] }], 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());