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:'04/29/2024',y:[62.50,64.40,62.20,63.30]},{ x:'04/30/2024',y:[64.00,64.70,62.90,63.30]},{ x:'05/02/2024',y:[63.00,64.20,62.30,63.20]},{ x:'05/03/2024',y:[64.00,64.70,63.00,63.30]},{ x:'05/06/2024',y:[64.00,64.50,63.40,63.60]},{ x:'05/07/2024',y:[64.60,64.90,62.50,63.60]},{ x:'05/08/2024',y:[66.00,67.30,64.80,66.10]},{ x:'05/09/2024',y:[65.50,67.80,64.70,65.00]},{ x:'05/10/2024',y:[66.90,67.50,64.90,65.80]},{ x:'05/13/2024',y:[65.80,67.40,64.60,66.70]},{ x:'05/14/2024',y:[66.70,68.00,66.60,67.10]},{ x:'05/15/2024',y:[68.40,70.30,67.60,68.40]},{ x:'05/16/2024',y:[69.50,74.70,69.30,72.90]},{ x:'05/17/2024',y:[74.40,77.50,73.50,76.00]},{ x:'05/20/2024',y:[76.80,79.40,75.60,79.00]},{ x:'05/21/2024',y:[78.50,79.60,77.40,79.10]},{ x:'05/22/2024',y:[79.60,81.00,77.20,79.80]},{ x:'05/23/2024',y:[82.20,82.50,76.60,79.60]},{ x:'05/24/2024',y:[78.70,87.50,78.50,87.50]},{ x:'06/11/2024',y:[87.50,89.00,85.30,88.00]},{ x:'06/12/2024',y:[88.00,93.60,87.10,89.00]},{ x:'06/13/2024',y:[91.00,97.50,89.40,95.40]},{ x:'06/14/2024',y:[96.40,97.10,93.60,94.40]},{ x:'06/17/2024',y:[94.00,99.00,93.80,94.80]},{ x:'06/18/2024',y:[96.00,104.00,95.80,104.00]},{ x:'06/19/2024',y:[108.00,111.00,104.50,109.00]},{ x:'06/20/2024',y:[108.00,119.50,107.00,119.50]},{ x:'06/21/2024',y:[121.50,125.00,116.00,122.00]},{ x:'06/24/2024',y:[125.00,127.00,111.00,114.00]},{ x:'06/25/2024',y:[112.00,116.00,108.50,115.00]},{ x:'06/26/2024',y:[119.00,126.50,118.50,126.50]},{ x:'06/27/2024',y:[129.50,130.00,122.50,123.50]},{ x:'06/28/2024',y:[124.50,129.50,123.00,123.50]},{ x:'07/01/2024',y:[123.50,135.00,121.00,130.00]},{ x:'07/02/2024',y:[128.50,131.50,123.00,125.00]},{ x:'07/03/2024',y:[126.50,137.50,126.50,137.50]},{ x:'07/04/2024',y:[139.50,150.50,137.50,141.00]},{ x:'07/05/2024',y:[142.00,149.00,137.50,143.50]},{ x:'07/12/2024',y:[139.50,142.50,134.00,138.00]},{ x:'07/15/2024',y:[139.00,148.50,136.00,140.50]},{ x:'07/16/2024',y:[141.50,144.00,138.00,140.50]},{ x:'07/17/2024',y:[142.00,151.50,141.50,145.00]},{ x:'07/18/2024',y:[140.50,148.00,139.50,148.00]},{ x:'07/19/2024',y:[147.00,148.00,136.50,137.00]},{ x:'07/22/2024',y:[138.00,139.00,127.00,127.00]},{ x:'07/23/2024',y:[132.50,133.00,125.00,126.00]},{ x:'07/26/2024',y:[117.00,125.50,116.50,125.00]},{ x:'07/29/2024',y:[127.00,132.00,122.50,125.00]},{ x:'07/30/2024',y:[123.50,131.50,120.50,128.50]},{ x:'07/31/2024',y:[128.50,132.00,126.50,126.50]},{ x:'08/01/2024',y:[131.00,136.00,129.50,131.00]},{ x:'08/02/2024',y:[125.00,127.00,118.50,118.50]},{ x:'08/05/2024',y:[107.50,111.00,107.00,107.00]},{ x:'08/06/2024',y:[112.00,112.00,96.30,104.50]},{ x:'08/07/2024',y:[105.50,113.50,104.50,111.00]},{ x:'08/08/2024',y:[109.50,122.00,109.00,122.00]},{ x:'08/09/2024',y:[126.00,128.50,122.00,122.50]},{ x:'08/12/2024',y:[123.00,130.00,121.50,127.00]},{ x:'08/13/2024',y:[132.00,134.00,125.00,132.50]},{ x:'08/14/2024',y:[134.50,137.50,130.00,132.50]} ] }], chart: { type: "candlestick", height: 350, toolbar: { show: !1 } }, plotOptions: { candlestick: { colors: { upward: chartCandlestickBasicColors[0], downward: chartCandlestickBasicColors[1] } } }, title: { text: "3450 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());