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/10/2023',y:[0.00,0.00,0.00,0.00]},{ x:'11/13/2023',y:[0.00,0.00,0.00,0.00]},{ x:'11/14/2023',y:[0.00,0.00,0.00,0.00]},{ x:'11/15/2023',y:[0.00,0.00,0.00,0.00]},{ x:'11/16/2023',y:[0.81,0.81,0.81,0.81]},{ x:'11/17/2023',y:[0.81,0.84,0.81,0.84]},{ x:'11/20/2023',y:[0.84,0.87,0.84,0.87]},{ x:'11/21/2023',y:[0.86,0.89,0.86,0.89]},{ x:'11/22/2023',y:[0.88,0.88,0.85,0.86]},{ x:'11/23/2023',y:[1.08,1.08,0.98,0.98]},{ x:'11/24/2023',y:[1.03,1.03,1.03,1.03]},{ x:'11/27/2023',y:[1.05,1.05,1.03,1.03]},{ x:'11/28/2023',y:[0.91,0.92,0.91,0.92]},{ x:'11/29/2023',y:[0.00,0.00,0.00,0.00]},{ x:'11/30/2023',y:[1.02,1.02,1.02,1.02]},{ x:'12/01/2023',y:[1.01,1.06,1.01,1.05]},{ x:'12/04/2023',y:[1.01,1.03,1.01,1.03]},{ x:'12/05/2023',y:[0.96,0.96,0.96,0.96]},{ x:'12/06/2023',y:[0.00,0.00,0.00,0.00]},{ x:'12/07/2023',y:[0.00,0.00,0.00,0.00]},{ x:'12/08/2023',y:[0.94,0.94,0.94,0.94]},{ x:'12/11/2023',y:[0.77,0.77,0.71,0.71]},{ x:'12/12/2023',y:[0.00,0.00,0.00,0.00]},{ x:'12/18/2023',y:[0.00,0.00,0.00,0.00]},{ x:'12/19/2023',y:[0.67,0.67,0.66,0.66]},{ x:'01/10/2024',y:[0.00,0.00,0.00,0.00]},{ x:'01/11/2024',y:[0.00,0.00,0.00,0.00]},{ x:'01/12/2024',y:[0.00,0.00,0.00,0.00]},{ x:'01/15/2024',y:[0.00,0.00,0.00,0.00]},{ x:'01/16/2024',y:[0.00,0.00,0.00,0.00]},{ x:'01/17/2024',y:[0.00,0.00,0.00,0.00]} ] }], chart: { type: "candlestick", height: 350, toolbar: { show: !1 } }, plotOptions: { candlestick: { colors: { upward: chartCandlestickBasicColors[0], downward: chartCandlestickBasicColors[1] } } }, title: { text: "709972 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());