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:'06/07/2023',y:[557.00,565.00,527.00,533.00]},{ x:'06/08/2023',y:[535.00,539.00,512.00,518.00]},{ x:'06/09/2023',y:[525.00,527.00,514.00,514.00]},{ x:'06/12/2023',y:[515.00,523.00,506.00,516.00]},{ x:'06/13/2023',y:[522.00,560.00,520.00,531.00]},{ x:'06/14/2023',y:[536.00,537.00,515.00,528.00]},{ x:'06/15/2023',y:[530.00,547.00,525.00,544.00]},{ x:'06/16/2023',y:[549.00,573.00,540.00,562.00]},{ x:'06/19/2023',y:[568.00,571.00,543.00,544.00]},{ x:'06/20/2023',y:[547.00,548.00,526.00,530.00]},{ x:'06/21/2023',y:[532.00,535.00,524.00,533.00]},{ x:'06/26/2023',y:[527.00,529.00,511.00,515.00]},{ x:'06/27/2023',y:[519.00,526.00,512.00,517.00]},{ x:'06/28/2023',y:[522.00,557.00,518.00,542.00]},{ x:'06/29/2023',y:[547.00,578.00,546.00,575.00]},{ x:'06/30/2023',y:[580.00,589.00,546.00,552.00]},{ x:'07/03/2023',y:[556.00,557.00,522.00,555.00]},{ x:'07/04/2023',y:[555.00,594.00,552.00,590.00]},{ x:'07/05/2023',y:[595.00,649.00,594.00,649.00]},{ x:'07/06/2023',y:[651.00,666.00,636.00,660.00]},{ x:'07/07/2023',y:[658.00,665.00,635.00,655.00]},{ x:'07/10/2023',y:[653.00,664.00,640.00,658.00]},{ x:'07/11/2023',y:[673.00,698.00,669.00,679.00]},{ x:'07/12/2023',y:[683.00,736.00,683.00,722.00]},{ x:'07/13/2023',y:[730.00,745.00,687.00,712.00]},{ x:'07/14/2023',y:[730.00,757.00,723.00,757.00]},{ x:'07/17/2023',y:[765.00,779.00,748.00,767.00]},{ x:'07/18/2023',y:[777.00,795.00,769.00,779.00]},{ x:'07/19/2023',y:[790.00,795.00,765.00,774.00]},{ x:'07/20/2023',y:[781.00,818.00,774.00,806.00]},{ 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]} ] }], 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());