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/11/2022',y:[287.00,294.50,280.50,291.00]},{ x:'11/14/2022',y:[295.00,297.50,284.00,285.00]},{ x:'11/15/2022',y:[288.00,294.00,281.50,292.50]},{ x:'11/16/2022',y:[293.00,299.50,292.00,296.00]},{ x:'11/17/2022',y:[296.50,299.50,293.50,296.00]},{ x:'11/18/2022',y:[296.50,299.50,294.50,297.50]},{ x:'11/21/2022',y:[296.00,299.00,295.00,295.50]},{ x:'11/22/2022',y:[299.00,299.00,294.00,295.00]},{ x:'11/23/2022',y:[297.50,301.50,295.50,300.50]},{ x:'11/24/2022',y:[303.00,303.50,295.50,299.50]},{ x:'11/25/2022',y:[300.00,303.00,297.00,297.50]},{ x:'11/28/2022',y:[298.50,302.00,295.00,299.50]},{ x:'11/29/2022',y:[297.50,297.50,292.00,294.00]},{ x:'11/30/2022',y:[294.00,299.50,291.00,299.50]},{ x:'12/01/2022',y:[300.00,301.50,296.50,297.00]},{ x:'12/02/2022',y:[299.00,304.00,298.00,300.00]},{ x:'12/05/2022',y:[300.00,303.50,295.50,299.50]},{ x:'12/06/2022',y:[296.00,300.50,295.00,295.00]},{ x:'12/07/2022',y:[295.00,297.50,288.50,288.50]},{ x:'12/08/2022',y:[289.00,295.00,287.00,295.00]},{ x:'12/09/2022',y:[293.00,297.50,292.00,295.50]},{ x:'12/12/2022',y:[292.50,295.00,289.50,292.50]},{ x:'12/13/2022',y:[292.50,294.50,288.50,288.50]},{ x:'12/14/2022',y:[293.00,293.00,287.50,289.50]},{ x:'12/15/2022',y:[289.00,290.50,286.00,287.00]},{ x:'12/16/2022',y:[286.00,287.00,283.50,284.50]},{ x:'12/19/2022',y:[284.50,286.00,282.00,284.50]},{ x:'12/20/2022',y:[287.00,291.50,282.00,286.00]},{ x:'12/21/2022',y:[286.00,290.00,284.50,284.50]},{ x:'12/22/2022',y:[285.50,288.00,281.00,288.00]},{ x:'12/23/2022',y:[288.50,288.50,282.50,283.50]},{ x:'12/26/2022',y:[284.00,292.00,284.00,288.00]},{ x:'12/27/2022',y:[288.50,294.50,288.00,291.50]},{ x:'12/28/2022',y:[289.50,308.00,289.00,299.00]},{ x:'12/29/2022',y:[304.00,306.00,295.50,296.50]},{ x:'12/30/2022',y:[298.00,299.50,294.50,295.50]},{ x:'01/03/2023',y:[296.00,301.50,294.50,301.00]},{ x:'01/04/2023',y:[301.00,306.50,301.00,305.00]},{ x:'01/05/2023',y:[307.50,310.00,305.50,305.50]},{ x:'01/06/2023',y:[305.00,306.00,303.50,305.50]},{ x:'01/09/2023',y:[305.50,308.00,305.00,308.00]},{ x:'01/10/2023',y:[306.00,308.00,305.50,307.50]},{ x:'01/11/2023',y:[307.50,308.00,303.00,305.50]},{ x:'01/12/2023',y:[305.50,306.00,298.50,299.50]},{ x:'01/13/2023',y:[301.00,302.00,298.00,298.50]},{ x:'01/16/2023',y:[299.00,301.00,296.00,296.50]},{ x:'01/17/2023',y:[295.50,305.00,295.50,303.50]},{ x:'01/30/2023',y:[306.00,313.00,304.50,308.00]},{ x:'01/31/2023',y:[308.00,308.00,302.50,307.50]},{ x:'02/01/2023',y:[307.00,309.50,303.50,304.00]},{ x:'02/02/2023',y:[304.50,310.50,304.50,307.00]},{ x:'02/03/2023',y:[307.00,312.00,307.00,311.50]},{ x:'02/06/2023',y:[310.50,319.50,310.50,314.00]},{ x:'02/07/2023',y:[315.00,322.50,315.00,322.50]},{ x:'02/08/2023',y:[328.00,332.00,322.50,329.00]},{ x:'02/09/2023',y:[329.00,331.50,325.50,328.00]},{ x:'02/10/2023',y:[328.00,329.00,323.00,323.50]},{ x:'02/13/2023',y:[324.00,327.50,321.00,324.00]},{ x:'02/14/2023',y:[324.00,324.00,320.00,321.00]},{ x:'02/15/2023',y:[321.00,322.50,319.50,322.50]} ] }], chart: { type: "candlestick", height: 350, toolbar: { show: !1 } }, plotOptions: { candlestick: { colors: { upward: chartCandlestickBasicColors[0], downward: chartCandlestickBasicColors[1] } } }, title: { text: "6469 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());