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/30/2024',y:[23.69,23.69,23.59,23.62]},{ x:'05/02/2024',y:[23.62,23.70,23.62,23.67]},{ x:'05/03/2024',y:[24.08,24.26,24.08,24.24]},{ x:'05/06/2024',y:[24.34,24.38,24.24,24.24]},{ x:'05/07/2024',y:[24.96,25.09,24.96,25.09]},{ x:'05/08/2024',y:[24.95,24.96,24.92,24.94]},{ x:'05/09/2024',y:[24.75,24.82,24.70,24.81]},{ x:'05/10/2024',y:[24.38,24.38,24.25,24.30]},{ x:'05/13/2024',y:[24.41,24.48,24.35,24.43]},{ x:'05/14/2024',y:[24.54,24.54,24.36,24.43]},{ x:'05/15/2024',y:[24.38,24.43,24.34,24.38]},{ x:'05/16/2024',y:[24.38,24.38,24.33,24.36]},{ x:'05/17/2024',y:[24.42,24.59,24.42,24.56]},{ x:'05/20/2024',y:[24.60,24.62,24.55,24.55]},{ x:'05/21/2024',y:[24.93,25.02,24.92,24.93]},{ x:'05/22/2024',y:[24.81,24.90,24.80,24.88]},{ x:'05/23/2024',y:[24.97,25.00,24.89,24.90]},{ x:'05/24/2024',y:[24.84,24.90,24.79,24.85]},{ x:'06/11/2024',y:[23.84,23.85,23.75,23.77]},{ x:'06/12/2024',y:[23.61,23.63,23.56,23.61]},{ x:'06/13/2024',y:[23.55,23.55,23.48,23.48]},{ x:'06/14/2024',y:[23.67,23.72,23.67,23.69]},{ x:'06/17/2024',y:[23.56,23.56,23.38,23.38]},{ x:'06/18/2024',y:[23.29,23.33,23.28,23.32]},{ x:'06/19/2024',y:[23.23,23.25,23.23,23.25]},{ x:'06/20/2024',y:[23.29,23.29,23.23,23.24]},{ x:'06/21/2024',y:[22.94,22.99,22.91,22.97]},{ x:'06/24/2024',y:[23.01,23.10,23.00,23.08]},{ x:'06/25/2024',y:[23.15,23.15,23.12,23.12]},{ x:'06/26/2024',y:[22.87,22.97,22.85,22.97]},{ x:'06/27/2024',y:[22.76,22.81,22.74,22.75]},{ x:'06/28/2024',y:[22.74,22.80,22.73,22.76]},{ x:'07/01/2024',y:[22.75,22.75,22.64,22.66]},{ x:'07/02/2024',y:[22.78,22.85,22.77,22.84]},{ x:'07/03/2024',y:[22.89,22.90,22.80,22.84]},{ x:'07/04/2024',y:[23.02,23.05,22.97,23.01]},{ x:'07/05/2024',y:[23.05,23.06,22.98,23.06]},{ x:'07/12/2024',y:[21.90,21.98,21.90,21.96]},{ x:'07/15/2024',y:[21.68,21.69,21.60,21.61]},{ x:'07/16/2024',y:[21.46,21.46,21.36,21.39]},{ x:'07/17/2024',y:[21.49,21.50,21.44,21.46]},{ x:'07/18/2024',y:[21.44,21.44,21.19,21.21]},{ x:'07/19/2024',y:[21.33,21.53,21.33,21.52]},{ x:'07/22/2024',y:[21.53,21.63,21.51,21.63]},{ x:'07/23/2024',y:[21.99,22.05,21.94,21.95]},{ x:'07/26/2024',y:[22.08,22.16,22.08,22.16]},{ x:'07/29/2024',y:[21.20,21.33,21.11,21.31]},{ x:'07/30/2024',y:[21.31,21.31,21.20,21.23]},{ x:'07/31/2024',y:[21.02,21.12,20.96,21.12]},{ x:'08/01/2024',y:[21.05,21.05,20.88,20.94]},{ x:'08/02/2024',y:[20.88,21.01,20.88,20.97]},{ x:'08/05/2024',y:[21.15,21.31,21.13,21.14]},{ x:'08/06/2024',y:[21.22,21.29,21.09,21.09]},{ x:'08/07/2024',y:[21.09,21.09,20.90,20.92]},{ x:'08/08/2024',y:[20.98,21.06,20.96,21.00]},{ x:'08/09/2024',y:[20.80,20.84,20.71,20.84]},{ x:'08/12/2024',y:[20.50,20.54,20.49,20.52]},{ x:'08/13/2024',y:[20.29,20.29,20.00,20.01]},{ x:'08/14/2024',y:[19.74,19.84,19.62,19.84]},{ x:'08/15/2024',y:[19.92,20.05,19.92,20.01]} ] }], chart: { type: "candlestick", height: 350, toolbar: { show: !1 } }, plotOptions: { candlestick: { colors: { upward: chartCandlestickBasicColors[0], downward: chartCandlestickBasicColors[1] } } }, title: { text: "00693u 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());