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/25/2024',y:[9.30,9.59,9.21,9.40]},{ x:'04/26/2024',y:[9.44,9.89,9.44,9.89]},{ x:'04/29/2024',y:[9.85,10.27,9.82,10.05]},{ x:'04/30/2024',y:[10.00,10.12,9.93,9.93]},{ x:'05/02/2024',y:[9.88,10.45,9.83,10.45]},{ x:'05/03/2024',y:[10.84,10.91,10.61,10.67]},{ x:'05/06/2024',y:[10.90,10.91,10.64,10.71]},{ x:'05/07/2024',y:[10.84,10.91,10.61,10.69]},{ x:'05/08/2024',y:[10.69,10.87,10.61,10.61]},{ x:'05/09/2024',y:[10.60,10.87,10.55,10.82]},{ x:'05/10/2024',y:[11.02,11.44,11.01,11.44]},{ x:'05/13/2024',y:[11.43,11.58,11.21,11.58]},{ x:'05/14/2024',y:[11.68,11.79,11.52,11.58]},{ x:'05/15/2024',y:[11.55,11.58,11.49,11.51]},{ x:'05/16/2024',y:[11.64,11.90,11.52,11.90]},{ x:'05/17/2024',y:[12.03,12.08,11.79,11.88]},{ x:'05/20/2024',y:[12.15,12.23,12.09,12.20]},{ x:'05/21/2024',y:[12.01,12.08,11.64,11.75]},{ x:'05/22/2024',y:[11.64,11.82,11.58,11.70]},{ x:'05/23/2024',y:[11.56,11.57,11.14,11.19]},{ x:'05/24/2024',y:[10.91,11.21,10.86,10.89]},{ x:'06/11/2024',y:[10.50,10.50,10.16,10.20]},{ x:'06/12/2024',y:[10.30,10.30,10.05,10.14]},{ x:'06/13/2024',y:[10.28,10.41,10.18,10.21]},{ x:'06/14/2024',y:[10.15,10.34,10.15,10.23]},{ x:'06/17/2024',y:[10.11,10.38,9.94,10.22]},{ x:'06/18/2024',y:[10.29,10.31,10.11,10.15]},{ x:'06/19/2024',y:[10.25,10.63,10.20,10.63]},{ x:'06/20/2024',y:[10.73,10.83,10.59,10.59]},{ x:'06/21/2024',y:[10.47,10.48,10.20,10.24]},{ x:'06/24/2024',y:[10.20,10.23,10.01,10.08]},{ x:'06/25/2024',y:[10.31,10.49,10.30,10.41]},{ x:'06/26/2024',y:[10.24,10.39,10.15,10.32]},{ x:'06/27/2024',y:[10.22,10.24,9.89,9.89]},{ x:'06/28/2024',y:[9.85,10.11,9.75,10.02]},{ x:'07/01/2024',y:[9.94,9.97,9.87,9.90]},{ x:'07/02/2024',y:[9.98,10.24,9.86,10.01]},{ x:'07/03/2024',y:[10.08,10.31,10.06,10.20]},{ x:'07/04/2024',y:[10.38,10.50,10.27,10.27]},{ x:'07/05/2024',y:[10.39,10.43,10.10,10.10]},{ x:'07/12/2024',y:[10.28,10.69,10.27,10.69]},{ x:'07/15/2024',y:[10.73,10.73,10.42,10.49]},{ x:'07/16/2024',y:[10.30,10.31,10.12,10.13]},{ x:'07/17/2024',y:[10.23,10.23,10.04,10.07]},{ x:'07/18/2024',y:[10.02,10.23,10.00,10.19]},{ x:'07/19/2024',y:[10.00,10.00,9.71,9.71]},{ x:'07/22/2024',y:[9.80,9.95,9.61,9.84]},{ x:'07/23/2024',y:[10.05,10.07,9.89,9.90]},{ x:'07/26/2024',y:[9.41,9.51,9.19,9.30]},{ x:'07/29/2024',y:[9.42,9.65,9.40,9.63]},{ x:'07/30/2024',y:[9.47,9.48,9.25,9.27]},{ x:'07/31/2024',y:[9.30,9.66,9.28,9.65]},{ x:'08/01/2024',y:[9.69,9.69,9.52,9.60]},{ x:'08/02/2024',y:[9.28,9.32,9.12,9.12]},{ x:'08/05/2024',y:[9.05,9.16,8.80,8.86]},{ x:'08/06/2024',y:[9.09,9.18,8.84,8.85]},{ x:'08/07/2024',y:[8.89,9.19,8.86,9.18]},{ x:'08/08/2024',y:[8.95,9.23,8.85,9.22]},{ x:'08/09/2024',y:[9.36,9.44,9.25,9.30]},{ x:'08/12/2024',y:[9.28,9.34,9.18,9.29]} ] }], chart: { type: "candlestick", height: 350, toolbar: { show: !1 } }, plotOptions: { candlestick: { colors: { upward: chartCandlestickBasicColors[0], downward: chartCandlestickBasicColors[1] } } }, title: { text: "00650l 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());