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:[16.73,16.73,16.68,16.70]},{ x:'04/30/2024',y:[16.76,16.78,16.76,16.78]},{ x:'05/02/2024',y:[16.77,16.78,16.75,16.75]},{ x:'05/03/2024',y:[16.82,16.82,16.81,16.81]},{ x:'05/06/2024',y:[16.99,17.00,16.98,16.98]},{ x:'05/07/2024',y:[17.12,17.12,17.08,17.09]},{ x:'05/08/2024',y:[17.10,17.10,17.05,17.05]},{ x:'05/09/2024',y:[16.99,16.99,16.94,16.94]},{ x:'05/10/2024',y:[16.98,16.98,16.91,16.91]},{ x:'05/13/2024',y:[16.88,16.88,16.85,16.87]},{ x:'05/14/2024',y:[16.89,16.89,16.89,16.89]},{ x:'05/15/2024',y:[17.07,17.25,17.07,17.18]},{ x:'05/16/2024',y:[17.19,17.33,17.19,17.33]},{ x:'05/17/2024',y:[17.57,17.61,17.55,17.56]},{ x:'05/20/2024',y:[17.69,17.73,17.69,17.71]},{ x:'05/21/2024',y:[17.89,17.90,17.89,17.90]},{ x:'05/22/2024',y:[17.75,17.75,17.72,17.73]},{ x:'05/23/2024',y:[17.47,17.47,17.43,17.43]},{ x:'05/24/2024',y:[17.21,17.21,17.15,17.16]},{ x:'06/11/2024',y:[18.00,18.00,17.63,17.64]},{ x:'06/12/2024',y:[18.21,18.21,17.92,17.94]},{ x:'06/13/2024',y:[18.28,18.28,17.98,18.08]},{ x:'06/14/2024',y:[17.99,17.99,17.98,17.98]},{ x:'06/17/2024',y:[17.75,17.78,17.71,17.71]},{ x:'06/18/2024',y:[18.10,18.10,18.08,18.09]},{ x:'06/19/2024',y:[18.07,18.11,18.07,18.07]},{ x:'06/20/2024',y:[18.07,18.11,18.06,18.07]},{ x:'06/21/2024',y:[18.03,18.03,18.02,18.03]},{ x:'06/24/2024',y:[17.97,17.97,17.90,17.92]},{ x:'06/25/2024',y:[17.96,17.99,17.96,17.99]},{ x:'06/26/2024',y:[18.02,18.02,17.95,17.96]},{ x:'06/27/2024',y:[18.01,18.02,18.00,18.01]},{ x:'06/28/2024',y:[18.22,18.29,18.19,18.19]},{ x:'07/01/2024',y:[18.24,18.24,18.20,18.20]},{ x:'07/02/2024',y:[17.99,17.99,17.95,17.96]},{ x:'07/03/2024',y:[18.12,18.24,18.12,18.22]},{ x:'07/04/2024',y:[18.45,18.45,18.45,18.45]},{ x:'07/05/2024',y:[18.39,18.49,18.39,18.49]},{ x:'07/12/2024',y:[18.92,19.00,18.92,18.96]},{ x:'07/15/2024',y:[19.41,19.47,19.41,19.43]},{ x:'07/16/2024',y:[19.72,19.79,19.72,19.74]},{ x:'07/17/2024',y:[20.05,20.05,19.98,20.00]},{ x:'07/18/2024',y:[19.72,19.76,19.71,19.71]},{ x:'07/19/2024',y:[19.44,19.44,19.33,19.34]},{ x:'07/22/2024',y:[19.25,19.25,19.21,19.22]},{ x:'07/23/2024',y:[19.47,19.47,19.42,19.45]},{ x:'07/26/2024',y:[19.45,20.08,19.45,20.04]},{ x:'07/29/2024',y:[20.83,21.08,20.83,20.99]},{ x:'07/30/2024',y:[20.77,20.77,20.69,20.69]},{ x:'07/31/2024',y:[20.52,20.52,20.42,20.43]},{ x:'08/01/2024',y:[21.22,21.42,21.22,21.39]},{ x:'08/02/2024',y:[21.30,21.30,20.49,20.50]},{ x:'08/05/2024',y:[19.99,19.99,19.32,19.33]},{ x:'08/06/2024',y:[19.34,19.41,19.32,19.32]},{ x:'08/07/2024',y:[19.86,19.87,19.81,19.85]},{ x:'08/08/2024',y:[19.64,19.64,19.60,19.62]},{ x:'08/09/2024',y:[20.56,20.61,20.49,20.56]},{ x:'08/12/2024',y:[20.17,20.23,20.16,20.20]},{ x:'08/13/2024',y:[19.89,19.92,19.86,19.86]},{ x:'08/14/2024',y:[20.25,20.36,20.25,20.35]} ] }], chart: { type: "candlestick", height: 350, toolbar: { show: !1 } }, plotOptions: { candlestick: { colors: { upward: chartCandlestickBasicColors[0], downward: chartCandlestickBasicColors[1] } } }, title: { text: "00910 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());