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/26/2024',y:[17.71,18.10,17.69,18.10]},{ x:'04/29/2024',y:[18.11,18.42,18.11,18.19]},{ x:'04/30/2024',y:[18.14,18.22,18.00,18.00]},{ x:'05/02/2024',y:[18.00,18.46,17.92,18.45]},{ x:'05/03/2024',y:[18.80,19.02,18.69,18.76]},{ x:'05/06/2024',y:[18.95,19.00,18.81,18.82]},{ x:'05/07/2024',y:[19.00,19.03,18.76,18.82]},{ x:'05/08/2024',y:[18.86,18.97,18.69,18.69]},{ x:'05/09/2024',y:[18.66,18.93,18.63,18.90]},{ x:'05/10/2024',y:[19.00,19.26,18.98,19.26]},{ x:'05/13/2024',y:[19.26,19.42,19.03,19.42]},{ x:'05/14/2024',y:[19.50,19.72,19.50,19.58]},{ x:'05/15/2024',y:[19.58,19.63,19.40,19.41]},{ x:'05/16/2024',y:[19.41,19.71,19.39,19.71]},{ x:'05/17/2024',y:[19.81,20.15,19.80,19.95]},{ x:'05/20/2024',y:[20.20,20.30,20.15,20.25]},{ x:'05/21/2024',y:[20.20,20.20,19.85,19.91]},{ x:'05/22/2024',y:[19.83,19.90,19.66,19.84]},{ x:'05/23/2024',y:[19.80,19.80,19.19,19.28]},{ x:'05/24/2024',y:[19.20,19.37,19.06,19.10]},{ x:'06/11/2024',y:[18.77,18.80,18.54,18.58]},{ x:'06/12/2024',y:[18.61,18.70,18.39,18.47]},{ x:'06/13/2024',y:[18.47,18.67,18.47,18.56]},{ x:'06/14/2024',y:[18.58,18.75,18.58,18.66]},{ x:'06/17/2024',y:[18.66,18.78,18.45,18.66]},{ x:'06/18/2024',y:[18.66,18.71,18.50,18.55]},{ x:'06/19/2024',y:[18.57,18.90,18.57,18.88]},{ x:'06/20/2024',y:[18.93,19.13,18.92,18.93]},{ x:'06/21/2024',y:[18.85,18.85,18.54,18.59]},{ x:'06/24/2024',y:[18.52,18.54,18.33,18.42]},{ x:'06/25/2024',y:[18.59,18.78,18.59,18.73]},{ x:'06/26/2024',y:[18.55,18.74,18.55,18.64]},{ x:'06/27/2024',y:[18.64,18.70,18.34,18.36]},{ x:'06/28/2024',y:[18.27,18.40,18.14,18.28]},{ x:'07/01/2024',y:[18.28,18.28,18.11,18.14]},{ x:'07/02/2024',y:[18.15,18.49,18.15,18.27]},{ x:'07/03/2024',y:[18.22,18.61,18.22,18.56]},{ x:'07/04/2024',y:[18.65,18.89,18.65,18.71]},{ x:'07/05/2024',y:[18.71,18.80,18.50,18.52]},{ x:'07/12/2024',y:[18.70,19.15,18.70,19.14]},{ x:'07/15/2024',y:[19.18,19.20,18.96,19.01]},{ x:'07/16/2024',y:[18.68,18.85,18.60,18.61]},{ x:'07/17/2024',y:[18.61,18.63,18.47,18.52]},{ x:'07/18/2024',y:[18.45,18.53,18.32,18.52]},{ x:'07/19/2024',y:[18.41,18.41,18.19,18.19]},{ x:'07/22/2024',y:[18.18,18.53,18.17,18.45]},{ x:'07/23/2024',y:[18.53,18.62,18.47,18.49]},{ x:'07/26/2024',y:[18.00,18.00,17.77,17.89]},{ x:'07/29/2024',y:[17.89,18.18,17.89,18.14]},{ x:'07/30/2024',y:[18.00,18.03,17.79,17.84]},{ x:'07/31/2024',y:[17.84,18.21,17.81,18.18]},{ x:'08/01/2024',y:[18.18,18.19,18.03,18.07]},{ x:'08/02/2024',y:[17.90,17.97,17.72,17.72]},{ x:'08/05/2024',y:[17.72,17.81,17.33,17.38]},{ x:'08/06/2024',y:[17.53,17.85,17.40,17.42]},{ x:'08/07/2024',y:[17.46,17.88,17.41,17.87]},{ x:'08/08/2024',y:[17.75,17.94,17.59,17.92]},{ x:'08/09/2024',y:[18.05,18.11,17.88,17.93]},{ x:'08/12/2024',y:[18.00,18.06,17.89,18.01]},{ x:'08/13/2024',y:[18.11,18.21,18.03,18.09]} ] }], chart: { type: "candlestick", height: 350, toolbar: { show: !1 } }, plotOptions: { candlestick: { colors: { upward: chartCandlestickBasicColors[0], downward: chartCandlestickBasicColors[1] } } }, title: { text: "00752 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());