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:'09/04/2023',y:[996.00,1015.00,975.00,997.00]},{ x:'09/05/2023',y:[1000.00,1095.00,999.00,1090.00]},{ x:'09/06/2023',y:[1085.00,1120.00,1025.00,1045.00]},{ x:'09/07/2023',y:[1075.00,1130.00,1050.00,1095.00]},{ x:'09/08/2023',y:[1095.00,1125.00,1060.00,1060.00]},{ x:'09/11/2023',y:[1070.00,1080.00,1030.00,1055.00]},{ x:'09/12/2023',y:[1065.00,1075.00,1010.00,1040.00]},{ x:'09/13/2023',y:[1055.00,1070.00,1030.00,1070.00]},{ x:'09/14/2023',y:[1085.00,1160.00,1075.00,1140.00]},{ x:'09/15/2023',y:[1155.00,1195.00,1155.00,1185.00]},{ x:'09/18/2023',y:[1175.00,1235.00,1120.00,1155.00]},{ x:'09/19/2023',y:[1170.00,1175.00,1070.00,1070.00]},{ x:'09/20/2023',y:[1075.00,1080.00,1030.00,1030.00]},{ x:'09/21/2023',y:[1020.00,1060.00,1000.00,1045.00]},{ x:'09/22/2023',y:[1030.00,1095.00,1020.00,1090.00]},{ x:'09/25/2023',y:[1110.00,1170.00,1095.00,1160.00]},{ x:'09/26/2023',y:[1160.00,1180.00,1090.00,1115.00]},{ x:'09/27/2023',y:[1120.00,1170.00,1120.00,1135.00]},{ x:'09/28/2023',y:[1155.00,1165.00,1090.00,1105.00]},{ x:'10/02/2023',y:[1130.00,1170.00,1110.00,1165.00]},{ x:'10/03/2023',y:[1035.00,1085.00,1020.00,1050.00]},{ x:'10/04/2023',y:[1040.00,1075.00,1030.00,1030.00]},{ x:'10/05/2023',y:[1060.00,1130.00,1055.00,1120.00]},{ x:'10/06/2023',y:[1135.00,1160.00,1065.00,1090.00]},{ x:'10/11/2023',y:[1120.00,1130.00,1060.00,1075.00]},{ x:'10/12/2023',y:[1090.00,1180.00,1085.00,1180.00]},{ x:'10/13/2023',y:[1175.00,1210.00,1150.00,1185.00]},{ x:'10/18/2023',y:[1165.00,1185.00,1130.00,1170.00]},{ x:'10/19/2023',y:[1165.00,1240.00,1165.00,1235.00]},{ x:'10/20/2023',y:[1230.00,1230.00,1180.00,1220.00]},{ x:'10/23/2023',y:[1215.00,1240.00,1155.00,1165.00]},{ x:'10/24/2023',y:[1190.00,1210.00,1170.00,1200.00]},{ x:'10/25/2023',y:[1215.00,1220.00,1155.00,1155.00]},{ x:'10/26/2023',y:[1160.00,1205.00,1130.00,1135.00]},{ x:'10/27/2023',y:[1150.00,1155.00,1060.00,1075.00]},{ x:'10/31/2023',y:[1100.00,1135.00,968.00,968.00]},{ x:'11/01/2023',y:[1000.00,1000.00,933.00,981.00]},{ x:'11/02/2023',y:[1005.00,1035.00,951.00,972.00]},{ x:'11/03/2023',y:[973.00,995.00,942.00,945.00]},{ x:'11/06/2023',y:[960.00,1030.00,953.00,1010.00]},{ x:'11/07/2023',y:[1005.00,1070.00,1000.00,1040.00]},{ x:'11/08/2023',y:[1060.00,1085.00,1025.00,1045.00]},{ x:'11/09/2023',y:[1050.00,1055.00,1000.00,1030.00]},{ x:'11/10/2023',y:[1020.00,1055.00,981.00,982.00]},{ x:'11/13/2023',y:[994.00,999.00,885.00,893.00]},{ x:'11/14/2023',y:[896.00,965.00,896.00,959.00]},{ x:'11/15/2023',y:[972.00,987.00,934.00,958.00]},{ x:'11/16/2023',y:[968.00,984.00,950.00,967.00]},{ x:'11/17/2023',y:[994.00,997.00,962.00,966.00]},{ x:'11/20/2023',y:[967.00,968.00,901.00,923.00]},{ x:'11/21/2023',y:[937.00,939.00,903.00,905.00]},{ x:'11/22/2023',y:[913.00,925.00,905.00,907.00]},{ x:'11/23/2023',y:[914.00,924.00,885.00,885.00]},{ x:'11/24/2023',y:[890.00,898.00,859.00,859.00]},{ x:'11/27/2023',y:[880.00,880.00,845.00,848.00]},{ x:'11/28/2023',y:[845.00,878.00,844.00,860.00]},{ x:'11/29/2023',y:[873.00,895.00,863.00,870.00]},{ x:'11/30/2023',y:[873.00,894.00,873.00,887.00]},{ x:'12/01/2023',y:[894.00,933.00,883.00,929.00]},{ x:'12/04/2023',y:[933.00,935.00,895.00,898.00]} ] }], chart: { type: "candlestick", height: 350, toolbar: { show: !1 } }, plotOptions: { candlestick: { colors: { upward: chartCandlestickBasicColors[0], downward: chartCandlestickBasicColors[1] } } }, title: { text: "4763 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());