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/06/2023',y:[0.00,0.00,0.00,0.00]},{ x:'11/07/2023',y:[20.95,20.95,20.95,20.95]},{ x:'11/08/2023',y:[20.40,21.05,20.40,21.05]},{ x:'11/09/2023',y:[0.00,0.00,0.00,0.00]},{ x:'11/10/2023',y:[20.60,21.10,20.55,21.10]},{ x:'11/13/2023',y:[21.10,21.75,20.50,20.50]},{ x:'11/14/2023',y:[20.80,20.95,20.80,20.95]},{ x:'11/15/2023',y:[21.00,21.00,21.00,21.00]},{ x:'11/16/2023',y:[21.05,21.05,20.60,20.60]},{ x:'11/17/2023',y:[20.60,20.80,20.60,20.80]},{ x:'11/20/2023',y:[20.80,21.45,20.80,21.20]},{ x:'11/21/2023',y:[21.70,23.00,21.70,22.30]},{ x:'11/22/2023',y:[21.20,21.65,21.15,21.60]},{ x:'11/23/2023',y:[21.60,21.60,21.60,21.60]},{ x:'11/24/2023',y:[21.10,21.10,21.10,21.10]},{ x:'11/27/2023',y:[21.00,21.00,20.95,21.00]},{ x:'11/28/2023',y:[21.05,21.05,21.00,21.00]},{ x:'11/29/2023',y:[21.05,21.05,20.70,20.70]},{ x:'11/30/2023',y:[20.75,20.75,20.75,20.75]},{ x:'12/01/2023',y:[21.20,22.60,21.20,21.60]},{ x:'12/04/2023',y:[21.50,22.75,21.50,22.45]},{ x:'12/05/2023',y:[21.65,22.35,21.65,22.35]},{ x:'12/06/2023',y:[22.65,22.65,22.30,22.30]},{ x:'12/07/2023',y:[0.00,0.00,0.00,0.00]},{ x:'12/08/2023',y:[22.20,22.95,22.20,22.90]},{ x:'12/11/2023',y:[21.80,21.80,21.70,21.80]},{ x:'12/12/2023',y:[23.60,23.95,23.00,23.95]},{ x:'12/18/2023',y:[22.80,24.75,22.70,24.60]},{ x:'12/19/2023',y:[24.60,27.05,24.60,27.05]},{ x:'01/10/2024',y:[37.05,37.25,35.80,36.40]},{ x:'01/11/2024',y:[34.80,34.90,33.35,33.45]},{ x:'01/12/2024',y:[33.25,35.30,32.00,34.85]},{ x:'01/15/2024',y:[33.80,35.55,33.55,35.55]},{ x:'01/16/2024',y:[35.00,35.80,34.20,34.90]},{ x:'01/17/2024',y:[33.80,34.55,32.90,32.90]},{ x:'01/18/2024',y:[32.60,32.60,30.60,30.60]},{ x:'01/19/2024',y:[29.95,33.65,29.95,33.65]},{ x:'01/22/2024',y:[32.10,34.20,31.50,31.50]},{ x:'01/23/2024',y:[30.55,32.60,30.10,32.60]},{ x:'01/24/2024',y:[32.50,32.50,31.00,31.00]},{ x:'01/25/2024',y:[31.00,31.20,30.00,30.10]},{ x:'01/26/2024',y:[30.20,30.20,28.65,30.10]},{ x:'01/29/2024',y:[29.15,30.15,29.15,30.00]},{ x:'01/30/2024',y:[29.60,31.10,29.55,30.30]},{ x:'01/31/2024',y:[30.90,30.90,30.15,30.30]},{ x:'02/01/2024',y:[30.05,30.40,29.20,29.20]},{ x:'02/02/2024',y:[29.70,30.00,28.70,30.00]},{ x:'02/05/2024',y:[30.15,33.00,30.05,33.00]},{ x:'02/15/2024',y:[34.00,36.30,34.00,36.30]},{ x:'02/16/2024',y:[36.30,36.30,33.90,35.05]},{ x:'02/19/2024',y:[34.10,35.25,33.20,33.25]},{ x:'02/20/2024',y:[33.70,35.35,33.30,33.80]},{ x:'02/21/2024',y:[33.80,34.80,33.00,34.80]},{ x:'02/22/2024',y:[34.60,38.25,34.60,38.25]},{ x:'02/23/2024',y:[38.15,38.80,36.35,36.40]},{ x:'02/26/2024',y:[36.40,36.70,35.40,35.50]},{ x:'02/27/2024',y:[35.50,37.30,34.85,34.90]},{ x:'02/29/2024',y:[35.05,35.05,33.80,34.00]},{ x:'03/01/2024',y:[35.95,35.95,34.55,34.55]},{ x:'03/04/2024',y:[34.85,34.85,33.55,33.65]} ] }], chart: { type: "candlestick", height: 350, toolbar: { show: !1 } }, plotOptions: { candlestick: { colors: { upward: chartCandlestickBasicColors[0], downward: chartCandlestickBasicColors[1] } } }, title: { text: "3288 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());