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:[68.30,68.30,65.70,66.60]},{ x:'01/23/2024',y:[65.80,66.00,63.80,63.80]},{ x:'01/24/2024',y:[63.80,67.30,62.70,63.00]},{ x:'01/25/2024',y:[63.30,64.50,63.10,64.30]},{ x:'01/26/2024',y:[64.00,64.00,63.50,64.00]},{ x:'01/29/2024',y:[65.50,69.80,65.50,66.30]},{ x:'01/30/2024',y:[65.60,65.60,63.30,63.70]},{ x:'01/31/2024',y:[64.00,68.00,64.00,66.20]},{ x:'02/01/2024',y:[66.90,68.80,65.40,66.30]},{ x:'02/02/2024',y:[65.80,69.90,65.70,69.90]},{ x:'02/05/2024',y:[69.90,76.80,69.90,76.80]},{ x:'02/15/2024',y:[77.00,79.90,73.50,78.50]},{ x:'02/16/2024',y:[80.00,86.30,78.50,86.30]},{ x:'02/19/2024',y:[89.00,91.50,88.50,89.00]},{ x:'02/20/2024',y:[89.80,89.80,84.00,85.00]},{ x:'02/21/2024',y:[86.00,93.50,83.00,93.50]},{ x:'02/22/2024',y:[93.50,102.00,91.00,99.10]},{ x:'02/23/2024',y:[103.50,104.00,93.00,93.20]},{ x:'02/26/2024',y:[91.40,98.50,91.40,93.60]},{ x:'02/27/2024',y:[95.40,95.40,86.40,88.20]},{ x:'02/29/2024',y:[89.40,89.50,88.00,88.00]},{ x:'03/01/2024',y:[89.60,89.60,84.80,85.50]},{ x:'03/04/2024',y:[87.40,94.00,86.20,94.00]},{ x:'03/05/2024',y:[98.00,103.00,98.00,103.00]},{ x:'03/06/2024',y:[109.50,113.00,109.00,113.00]},{ x:'03/07/2024',y:[123.50,124.00,112.50,112.50]},{ x:'03/08/2024',y:[114.00,120.00,103.00,106.00]},{ x:'03/11/2024',y:[107.00,116.50,106.00,116.50]},{ x:'03/12/2024',y:[121.00,124.50,112.50,116.00]},{ x:'03/13/2024',y:[116.00,116.00,104.50,106.00]},{ x:'03/14/2024',y:[106.50,106.50,98.90,101.00]},{ x:'03/15/2024',y:[100.50,104.50,91.00,91.30]},{ x:'03/18/2024',y:[92.00,100.00,90.50,100.00]},{ x:'03/19/2024',y:[102.00,110.00,102.00,110.00]},{ x:'03/20/2024',y:[115.00,117.00,105.00,106.00]},{ x:'03/21/2024',y:[107.00,113.00,104.00,111.50]},{ x:'03/22/2024',y:[112.00,112.00,102.50,108.00]},{ x:'03/25/2024',y:[108.00,110.00,105.00,108.50]},{ x:'03/26/2024',y:[107.00,108.50,101.50,104.00]},{ x:'03/27/2024',y:[107.00,110.00,105.00,106.50]},{ x:'03/28/2024',y:[107.00,110.50,106.00,107.00]},{ x:'03/29/2024',y:[108.50,112.00,107.00,107.00]},{ x:'04/01/2024',y:[108.50,114.00,106.50,108.50]},{ x:'04/02/2024',y:[110.00,112.00,108.00,110.00]},{ x:'04/03/2024',y:[109.50,109.50,104.00,104.50]},{ x:'04/08/2024',y:[105.50,106.50,104.00,106.00]},{ x:'04/09/2024',y:[113.00,116.00,106.00,106.50]},{ x:'04/10/2024',y:[106.00,107.50,103.00,103.00]},{ x:'04/11/2024',y:[101.50,104.50,100.00,101.50]},{ x:'04/12/2024',y:[101.00,103.00,98.90,99.80]},{ x:'04/15/2024',y:[98.90,99.00,93.10,93.80]},{ x:'04/16/2024',y:[95.00,97.90,91.00,94.40]},{ x:'04/17/2024',y:[96.80,99.00,95.00,95.80]},{ x:'04/18/2024',y:[95.00,95.10,92.80,93.20]},{ x:'04/19/2024',y:[90.40,92.40,88.00,88.90]},{ x:'04/22/2024',y:[89.90,89.90,85.50,85.50]},{ x:'04/23/2024',y:[88.00,89.10,86.30,87.60]},{ x:'04/24/2024',y:[90.20,93.90,89.20,92.30]},{ x:'04/25/2024',y:[92.30,92.30,88.80,88.80]},{ x:'04/26/2024',y:[90.00,91.90,87.50,88.00]} ] }], chart: { type: "candlestick", height: 350, toolbar: { show: !1 } }, plotOptions: { candlestick: { colors: { upward: chartCandlestickBasicColors[0], downward: chartCandlestickBasicColors[1] } } }, title: { text: "6735 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());