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:'07/21/2023',y:[794.00,842.00,792.00,841.00]},{ x:'07/24/2023',y:[857.00,880.00,828.00,829.00]},{ x:'07/25/2023',y:[899.00,911.00,878.00,911.00]},{ x:'07/26/2023',y:[926.00,978.00,890.00,898.00]},{ x:'07/27/2023',y:[860.00,968.00,848.00,925.00]},{ x:'07/28/2023',y:[960.00,975.00,933.00,950.00]},{ x:'07/31/2023',y:[970.00,997.00,938.00,938.00]},{ x:'08/01/2023',y:[960.00,963.00,845.00,850.00]},{ x:'08/02/2023',y:[856.00,893.00,830.00,841.00]},{ x:'08/04/2023',y:[858.00,863.00,828.00,842.00]},{ x:'08/07/2023',y:[849.00,924.00,845.00,907.00]},{ x:'08/08/2023',y:[938.00,956.00,880.00,899.00]},{ x:'08/09/2023',y:[905.00,914.00,817.00,833.00]},{ x:'08/10/2023',y:[829.00,829.00,750.00,750.00]},{ x:'08/11/2023',y:[765.00,785.00,752.00,772.00]},{ x:'08/14/2023',y:[769.00,771.00,727.00,743.00]},{ x:'08/15/2023',y:[771.00,784.00,754.00,776.00]},{ x:'08/16/2023',y:[768.00,791.00,742.00,771.00]},{ x:'08/17/2023',y:[775.00,822.00,765.00,813.00]},{ x:'08/18/2023',y:[817.00,857.00,741.00,756.00]},{ x:'08/21/2023',y:[780.00,799.00,773.00,787.00]},{ x:'08/22/2023',y:[807.00,830.00,784.00,792.00]},{ x:'08/23/2023',y:[795.00,804.00,767.00,791.00]},{ x:'08/24/2023',y:[803.00,868.00,795.00,850.00]},{ x:'08/25/2023',y:[844.00,857.00,806.00,835.00]},{ x:'08/28/2023',y:[858.00,863.00,798.00,810.00]},{ x:'08/29/2023',y:[825.00,880.00,820.00,880.00]},{ x:'08/30/2023',y:[892.00,919.00,882.00,912.00]},{ x:'08/31/2023',y:[934.00,946.00,891.00,936.00]},{ x:'09/01/2023',y:[940.00,995.00,940.00,990.00]},{ 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]} ] }], 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());