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/13/2023',y:[95.95,95.95,94.30,94.30]},{ x:'01/16/2023',y:[96.00,96.15,95.40,95.40]},{ x:'01/17/2023',y:[95.40,95.85,95.35,95.45]},{ x:'01/30/2023',y:[102.40,102.40,101.50,102.05]},{ x:'01/31/2023',y:[101.80,102.00,100.30,100.30]},{ x:'02/01/2023',y:[101.30,101.50,100.55,101.40]},{ x:'02/02/2023',y:[103.20,104.25,102.80,104.15]},{ x:'02/03/2023',y:[103.40,104.50,103.40,104.15]},{ x:'02/06/2023',y:[102.10,102.25,101.45,101.45]},{ x:'02/07/2023',y:[101.40,102.15,101.35,101.70]},{ x:'02/08/2023',y:[103.35,104.40,103.15,104.30]},{ x:'02/09/2023',y:[103.55,104.20,103.50,104.20]},{ x:'02/10/2023',y:[103.85,103.85,103.45,103.70]},{ x:'02/13/2023',y:[102.90,103.10,102.75,103.10]},{ x:'02/14/2023',y:[104.45,105.15,104.45,104.85]},{ x:'02/15/2023',y:[101.65,101.70,101.45,101.55]},{ x:'02/16/2023',y:[102.65,104.05,102.65,103.70]},{ x:'02/17/2023',y:[102.50,102.65,101.70,102.05]},{ x:'02/20/2023',y:[102.60,103.55,102.60,103.20]},{ x:'02/21/2023',y:[103.30,103.40,103.30,103.40]},{ x:'02/22/2023',y:[101.00,101.55,101.00,101.50]},{ x:'02/23/2023',y:[103.05,105.05,103.05,104.80]},{ x:'02/24/2023',y:[105.25,105.25,103.70,103.70]},{ x:'03/01/2023',y:[101.40,103.55,101.25,103.50]},{ x:'03/02/2023',y:[103.00,103.95,103.00,103.60]},{ x:'03/03/2023',y:[104.80,104.85,104.30,104.30]},{ x:'03/06/2023',y:[105.80,107.35,105.50,107.05]},{ x:'03/07/2023',y:[107.30,108.10,107.30,108.10]},{ x:'03/08/2023',y:[106.75,106.80,106.50,106.80]},{ x:'03/09/2023',y:[107.40,107.40,106.40,106.50]},{ x:'03/10/2023',y:[104.10,104.15,102.30,102.75]},{ x:'03/13/2023',y:[103.10,103.30,103.10,103.30]},{ x:'03/14/2023',y:[100.70,101.35,100.45,100.60]},{ x:'03/15/2023',y:[101.90,101.90,101.35,101.35]},{ x:'03/16/2023',y:[99.90,100.35,98.90,99.00]},{ x:'03/17/2023',y:[100.90,102.30,100.90,102.30]},{ x:'03/20/2023',y:[102.10,102.25,102.10,102.25]},{ x:'03/21/2023',y:[103.10,103.20,102.60,102.60]},{ x:'03/22/2023',y:[104.85,106.30,104.85,106.15]},{ x:'03/23/2023',y:[107.65,107.85,107.55,107.60]},{ x:'03/24/2023',y:[108.05,108.85,107.75,108.85]},{ x:'03/27/2023',y:[108.15,108.20,107.30,107.85]},{ x:'03/28/2023',y:[105.60,105.65,105.50,105.55]},{ x:'03/29/2023',y:[0.00,0.00,0.00,0.00]},{ x:'03/30/2023',y:[107.70,107.95,106.95,107.45]},{ x:'03/31/2023',y:[109.10,109.30,108.15,108.15]},{ x:'04/06/2023',y:[106.75,107.05,106.20,106.90]},{ x:'04/07/2023',y:[107.70,107.90,107.30,107.65]},{ x:'04/10/2023',y:[108.60,108.60,108.00,108.20]},{ x:'04/11/2023',y:[108.80,108.80,108.80,108.80]},{ x:'04/12/2023',y:[108.50,109.00,108.50,109.00]},{ x:'04/13/2023',y:[108.40,108.40,107.35,107.35]},{ x:'04/14/2023',y:[108.25,109.70,108.15,109.45]},{ x:'04/17/2023',y:[108.65,109.00,108.65,109.00]},{ x:'04/18/2023',y:[108.60,108.65,108.45,108.45]},{ x:'04/19/2023',y:[108.75,108.80,107.30,107.30]},{ x:'04/20/2023',y:[106.75,107.10,106.05,106.45]},{ x:'04/21/2023',y:[106.15,106.20,104.95,104.95]},{ x:'04/24/2023',y:[104.95,105.45,104.95,105.25]},{ x:'04/25/2023',y:[104.50,104.50,101.80,101.80]} ] }], 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());