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:'11/24/2022',y:[92.05,93.10,91.70,93.05]},{ x:'11/25/2022',y:[93.05,93.35,92.40,92.55]},{ x:'11/28/2022',y:[89.50,90.65,88.95,90.10]},{ x:'11/29/2022',y:[89.55,91.85,89.20,91.65]},{ x:'11/30/2022',y:[91.70,93.60,91.70,93.60]},{ x:'12/01/2022',y:[96.60,97.05,95.10,95.70]},{ x:'12/02/2022',y:[94.15,94.85,94.10,94.75]},{ x:'12/05/2022',y:[95.65,96.45,95.20,95.20]},{ x:'12/06/2022',y:[94.20,94.30,92.05,92.05]},{ x:'12/07/2022',y:[91.40,93.00,90.90,91.15]},{ x:'12/08/2022',y:[90.00,90.05,89.30,89.55]},{ x:'12/09/2022',y:[91.00,92.20,91.00,92.00]},{ x:'12/12/2022',y:[90.75,90.75,89.50,90.45]},{ x:'12/13/2022',y:[91.10,91.10,89.75,89.85]},{ x:'12/14/2022',y:[90.85,92.30,90.85,92.25]},{ x:'12/15/2022',y:[91.70,92.40,91.20,92.15]},{ x:'12/16/2022',y:[88.65,89.70,88.50,89.20]},{ x:'12/19/2022',y:[88.10,88.85,88.10,88.40]},{ x:'12/20/2022',y:[88.15,88.50,85.15,85.40]},{ x:'12/21/2022',y:[86.55,86.55,85.80,85.85]},{ x:'12/22/2022',y:[87.95,88.65,87.95,88.55]},{ x:'12/23/2022',y:[85.80,86.35,85.75,86.30]},{ x:'12/26/2022',y:[86.50,86.90,86.50,86.80]},{ x:'12/27/2022',y:[88.50,88.60,87.55,87.55]},{ x:'12/28/2022',y:[85.75,85.85,84.75,85.15]},{ x:'12/29/2022',y:[83.75,84.45,83.25,84.45]},{ x:'12/30/2022',y:[86.25,86.25,85.70,85.70]},{ x:'01/03/2023',y:[85.35,86.70,85.35,86.55]},{ x:'01/04/2023',y:[86.45,86.70,86.35,86.60]},{ x:'01/05/2023',y:[87.95,88.35,86.85,87.05]},{ x:'01/06/2023',y:[87.60,88.50,87.60,88.30]},{ x:'01/09/2023',y:[91.05,92.95,90.95,92.95]},{ x:'01/10/2023',y:[93.45,93.90,92.90,93.75]},{ x:'01/11/2023',y:[94.50,94.50,93.35,93.45]},{ x:'01/12/2023',y:[94.05,94.05,92.95,93.10]},{ 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]} ] }], 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());