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/07/2023',y:[810.00,821.00,796.00,805.00]},{ x:'07/10/2023',y:[822.00,833.00,797.00,808.00]},{ x:'07/11/2023',y:[818.00,820.00,786.00,787.00]},{ x:'07/12/2023',y:[787.00,799.00,770.00,770.00]},{ x:'07/13/2023',y:[776.00,779.00,760.00,760.00]},{ x:'07/14/2023',y:[774.00,798.00,761.00,798.00]},{ x:'07/17/2023',y:[811.00,824.00,803.00,806.00]},{ x:'07/18/2023',y:[812.00,816.00,801.00,807.00]},{ x:'07/19/2023',y:[820.00,887.00,817.00,887.00]},{ x:'07/20/2023',y:[910.00,968.00,892.00,955.00]},{ x:'07/21/2023',y:[979.00,1015.00,960.00,985.00]},{ x:'07/24/2023',y:[1015.00,1025.00,985.00,1010.00]},{ x:'07/25/2023',y:[1005.00,1030.00,987.00,1005.00]},{ x:'07/26/2023',y:[951.00,984.00,905.00,905.00]},{ x:'07/27/2023',y:[920.00,944.00,907.00,907.00]},{ x:'07/28/2023',y:[916.00,919.00,882.00,899.00]},{ x:'07/31/2023',y:[918.00,925.00,897.00,903.00]},{ x:'08/01/2023',y:[907.00,957.00,889.00,893.00]},{ x:'08/02/2023',y:[901.00,916.00,862.00,873.00]},{ x:'08/04/2023',y:[882.00,898.00,853.00,894.00]},{ x:'08/07/2023',y:[918.00,918.00,884.00,901.00]},{ x:'08/08/2023',y:[907.00,938.00,900.00,927.00]},{ x:'08/09/2023',y:[928.00,955.00,917.00,939.00]},{ x:'08/10/2023',y:[732.00,769.00,715.00,716.00]},{ x:'08/11/2023',y:[729.00,735.00,692.00,693.00]},{ x:'08/14/2023',y:[693.00,704.00,640.00,650.00]},{ x:'08/15/2023',y:[675.00,715.00,662.00,700.00]},{ x:'08/16/2023',y:[704.00,721.00,686.00,691.00]},{ x:'08/17/2023',y:[696.00,725.00,683.00,718.00]},{ x:'08/18/2023',y:[741.00,754.00,714.00,719.00]},{ x:'08/21/2023',y:[720.00,723.00,690.00,691.00]},{ x:'08/22/2023',y:[700.00,702.00,672.00,675.00]},{ x:'08/23/2023',y:[681.00,681.00,656.00,659.00]},{ x:'08/24/2023',y:[663.00,671.00,650.00,652.00]},{ x:'08/25/2023',y:[656.00,676.00,653.00,671.00]},{ x:'08/28/2023',y:[675.00,679.00,650.00,652.00]},{ x:'08/29/2023',y:[656.00,667.00,652.00,656.00]},{ x:'08/30/2023',y:[661.00,706.00,661.00,698.00]},{ x:'08/31/2023',y:[693.00,729.00,693.00,715.00]},{ x:'09/01/2023',y:[724.00,737.00,715.00,721.00]},{ x:'09/04/2023',y:[727.00,740.00,724.00,729.00]},{ x:'09/05/2023',y:[735.00,739.00,695.00,697.00]},{ x:'09/06/2023',y:[700.00,700.00,681.00,685.00]},{ x:'09/07/2023',y:[682.00,695.00,675.00,680.00]},{ x:'09/08/2023',y:[678.00,682.00,667.00,670.00]},{ x:'09/11/2023',y:[670.00,698.00,670.00,674.00]},{ x:'09/12/2023',y:[682.00,687.00,658.00,660.00]},{ x:'09/13/2023',y:[661.00,672.00,653.00,672.00]},{ x:'09/14/2023',y:[674.00,688.00,672.00,679.00]},{ x:'09/15/2023',y:[680.00,685.00,664.00,667.00]},{ x:'09/18/2023',y:[668.00,677.00,655.00,655.00]},{ x:'09/19/2023',y:[655.00,662.00,644.00,646.00]},{ x:'09/20/2023',y:[651.00,658.00,644.00,646.00]},{ x:'09/21/2023',y:[646.00,649.00,635.00,635.00]},{ x:'09/22/2023',y:[630.00,639.00,622.00,639.00]},{ x:'09/25/2023',y:[641.00,667.00,640.00,654.00]},{ x:'09/26/2023',y:[657.00,663.00,636.00,637.00]},{ x:'09/27/2023',y:[636.00,645.00,632.00,644.00]},{ x:'09/28/2023',y:[648.00,658.00,642.00,642.00]},{ x:'10/02/2023',y:[645.00,651.00,638.00,650.00]} ] }], chart: { type: "candlestick", height: 350, toolbar: { show: !1 } }, plotOptions: { candlestick: { colors: { upward: chartCandlestickBasicColors[0], downward: chartCandlestickBasicColors[1] } } }, title: { text: "6472 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());