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:[13.59,13.80,13.52,13.72]},{ x:'04/26/2024',y:[13.76,14.10,13.73,14.10]},{ x:'04/29/2024',y:[14.17,14.60,14.03,14.44]},{ x:'04/30/2024',y:[14.38,14.54,14.31,14.33]},{ x:'05/02/2024',y:[14.26,14.54,14.17,14.54]},{ x:'05/03/2024',y:[14.68,14.74,14.56,14.60]},{ x:'05/06/2024',y:[14.68,14.84,14.52,14.52]},{ x:'05/07/2024',y:[14.65,14.70,14.52,14.70]},{ x:'05/08/2024',y:[14.70,14.71,14.50,14.54]},{ x:'05/09/2024',y:[14.52,14.67,14.51,14.57]},{ x:'05/10/2024',y:[14.71,14.78,14.49,14.66]},{ x:'05/13/2024',y:[14.52,14.56,14.30,14.55]},{ x:'05/14/2024',y:[14.54,14.56,14.33,14.33]},{ x:'05/15/2024',y:[14.35,14.47,14.21,14.26]},{ x:'05/16/2024',y:[14.30,14.48,14.13,14.42]},{ x:'05/17/2024',y:[14.42,14.59,14.37,14.40]},{ x:'05/20/2024',y:[14.90,15.05,14.81,14.88]},{ x:'05/21/2024',y:[14.89,14.89,14.73,14.84]},{ x:'05/22/2024',y:[14.80,14.91,14.73,14.85]},{ x:'05/23/2024',y:[14.77,14.79,14.51,14.51]},{ x:'05/24/2024',y:[14.44,14.58,14.29,14.29]},{ x:'06/11/2024',y:[13.91,13.91,13.45,13.47]},{ x:'06/12/2024',y:[13.51,13.61,13.45,13.49]},{ x:'06/13/2024',y:[13.52,13.60,13.42,13.43]},{ x:'06/14/2024',y:[13.39,13.48,13.22,13.46]},{ x:'06/17/2024',y:[13.54,13.59,13.41,13.49]},{ x:'06/18/2024',y:[13.58,13.64,13.48,13.53]},{ x:'06/19/2024',y:[13.59,13.67,13.48,13.55]},{ x:'06/20/2024',y:[13.58,13.68,13.48,13.48]},{ x:'06/21/2024',y:[13.44,13.52,13.11,13.20]},{ x:'06/24/2024',y:[13.19,13.50,13.04,13.42]},{ x:'06/25/2024',y:[13.41,13.46,13.32,13.40]},{ x:'06/26/2024',y:[13.28,13.35,13.22,13.22]},{ x:'06/27/2024',y:[13.32,13.36,13.11,13.23]},{ x:'06/28/2024',y:[13.19,13.42,13.16,13.33]},{ x:'07/01/2024',y:[13.23,13.29,13.06,13.20]},{ x:'07/02/2024',y:[13.26,13.60,13.22,13.55]},{ x:'07/03/2024',y:[13.55,13.63,13.43,13.53]},{ x:'07/04/2024',y:[13.57,13.73,13.48,13.48]},{ x:'07/05/2024',y:[13.47,13.53,12.96,12.98]},{ x:'07/12/2024',y:[13.49,13.64,13.49,13.61]},{ x:'07/15/2024',y:[13.63,13.77,13.57,13.72]},{ x:'07/16/2024',y:[13.69,13.80,13.64,13.71]},{ x:'07/17/2024',y:[13.77,13.95,13.68,13.84]},{ x:'07/18/2024',y:[13.90,14.10,13.86,14.07]},{ x:'07/19/2024',y:[13.98,14.13,13.82,14.04]},{ x:'07/22/2024',y:[14.20,14.30,13.83,13.83]},{ x:'07/23/2024',y:[13.97,14.02,13.77,13.77]},{ x:'07/26/2024',y:[13.39,13.39,13.01,13.06]},{ x:'07/29/2024',y:[13.17,13.19,12.97,13.10]},{ x:'07/30/2024',y:[13.00,13.02,12.72,12.72]},{ x:'07/31/2024',y:[12.79,13.32,12.77,13.29]},{ x:'08/01/2024',y:[13.30,13.30,13.02,13.05]},{ x:'08/02/2024',y:[12.89,13.01,12.79,12.84]},{ x:'08/05/2024',y:[12.72,12.98,12.58,12.73]},{ x:'08/06/2024',y:[12.82,12.89,12.33,12.33]},{ x:'08/07/2024',y:[12.45,12.64,12.37,12.61]},{ x:'08/08/2024',y:[12.46,12.69,12.37,12.56]},{ x:'08/09/2024',y:[12.63,12.73,12.53,12.57]},{ x:'08/12/2024',y:[12.54,12.62,12.49,12.56]} ] }], chart: { type: "candlestick", height: 350, toolbar: { show: !1 } }, plotOptions: { candlestick: { colors: { upward: chartCandlestickBasicColors[0], downward: chartCandlestickBasicColors[1] } } }, title: { text: "00637l 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());