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:[35.90,35.90,35.81,35.87]},{ x:'04/29/2024',y:[35.98,36.21,35.98,36.14]},{ x:'04/30/2024',y:[36.17,36.32,36.17,36.29]},{ x:'05/02/2024',y:[36.20,36.29,36.18,36.27]},{ x:'05/03/2024',y:[36.17,36.25,36.17,36.22]},{ x:'05/06/2024',y:[36.40,36.50,36.40,36.48]},{ x:'05/07/2024',y:[36.65,36.83,36.64,36.80]},{ x:'05/08/2024',y:[36.86,36.92,36.84,36.84]},{ x:'05/09/2024',y:[36.66,36.70,36.63,36.67]},{ x:'05/10/2024',y:[36.88,36.93,36.86,36.86]},{ x:'05/13/2024',y:[36.79,36.82,36.75,36.76]},{ x:'05/14/2024',y:[36.76,36.77,36.73,36.74]},{ x:'05/15/2024',y:[36.86,36.86,36.73,36.74]},{ x:'05/16/2024',y:[37.14,37.16,37.06,37.11]},{ x:'05/17/2024',y:[36.96,37.01,36.93,36.95]},{ x:'05/20/2024',y:[36.91,36.91,36.86,36.86]},{ x:'05/21/2024',y:[36.86,36.92,36.84,36.91]},{ x:'05/22/2024',y:[36.96,37.01,36.93,36.93]},{ x:'05/23/2024',y:[36.93,36.97,36.90,36.90]},{ x:'05/24/2024',y:[36.85,36.91,36.75,36.78]},{ x:'06/11/2024',y:[37.00,37.02,36.93,36.98]},{ x:'06/12/2024',y:[37.01,37.14,37.01,37.12]},{ x:'06/13/2024',y:[37.31,37.37,37.29,37.33]},{ x:'06/14/2024',y:[37.57,37.65,37.56,37.56]},{ x:'06/17/2024',y:[37.47,37.50,37.45,37.46]},{ x:'06/18/2024',y:[37.39,37.42,37.36,37.39]},{ x:'06/19/2024',y:[37.52,37.57,37.50,37.56]},{ x:'06/20/2024',y:[37.48,37.48,37.30,37.31]},{ x:'06/21/2024',y:[37.22,37.22,37.18,37.19]},{ x:'06/24/2024',y:[37.23,37.29,37.21,37.26]},{ x:'06/25/2024',y:[37.43,37.48,37.42,37.48]},{ x:'06/26/2024',y:[37.47,37.47,37.37,37.43]},{ x:'06/27/2024',y:[37.21,37.21,37.13,37.18]},{ x:'06/28/2024',y:[37.30,37.33,37.16,37.20]},{ x:'07/01/2024',y:[36.83,36.88,36.81,36.88]},{ x:'07/02/2024',y:[36.90,36.95,36.87,36.94]},{ x:'07/03/2024',y:[37.04,37.21,37.03,37.20]},{ x:'07/04/2024',y:[37.34,37.39,37.25,37.29]},{ x:'07/05/2024',y:[37.24,37.25,37.17,37.25]},{ x:'07/12/2024',y:[37.71,37.88,37.71,37.87]},{ x:'07/15/2024',y:[37.86,37.90,37.81,37.89]},{ x:'07/16/2024',y:[37.88,37.91,37.82,37.84]},{ x:'07/17/2024',y:[37.93,38.08,37.93,38.03]},{ x:'07/18/2024',y:[38.01,38.02,37.96,37.99]},{ x:'07/19/2024',y:[37.99,38.06,37.96,38.00]},{ x:'07/22/2024',y:[38.00,38.12,37.97,38.08]},{ x:'07/23/2024',y:[37.99,38.00,37.94,37.97]},{ x:'07/26/2024',y:[37.90,37.91,37.70,37.75]},{ x:'07/29/2024',y:[37.92,38.07,37.92,38.04]},{ x:'07/30/2024',y:[38.09,38.12,38.07,38.07]},{ x:'07/31/2024',y:[38.10,38.18,38.10,38.14]},{ x:'08/01/2024',y:[38.31,38.48,38.31,38.39]},{ x:'08/02/2024',y:[38.51,38.73,38.51,38.60]},{ x:'08/05/2024',y:[38.96,39.13,38.72,38.79]},{ x:'08/06/2024',y:[38.22,38.52,38.22,38.40]},{ x:'08/07/2024',y:[38.33,38.35,38.20,38.24]},{ x:'08/08/2024',y:[38.18,38.20,38.00,38.01]},{ x:'08/09/2024',y:[37.95,37.95,37.74,37.82]},{ x:'08/12/2024',y:[37.95,38.08,37.93,38.08]},{ x:'08/13/2024',y:[38.09,38.16,38.08,38.09]} ] }], chart: { type: "candlestick", height: 350, toolbar: { show: !1 } }, plotOptions: { candlestick: { colors: { upward: chartCandlestickBasicColors[0], downward: chartCandlestickBasicColors[1] } } }, title: { text: "00773b 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());