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/27/2023',y:[262.50,264.50,250.00,251.00]},{ x:'10/31/2023',y:[246.00,248.00,222.00,224.00]},{ x:'11/01/2023',y:[226.00,226.50,215.00,224.00]},{ x:'11/02/2023',y:[227.50,234.00,221.00,224.50]},{ x:'11/03/2023',y:[228.00,234.00,225.00,225.00]},{ x:'11/06/2023',y:[228.00,247.00,228.00,241.00]},{ x:'11/07/2023',y:[242.00,256.50,237.00,242.00]},{ x:'11/08/2023',y:[245.00,246.50,238.00,242.00]},{ x:'11/09/2023',y:[247.50,250.00,234.00,234.50]},{ x:'11/10/2023',y:[232.50,239.00,230.50,237.50]},{ x:'11/13/2023',y:[241.00,249.00,236.50,247.50]},{ x:'11/14/2023',y:[247.50,258.50,247.00,258.50]},{ x:'11/15/2023',y:[266.00,283.50,263.50,275.50]},{ x:'11/16/2023',y:[279.00,283.00,268.00,280.00]},{ x:'11/17/2023',y:[280.00,286.00,272.50,273.00]},{ x:'11/20/2023',y:[275.50,277.50,262.50,263.50]},{ x:'11/21/2023',y:[265.00,268.50,260.50,262.00]},{ x:'11/22/2023',y:[262.00,264.00,255.00,256.00]},{ x:'11/23/2023',y:[258.50,260.50,250.00,252.50]},{ x:'11/24/2023',y:[258.50,277.50,253.50,275.00]},{ x:'11/27/2023',y:[276.00,283.00,263.50,266.50]},{ x:'11/28/2023',y:[266.00,275.50,264.00,275.50]},{ x:'11/29/2023',y:[275.50,277.00,269.50,274.50]},{ x:'11/30/2023',y:[277.50,283.00,273.00,280.00]},{ x:'12/01/2023',y:[282.50,300.00,281.00,285.00]},{ x:'12/04/2023',y:[285.50,313.00,283.00,309.50]},{ x:'12/05/2023',y:[308.00,340.00,307.00,340.00]},{ x:'12/06/2023',y:[344.00,351.00,332.00,345.00]},{ x:'12/07/2023',y:[341.50,376.00,341.50,360.50]},{ x:'12/08/2023',y:[363.00,372.50,355.50,367.00]},{ x:'12/11/2023',y:[365.00,371.50,330.50,339.00]},{ x:'12/12/2023',y:[341.00,357.00,340.50,356.00]},{ x:'12/18/2023',y:[346.00,355.00,337.50,340.00]},{ x:'12/19/2023',y:[343.00,346.00,325.00,332.50]},{ x:'01/10/2024',y:[358.50,369.00,351.00,367.00]},{ x:'01/11/2024',y:[368.50,373.00,348.50,352.50]},{ x:'01/12/2024',y:[351.50,372.50,351.50,370.00]},{ x:'01/15/2024',y:[381.00,397.50,372.00,376.50]},{ x:'01/16/2024',y:[374.00,379.00,364.00,371.00]},{ x:'01/17/2024',y:[373.00,377.50,363.50,367.00]},{ x:'01/18/2024',y:[371.00,376.00,360.00,360.00]},{ x:'01/19/2024',y:[364.50,367.00,352.00,354.50]},{ x:'01/22/2024',y:[357.00,371.50,352.50,371.00]},{ x:'01/23/2024',y:[372.00,393.00,372.00,385.00]},{ x:'01/24/2024',y:[389.00,396.50,383.00,392.00]},{ x:'01/25/2024',y:[392.00,393.00,380.00,380.50]},{ x:'01/26/2024',y:[382.00,385.50,373.00,380.50]},{ x:'01/29/2024',y:[381.00,396.00,380.00,395.50]},{ x:'01/30/2024',y:[396.00,420.00,391.50,420.00]},{ x:'01/31/2024',y:[421.00,459.00,417.00,444.00]},{ x:'02/01/2024',y:[445.00,488.00,441.50,488.00]},{ x:'02/02/2024',y:[520.00,520.00,484.00,488.50]},{ x:'02/05/2024',y:[493.50,507.00,487.00,492.00]},{ x:'02/15/2024',y:[498.00,519.00,496.00,496.00]},{ x:'02/16/2024',y:[503.00,517.00,484.00,503.00]},{ x:'02/19/2024',y:[508.00,530.00,500.00,502.00]},{ x:'02/20/2024',y:[507.00,513.00,487.00,502.00]},{ x:'02/21/2024',y:[508.00,525.00,506.00,507.00]},{ x:'02/22/2024',y:[515.00,526.00,505.00,517.00]},{ x:'02/23/2024',y:[528.00,568.00,515.00,560.00]} ] }], chart: { type: "candlestick", height: 350, toolbar: { show: !1 } }, plotOptions: { candlestick: { colors: { upward: chartCandlestickBasicColors[0], downward: chartCandlestickBasicColors[1] } } }, title: { text: "1519 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());