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/30/2023',y:[33.96,34.01,33.86,33.91]},{ x:'01/31/2023',y:[33.68,33.68,33.31,33.41]},{ x:'02/01/2023',y:[33.67,33.71,33.65,33.71]},{ x:'02/02/2023',y:[33.80,33.80,33.63,33.63]},{ x:'02/03/2023',y:[33.81,33.99,33.81,33.93]},{ x:'02/06/2023',y:[33.66,33.66,33.46,33.50]},{ x:'02/07/2023',y:[33.47,33.47,33.34,33.36]},{ x:'02/08/2023',y:[33.01,33.09,33.01,33.08]},{ x:'02/09/2023',y:[33.27,33.29,33.18,33.18]},{ x:'02/10/2023',y:[32.82,32.85,32.82,32.85]},{ x:'02/13/2023',y:[32.62,32.62,32.50,32.51]},{ x:'02/14/2023',y:[32.68,32.71,32.67,32.70]},{ x:'02/15/2023',y:[32.82,32.89,32.81,32.87]},{ x:'02/16/2023',y:[32.64,32.64,32.59,32.63]},{ x:'02/17/2023',y:[32.20,32.20,32.08,32.15]},{ x:'02/20/2023',y:[32.30,32.36,32.30,32.34]},{ x:'02/21/2023',y:[32.33,32.33,32.33,32.33]},{ x:'02/22/2023',y:[32.00,32.04,31.92,32.04]},{ x:'02/23/2023',y:[32.14,32.14,32.00,32.00]},{ x:'02/24/2023',y:[32.30,32.51,32.30,32.50]},{ x:'03/01/2023',y:[32.40,32.40,32.22,32.24]},{ x:'03/02/2023',y:[32.00,32.00,31.96,32.00]},{ x:'03/03/2023',y:[31.98,32.13,31.98,32.13]},{ x:'03/06/2023',y:[32.64,32.76,32.64,32.75]},{ x:'03/07/2023',y:[32.69,32.75,32.69,32.75]},{ x:'03/08/2023',y:[32.77,32.77,32.66,32.69]},{ x:'03/09/2023',y:[32.64,32.64,32.64,32.64]},{ x:'03/10/2023',y:[32.82,33.04,32.82,33.04]},{ x:'03/13/2023',y:[32.97,33.02,32.90,32.90]},{ x:'03/14/2023',y:[33.11,33.11,32.86,32.93]},{ x:'03/15/2023',y:[32.93,32.93,32.89,32.89]},{ x:'03/16/2023',y:[33.28,33.40,33.28,33.40]},{ x:'03/17/2023',y:[33.23,33.42,33.23,33.40]},{ x:'03/20/2023',y:[33.21,33.39,33.21,33.39]},{ x:'03/21/2023',y:[33.42,33.45,33.40,33.45]},{ x:'03/22/2023',y:[33.50,33.55,33.49,33.55]},{ x:'03/23/2023',y:[33.52,33.52,33.51,33.51]},{ x:'03/24/2023',y:[33.50,33.50,33.50,33.50]},{ x:'03/27/2023',y:[33.63,33.72,33.63,33.67]},{ x:'03/28/2023',y:[33.24,33.24,33.16,33.18]},{ x:'03/29/2023',y:[33.07,33.14,33.05,33.14]},{ x:'03/30/2023',y:[33.14,33.44,33.14,33.38]},{ x:'03/31/2023',y:[33.48,33.51,33.46,33.51]},{ x:'04/06/2023',y:[34.26,34.46,34.26,34.45]},{ x:'04/07/2023',y:[34.45,34.45,34.38,34.38]},{ x:'04/10/2023',y:[34.25,34.25,34.24,34.24]},{ x:'04/11/2023',y:[34.13,34.21,34.13,34.21]},{ x:'04/12/2023',y:[34.29,34.29,34.27,34.27]},{ x:'04/13/2023',y:[34.18,34.18,34.12,34.13]},{ x:'04/14/2023',y:[34.07,34.07,34.04,34.04]},{ x:'04/17/2023',y:[33.98,33.98,33.90,33.93]},{ x:'04/18/2023',y:[33.62,33.67,33.62,33.65]},{ x:'04/19/2023',y:[33.81,33.83,33.81,33.82]},{ x:'04/20/2023',y:[33.82,33.82,33.80,33.81]},{ x:'04/21/2023',y:[33.48,33.51,33.48,33.51]},{ x:'04/24/2023',y:[33.47,33.50,33.45,33.48]},{ x:'04/25/2023',y:[33.78,33.90,33.78,33.90]},{ x:'04/26/2023',y:[34.15,34.15,34.06,34.09]},{ x:'04/27/2023',y:[33.88,33.88,33.81,33.81]},{ x:'04/28/2023',y:[33.78,33.78,33.57,33.72]} ] }], chart: { type: "candlestick", height: 350, toolbar: { show: !1 } }, plotOptions: { candlestick: { colors: { upward: chartCandlestickBasicColors[0], downward: chartCandlestickBasicColors[1] } } }, title: { text: "00723b 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());