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/18/2022',y:[284.00,285.50,269.00,270.50]},{ x:'11/21/2022',y:[270.50,272.50,259.50,260.00]},{ x:'11/22/2022',y:[262.00,267.00,259.50,262.00]},{ x:'11/23/2022',y:[264.50,264.50,257.50,259.00]},{ x:'11/24/2022',y:[261.50,270.50,261.50,270.00]},{ x:'11/25/2022',y:[272.50,280.50,270.00,270.50]},{ x:'11/28/2022',y:[268.00,279.00,266.50,277.50]},{ x:'11/29/2022',y:[277.50,282.50,271.50,276.00]},{ x:'11/30/2022',y:[276.00,282.50,274.50,278.50]},{ x:'12/01/2022',y:[290.00,306.00,288.00,306.00]},{ x:'12/02/2022',y:[311.50,316.00,302.00,307.00]},{ x:'12/05/2022',y:[311.00,331.00,309.50,311.00]},{ x:'12/06/2022',y:[308.00,311.00,291.00,291.50]},{ x:'12/07/2022',y:[292.00,296.00,282.50,284.00]},{ x:'12/08/2022',y:[280.50,282.00,275.00,279.00]},{ x:'12/09/2022',y:[285.00,285.50,270.00,271.00]},{ x:'12/12/2022',y:[268.00,273.50,265.00,273.50]},{ x:'12/13/2022',y:[276.50,280.00,268.50,271.00]},{ x:'12/14/2022',y:[271.00,279.00,271.00,278.50]},{ x:'12/15/2022',y:[279.00,282.00,273.00,274.00]},{ x:'12/16/2022',y:[265.00,267.50,261.00,264.50]},{ x:'12/19/2022',y:[266.00,266.00,261.50,262.50]},{ x:'12/20/2022',y:[264.50,269.50,253.50,255.00]},{ x:'12/21/2022',y:[259.50,260.00,255.50,256.50]},{ x:'12/22/2022',y:[263.00,266.50,257.50,258.50]},{ x:'12/23/2022',y:[258.00,258.00,250.50,256.00]},{ x:'12/26/2022',y:[259.00,259.00,252.00,252.00]},{ x:'12/27/2022',y:[254.00,257.00,251.00,251.50]},{ x:'12/28/2022',y:[246.00,247.50,236.00,238.00]},{ x:'12/29/2022',y:[235.00,240.50,232.50,239.50]},{ x:'12/30/2022',y:[245.00,245.00,237.00,237.00]},{ x:'01/03/2023',y:[236.50,243.00,236.00,241.00]},{ x:'01/04/2023',y:[240.50,245.50,240.00,243.00]},{ x:'01/05/2023',y:[246.00,263.50,245.50,252.50]},{ x:'01/06/2023',y:[255.00,266.00,252.50,262.50]},{ x:'01/09/2023',y:[268.00,283.00,268.00,274.00]},{ x:'01/10/2023',y:[271.00,279.50,269.50,279.50]},{ x:'01/11/2023',y:[281.50,293.00,278.00,284.00]},{ x:'01/12/2023',y:[290.00,292.00,280.50,281.50]},{ x:'01/13/2023',y:[285.50,288.50,274.00,274.50]},{ x:'01/16/2023',y:[277.50,286.00,276.00,283.00]},{ x:'01/17/2023',y:[285.00,292.00,282.00,290.50]},{ x:'01/30/2023',y:[308.00,319.50,302.50,319.50]},{ x:'01/31/2023',y:[319.50,322.50,308.50,322.00]},{ x:'02/01/2023',y:[326.00,326.50,313.50,318.00]},{ x:'02/02/2023',y:[321.00,329.50,318.00,319.00]},{ x:'02/03/2023',y:[316.00,317.00,306.00,306.00]},{ x:'02/06/2023',y:[305.50,312.00,305.50,308.50]},{ x:'02/07/2023',y:[305.00,315.00,305.00,314.50]},{ x:'02/08/2023',y:[312.00,330.50,311.00,330.50]},{ x:'02/09/2023',y:[330.50,349.50,317.00,321.00]},{ x:'02/10/2023',y:[322.50,325.50,309.00,309.50]},{ x:'02/13/2023',y:[307.00,312.50,300.00,301.00]},{ x:'02/14/2023',y:[305.50,311.00,303.00,304.50]},{ x:'02/15/2023',y:[303.50,307.00,291.00,293.50]},{ x:'02/16/2023',y:[296.50,303.00,295.00,300.00]},{ x:'02/17/2023',y:[292.00,312.00,286.00,308.00]},{ x:'02/20/2023',y:[306.00,311.50,299.50,299.50]},{ x:'02/21/2023',y:[301.50,303.00,294.00,294.50]},{ x:'02/22/2023',y:[289.00,292.50,287.00,288.50]} ] }], chart: { type: "candlestick", height: 350, toolbar: { show: !1 } }, plotOptions: { candlestick: { colors: { upward: chartCandlestickBasicColors[0], downward: chartCandlestickBasicColors[1] } } }, title: { text: "6719 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());