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:[34.03,34.15,34.03,34.08]},{ x:'04/30/2024',y:[34.13,34.21,34.13,34.15]},{ x:'05/02/2024',y:[34.17,34.20,34.12,34.20]},{ x:'05/03/2024',y:[34.20,34.22,34.14,34.17]},{ x:'05/06/2024',y:[34.35,34.41,34.33,34.39]},{ x:'05/07/2024',y:[34.52,34.69,34.52,34.65]},{ x:'05/08/2024',y:[34.71,34.77,34.67,34.70]},{ x:'05/09/2024',y:[34.58,34.59,34.54,34.58]},{ x:'05/10/2024',y:[34.74,34.80,34.73,34.74]},{ x:'05/13/2024',y:[34.68,34.68,34.61,34.64]},{ x:'05/14/2024',y:[34.64,34.64,34.59,34.60]},{ x:'05/15/2024',y:[34.71,34.73,34.56,34.60]},{ x:'05/16/2024',y:[34.96,34.98,34.88,34.93]},{ x:'05/17/2024',y:[34.92,34.98,34.88,34.90]},{ x:'05/20/2024',y:[34.85,34.85,34.82,34.84]},{ x:'05/21/2024',y:[34.84,34.86,34.83,34.85]},{ x:'05/22/2024',y:[34.92,34.94,34.88,34.89]},{ x:'05/23/2024',y:[34.92,34.92,34.84,34.84]},{ x:'05/24/2024',y:[34.81,34.81,34.74,34.75]},{ x:'06/11/2024',y:[35.06,35.06,34.93,34.93]},{ x:'06/12/2024',y:[35.07,35.08,35.00,35.07]},{ x:'06/13/2024',y:[35.26,35.30,35.22,35.26]},{ x:'06/14/2024',y:[35.47,35.53,35.44,35.46]},{ x:'06/17/2024',y:[35.40,35.41,35.34,35.36]},{ x:'06/18/2024',y:[35.37,35.37,35.27,35.28]},{ x:'06/19/2024',y:[35.37,35.47,35.37,35.47]},{ x:'06/20/2024',y:[35.37,35.40,35.33,35.36]},{ x:'06/21/2024',y:[35.30,35.30,35.25,35.26]},{ x:'06/24/2024',y:[35.29,35.35,35.26,35.28]},{ x:'06/25/2024',y:[35.43,35.48,35.42,35.46]},{ x:'06/26/2024',y:[35.44,35.46,35.37,35.45]},{ x:'06/27/2024',y:[35.19,35.23,35.15,35.21]},{ x:'06/28/2024',y:[35.33,35.40,35.20,35.25]},{ x:'07/01/2024',y:[34.85,34.95,34.85,34.95]},{ x:'07/02/2024',y:[34.92,35.00,34.92,34.99]},{ x:'07/03/2024',y:[35.07,35.28,35.07,35.26]},{ x:'07/04/2024',y:[35.48,35.48,35.39,35.41]},{ x:'07/05/2024',y:[35.37,35.39,35.31,35.37]},{ x:'07/12/2024',y:[35.77,35.92,35.77,35.92]},{ x:'07/15/2024',y:[35.87,35.95,35.87,35.92]},{ x:'07/16/2024',y:[36.03,36.10,36.02,36.07]},{ x:'07/17/2024',y:[36.17,36.27,36.17,36.26]},{ x:'07/18/2024',y:[36.18,36.24,36.18,36.22]},{ x:'07/19/2024',y:[35.67,35.78,35.67,35.76]},{ x:'07/22/2024',y:[35.73,35.84,35.69,35.82]},{ x:'07/23/2024',y:[35.79,35.79,35.64,35.71]},{ x:'07/26/2024',y:[35.60,35.63,35.54,35.54]},{ x:'07/29/2024',y:[35.70,35.82,35.69,35.79]},{ x:'07/30/2024',y:[35.86,35.86,35.79,35.81]},{ x:'07/31/2024',y:[35.81,35.92,35.81,35.87]},{ x:'08/01/2024',y:[36.09,36.16,36.06,36.09]},{ x:'08/02/2024',y:[36.20,36.37,36.18,36.21]},{ x:'08/05/2024',y:[36.64,36.70,36.30,36.46]},{ x:'08/06/2024',y:[36.20,36.23,36.00,36.15]},{ x:'08/07/2024',y:[36.04,36.06,35.96,36.01]},{ x:'08/08/2024',y:[35.92,35.96,35.74,35.76]},{ x:'08/09/2024',y:[35.72,35.72,35.42,35.52]},{ x:'08/12/2024',y:[35.65,35.80,35.62,35.78]},{ x:'08/13/2024',y:[35.84,35.87,35.77,35.79]},{ x:'08/14/2024',y:[36.06,36.06,35.93,35.97]} ] }], chart: { type: "candlestick", height: 350, toolbar: { show: !1 } }, plotOptions: { candlestick: { colors: { upward: chartCandlestickBasicColors[0], downward: chartCandlestickBasicColors[1] } } }, title: { text: "00724b 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());