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:'01/13/2023',y:[720.00,722.00,682.00,682.00]},{ x:'01/16/2023',y:[695.00,705.00,685.00,705.00]},{ x:'01/17/2023',y:[707.00,728.00,698.00,722.00]},{ x:'01/30/2023',y:[765.00,778.00,746.00,775.00]},{ x:'01/31/2023',y:[769.00,782.00,766.00,782.00]},{ x:'02/01/2023',y:[789.00,798.00,784.00,786.00]},{ x:'02/02/2023',y:[798.00,864.00,797.00,864.00]},{ x:'02/03/2023',y:[868.00,871.00,832.00,860.00]},{ x:'02/06/2023',y:[817.00,819.00,789.00,798.00]},{ x:'02/07/2023',y:[801.00,858.00,801.00,841.00]},{ x:'02/08/2023',y:[858.00,925.00,855.00,925.00]},{ x:'02/09/2023',y:[922.00,988.00,917.00,920.00]},{ x:'02/10/2023',y:[905.00,927.00,878.00,910.00]},{ x:'02/13/2023',y:[903.00,935.00,896.00,898.00]},{ x:'02/14/2023',y:[919.00,933.00,903.00,911.00]},{ x:'02/15/2023',y:[898.00,935.00,893.00,926.00]},{ x:'02/16/2023',y:[940.00,1010.00,934.00,958.00]},{ x:'02/17/2023',y:[958.00,983.00,943.00,976.00]},{ x:'02/20/2023',y:[980.00,1020.00,978.00,995.00]},{ x:'02/21/2023',y:[1010.00,1045.00,998.00,1035.00]},{ x:'02/22/2023',y:[1015.00,1020.00,984.00,1015.00]},{ x:'02/23/2023',y:[1050.00,1115.00,1045.00,1115.00]},{ x:'02/24/2023',y:[1155.00,1175.00,1120.00,1160.00]},{ x:'03/01/2023',y:[1130.00,1180.00,1120.00,1180.00]},{ x:'03/02/2023',y:[1180.00,1215.00,1160.00,1195.00]},{ x:'03/03/2023',y:[1215.00,1230.00,1080.00,1080.00]},{ x:'03/06/2023',y:[1105.00,1120.00,1050.00,1075.00]},{ x:'03/07/2023',y:[1070.00,1085.00,1035.00,1075.00]},{ x:'03/08/2023',y:[1060.00,1125.00,1050.00,1105.00]},{ x:'03/09/2023',y:[1120.00,1135.00,1090.00,1110.00]},{ x:'03/10/2023',y:[1075.00,1105.00,1065.00,1090.00]},{ x:'03/13/2023',y:[1105.00,1140.00,1070.00,1130.00]},{ x:'03/14/2023',y:[1125.00,1150.00,1060.00,1060.00]},{ x:'03/15/2023',y:[1095.00,1165.00,1095.00,1115.00]},{ x:'03/16/2023',y:[1130.00,1150.00,1080.00,1100.00]},{ x:'03/17/2023',y:[1145.00,1190.00,1115.00,1130.00]},{ x:'03/20/2023',y:[1150.00,1180.00,1145.00,1170.00]},{ x:'03/21/2023',y:[1170.00,1185.00,1105.00,1125.00]},{ x:'03/22/2023',y:[1150.00,1165.00,1135.00,1160.00]},{ x:'03/23/2023',y:[1160.00,1220.00,1150.00,1195.00]},{ x:'03/24/2023',y:[1215.00,1230.00,1165.00,1165.00]},{ x:'03/27/2023',y:[1160.00,1180.00,1140.00,1180.00]},{ x:'03/28/2023',y:[1180.00,1185.00,1105.00,1105.00]},{ x:'03/29/2023',y:[1105.00,1115.00,1000.00,1010.00]},{ x:'03/30/2023',y:[1035.00,1055.00,1030.00,1050.00]},{ x:'03/31/2023',y:[1050.00,1095.00,1025.00,1085.00]},{ x:'04/06/2023',y:[1050.00,1080.00,1025.00,1070.00]},{ x:'04/07/2023',y:[1085.00,1095.00,1050.00,1080.00]},{ x:'04/10/2023',y:[1090.00,1115.00,1090.00,1100.00]},{ x:'04/11/2023',y:[1110.00,1120.00,1065.00,1070.00]},{ x:'04/12/2023',y:[1080.00,1085.00,1040.00,1070.00]},{ x:'04/13/2023',y:[1050.00,1060.00,1030.00,1030.00]},{ x:'04/14/2023',y:[1050.00,1095.00,1040.00,1085.00]},{ x:'04/17/2023',y:[1075.00,1090.00,1060.00,1070.00]},{ x:'04/18/2023',y:[1080.00,1090.00,1025.00,1025.00]},{ x:'04/19/2023',y:[1030.00,1055.00,1025.00,1030.00]},{ x:'04/20/2023',y:[1045.00,1065.00,1030.00,1050.00]},{ x:'04/21/2023',y:[1050.00,1060.00,1005.00,1015.00]},{ x:'04/24/2023',y:[1010.00,1030.00,1000.00,1020.00]},{ x:'04/25/2023',y:[1030.00,1030.00,921.00,933.00]} ] }], chart: { type: "candlestick", height: 350, toolbar: { show: !1 } }, plotOptions: { candlestick: { colors: { upward: chartCandlestickBasicColors[0], downward: chartCandlestickBasicColors[1] } } }, title: { text: "3443 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());