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:'01/22/2024',y:[35.80,35.84,35.74,35.84]},{ x:'01/23/2024',y:[35.85,35.87,35.76,35.86]},{ x:'01/24/2024',y:[35.64,35.65,35.56,35.65]},{ x:'01/25/2024',y:[35.42,35.53,35.38,35.53]},{ x:'01/26/2024',y:[35.70,35.75,35.70,35.74]},{ x:'01/29/2024',y:[35.74,35.74,35.61,35.65]},{ x:'01/30/2024',y:[35.76,35.88,35.72,35.85]},{ x:'01/31/2024',y:[35.87,36.09,35.87,36.09]},{ x:'02/01/2024',y:[36.23,36.33,36.18,36.27]},{ x:'02/02/2024',y:[36.34,36.36,36.20,36.24]},{ x:'02/05/2024',y:[35.90,35.99,35.86,35.95]},{ x:'02/15/2024',y:[35.29,35.34,35.23,35.34]},{ x:'02/16/2024',y:[35.12,35.15,35.08,35.15]},{ x:'02/19/2024',y:[35.09,35.10,35.04,35.08]},{ x:'02/20/2024',y:[35.05,35.11,35.00,35.10]},{ x:'02/21/2024',y:[35.10,35.20,35.10,35.20]},{ x:'02/22/2024',y:[35.09,35.20,35.06,35.15]},{ x:'02/23/2024',y:[35.23,35.28,35.23,35.26]},{ x:'02/26/2024',y:[35.60,35.62,35.55,35.60]},{ x:'02/27/2024',y:[35.37,35.37,35.22,35.28]},{ x:'02/29/2024',y:[35.25,35.30,35.20,35.21]},{ x:'03/01/2024',y:[35.26,35.27,35.17,35.19]},{ x:'03/04/2024',y:[35.33,35.36,35.26,35.31]},{ x:'03/05/2024',y:[35.32,35.35,35.25,35.35]},{ x:'03/06/2024',y:[35.50,35.58,35.48,35.56]},{ x:'03/07/2024',y:[35.75,35.78,35.68,35.73]},{ x:'03/08/2024',y:[35.75,35.80,35.71,35.78]},{ x:'03/11/2024',y:[35.78,35.88,35.78,35.87]},{ x:'03/12/2024',y:[35.83,35.87,35.81,35.85]},{ x:'03/13/2024',y:[35.75,35.75,35.65,35.72]},{ x:'03/14/2024',y:[35.69,35.71,35.65,35.65]},{ x:'03/15/2024',y:[35.39,35.51,35.37,35.51]},{ x:'03/18/2024',y:[35.36,35.38,35.30,35.31]},{ x:'03/19/2024',y:[35.30,35.43,35.30,35.41]},{ x:'03/20/2024',y:[35.46,35.54,35.45,35.53]},{ x:'03/21/2024',y:[35.53,35.54,35.44,35.48]},{ x:'03/22/2024',y:[35.65,35.90,35.65,35.89]},{ x:'03/25/2024',y:[36.03,36.10,35.80,35.89]},{ x:'03/26/2024',y:[35.80,35.85,35.70,35.83]},{ x:'03/27/2024',y:[35.78,35.84,35.78,35.83]},{ x:'03/28/2024',y:[35.92,36.03,35.92,36.00]},{ x:'03/29/2024',y:[36.13,36.13,36.06,36.09]},{ x:'04/01/2024',y:[36.07,36.12,36.02,36.10]},{ x:'04/02/2024',y:[35.79,35.83,35.78,35.79]},{ x:'04/03/2024',y:[35.61,35.69,35.58,35.61]},{ x:'04/08/2024',y:[35.46,35.47,35.38,35.40]},{ x:'04/09/2024',y:[35.44,35.61,35.44,35.55]},{ x:'04/10/2024',y:[35.67,35.70,35.60,35.67]},{ x:'04/11/2024',y:[35.26,35.29,35.21,35.27]},{ x:'04/12/2024',y:[35.17,35.19,35.12,35.17]},{ x:'04/15/2024',y:[35.22,35.27,35.14,35.16]},{ x:'04/16/2024',y:[35.05,35.05,34.91,34.99]},{ x:'04/17/2024',y:[34.85,34.85,34.69,34.72]},{ x:'04/18/2024',y:[34.77,34.84,34.72,34.76]},{ x:'04/19/2024',y:[34.75,35.23,34.75,34.97]},{ x:'04/22/2024',y:[34.81,34.81,34.70,34.79]},{ x:'04/23/2024',y:[34.86,35.03,34.86,35.01]},{ x:'04/24/2024',y:[34.98,34.98,34.86,34.93]},{ x:'04/25/2024',y:[34.85,34.85,34.75,34.76]},{ x:'04/26/2024',y:[34.65,34.65,34.57,34.63]} ] }], chart: { type: "candlestick", height: 350, toolbar: { show: !1 } }, plotOptions: { candlestick: { colors: { upward: chartCandlestickBasicColors[0], downward: chartCandlestickBasicColors[1] } } }, title: { text: "00772b 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());