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:'10/25/2023',y:[63.10,67.00,61.50,66.30]},{ x:'10/26/2023',y:[65.00,67.50,64.40,66.70]},{ x:'10/27/2023',y:[68.00,68.00,61.80,64.90]},{ x:'10/31/2023',y:[63.10,67.30,63.10,66.60]},{ x:'11/01/2023',y:[66.60,66.70,65.10,66.60]},{ x:'11/02/2023',y:[65.80,71.50,65.80,69.70]},{ x:'11/03/2023',y:[69.30,70.00,67.30,69.30]},{ x:'11/06/2023',y:[69.20,69.50,68.20,68.40]},{ x:'11/07/2023',y:[68.40,68.40,67.30,68.30]},{ x:'11/08/2023',y:[67.90,68.00,62.50,63.90]},{ x:'11/09/2023',y:[64.00,64.00,57.60,60.50]},{ x:'11/10/2023',y:[59.50,59.50,56.50,56.90]},{ x:'11/13/2023',y:[55.60,62.50,55.60,62.50]},{ x:'11/14/2023',y:[59.00,59.00,56.30,56.30]},{ x:'11/15/2023',y:[55.50,55.50,50.70,51.30]},{ x:'11/16/2023',y:[50.90,51.80,49.85,51.40]},{ x:'11/17/2023',y:[51.70,52.00,50.50,50.60]},{ x:'11/20/2023',y:[50.80,51.20,50.20,50.50]},{ x:'11/21/2023',y:[50.50,50.90,50.00,50.00]},{ x:'11/22/2023',y:[50.10,50.50,49.40,49.95]},{ x:'11/23/2023',y:[50.10,50.30,47.10,47.35]},{ x:'11/24/2023',y:[48.00,48.10,47.40,47.65]},{ x:'11/27/2023',y:[48.75,48.75,47.50,47.70]},{ x:'11/28/2023',y:[47.85,48.50,47.70,48.35]},{ x:'11/29/2023',y:[48.70,53.10,48.70,53.10]},{ x:'11/30/2023',y:[53.20,53.20,50.80,52.10]},{ x:'12/01/2023',y:[52.30,52.30,50.50,51.70]},{ x:'12/04/2023',y:[51.50,52.10,50.30,50.70]},{ x:'12/05/2023',y:[50.00,51.30,49.50,49.95]},{ x:'12/06/2023',y:[50.00,50.50,49.65,49.80]},{ x:'12/07/2023',y:[50.20,50.40,48.45,49.25]},{ x:'12/08/2023',y:[49.25,49.40,48.15,48.75]},{ x:'12/11/2023',y:[49.00,51.40,49.00,51.20]},{ x:'12/12/2023',y:[53.10,53.20,49.90,51.20]},{ x:'12/18/2023',y:[51.90,51.90,50.10,50.80]},{ x:'12/19/2023',y:[51.00,51.70,50.60,51.30]},{ x:'01/10/2024',y:[47.50,49.75,47.20,48.45]},{ x:'01/11/2024',y:[47.15,48.45,47.15,47.45]},{ x:'01/12/2024',y:[47.55,48.35,46.65,46.65]},{ x:'01/15/2024',y:[46.25,47.20,46.10,46.45]},{ x:'01/16/2024',y:[46.45,46.60,44.15,44.45]},{ x:'01/17/2024',y:[44.45,44.70,43.10,43.50]},{ x:'01/18/2024',y:[44.45,44.45,41.20,41.35]},{ x:'01/19/2024',y:[42.00,42.95,41.90,42.40]},{ x:'01/22/2024',y:[43.00,43.30,42.50,42.90]},{ x:'01/23/2024',y:[43.00,44.40,43.00,44.40]},{ x:'01/24/2024',y:[44.95,44.95,43.40,43.40]},{ x:'01/25/2024',y:[44.50,44.50,43.00,43.00]},{ x:'01/26/2024',y:[42.65,43.00,41.85,41.95]},{ x:'01/29/2024',y:[42.00,43.50,41.40,43.30]},{ x:'01/30/2024',y:[43.50,43.60,42.50,42.85]},{ x:'01/31/2024',y:[42.80,42.95,41.90,41.95]},{ x:'02/01/2024',y:[41.95,42.25,41.85,41.85]},{ x:'02/02/2024',y:[42.00,42.35,41.50,41.70]},{ x:'02/05/2024',y:[41.80,42.75,40.90,41.45]},{ x:'02/15/2024',y:[41.30,42.35,41.30,42.35]},{ x:'02/16/2024',y:[45.60,46.55,44.00,46.55]},{ x:'02/19/2024',y:[46.70,49.00,46.10,47.50]},{ x:'02/20/2024',y:[47.70,48.65,46.05,47.85]},{ x:'02/21/2024',y:[47.85,48.90,47.15,48.25]} ] }], chart: { type: "candlestick", height: 350, toolbar: { show: !1 } }, plotOptions: { candlestick: { colors: { upward: chartCandlestickBasicColors[0], downward: chartCandlestickBasicColors[1] } } }, title: { text: "6419 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());