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:'03/14/2024',y:[67.30,67.55,66.65,67.35]},{ x:'03/15/2024',y:[66.55,67.00,66.20,66.30]},{ x:'03/18/2024',y:[66.30,67.25,66.20,67.25]},{ x:'03/19/2024',y:[66.50,67.25,66.30,67.05]},{ x:'03/20/2024',y:[67.35,67.40,66.35,66.60]},{ x:'03/21/2024',y:[68.10,69.40,68.10,69.40]},{ x:'03/22/2024',y:[69.35,69.45,68.60,69.30]},{ x:'03/25/2024',y:[69.30,69.70,69.00,69.40]},{ x:'03/26/2024',y:[70.25,70.75,68.00,69.00]},{ x:'03/27/2024',y:[69.10,69.70,68.70,69.45]},{ x:'03/28/2024',y:[69.15,69.30,68.40,69.10]},{ x:'03/29/2024',y:[69.40,69.60,69.10,69.55]},{ x:'04/01/2024',y:[70.05,70.40,69.55,69.65]},{ x:'04/02/2024',y:[70.30,71.20,70.30,71.20]},{ x:'04/03/2024',y:[70.25,70.50,69.65,70.15]},{ x:'04/08/2024',y:[70.45,71.20,70.35,70.90]},{ x:'04/09/2024',y:[71.50,73.80,71.50,73.75]},{ x:'04/10/2024',y:[73.50,73.85,73.30,73.35]},{ x:'04/11/2024',y:[72.70,72.85,72.15,72.85]},{ x:'04/12/2024',y:[72.55,73.20,72.40,72.90]},{ x:'04/15/2024',y:[71.70,71.75,70.80,71.15]},{ x:'04/16/2024',y:[69.50,69.60,66.30,67.25]},{ x:'04/17/2024',y:[67.85,68.85,67.65,68.65]},{ x:'04/18/2024',y:[67.80,69.50,67.50,69.45]},{ x:'04/19/2024',y:[66.65,66.80,62.35,64.20]},{ x:'04/22/2024',y:[64.20,65.05,63.60,63.95]},{ x:'04/23/2024',y:[65.50,65.50,64.35,65.10]},{ x:'04/24/2024',y:[66.95,68.60,66.95,68.40]},{ x:'04/25/2024',y:[66.80,67.05,66.10,66.35]},{ x:'04/26/2024',y:[68.10,68.95,67.95,68.25]},{ x:'04/29/2024',y:[69.90,70.90,69.80,70.80]},{ x:'04/30/2024',y:[70.80,71.00,70.40,70.40]},{ x:'05/02/2024',y:[69.35,69.65,68.90,69.25]},{ x:'05/03/2024',y:[70.80,71.00,69.25,69.60]},{ x:'05/06/2024',y:[71.45,71.95,71.00,71.25]},{ x:'05/07/2024',y:[72.10,72.15,70.85,71.65]},{ x:'05/08/2024',y:[71.45,72.15,71.25,72.15]},{ x:'05/09/2024',y:[71.80,72.30,71.40,71.40]},{ x:'05/10/2024',y:[72.15,72.75,71.65,72.55]},{ x:'05/13/2024',y:[73.65,73.70,72.90,73.20]},{ x:'05/14/2024',y:[73.50,74.15,73.20,74.15]},{ x:'05/15/2024',y:[75.15,76.70,75.10,75.45]},{ x:'05/16/2024',y:[77.35,77.80,76.35,76.50]},{ x:'05/17/2024',y:[76.60,76.85,76.10,76.30]},{ x:'05/20/2024',y:[76.80,76.80,75.10,76.25]},{ x:'05/21/2024',y:[76.00,76.30,75.20,76.10]},{ x:'05/22/2024',y:[76.65,78.30,76.60,78.15]},{ x:'05/23/2024',y:[78.25,78.60,77.60,78.40]},{ x:'05/24/2024',y:[77.20,78.30,77.20,78.20]},{ x:'06/11/2024',y:[80.10,80.80,79.55,79.55]},{ x:'06/12/2024',y:[79.85,81.50,79.85,81.40]},{ x:'06/13/2024',y:[83.40,84.50,82.70,83.60]},{ x:'06/14/2024',y:[83.40,84.70,83.10,84.65]},{ x:'06/17/2024',y:[84.55,85.20,84.30,84.60]},{ x:'06/18/2024',y:[86.20,87.15,86.05,87.05]},{ x:'06/19/2024',y:[88.65,90.80,88.60,90.40]},{ x:'06/20/2024',y:[90.40,92.30,90.40,92.30]},{ x:'06/21/2024',y:[90.65,91.75,90.15,91.15]},{ x:'06/24/2024',y:[89.50,89.50,87.20,87.40]},{ x:'06/25/2024',y:[86.65,87.75,85.00,87.65]} ] }], chart: { type: "candlestick", height: 350, toolbar: { show: !1 } }, plotOptions: { candlestick: { colors: { upward: chartCandlestickBasicColors[0], downward: chartCandlestickBasicColors[1] } } }, title: { text: "00685l 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());