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/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]},{ x:'05/02/2023',y:[33.42,33.44,33.38,33.38]},{ x:'05/03/2023',y:[33.69,33.69,33.66,33.66]},{ x:'05/04/2023',y:[33.66,33.72,33.66,33.72]},{ x:'05/05/2023',y:[33.43,33.43,33.39,33.41]},{ x:'05/08/2023',y:[33.41,33.41,33.41,33.41]},{ x:'05/09/2023',y:[33.04,33.08,33.04,33.08]},{ x:'05/10/2023',y:[33.05,33.05,33.05,33.05]},{ x:'05/11/2023',y:[33.28,33.31,33.26,33.28]},{ x:'05/12/2023',y:[33.64,33.69,33.64,33.68]},{ x:'05/15/2023',y:[33.50,33.50,33.44,33.44]},{ x:'05/16/2023',y:[33.15,33.15,33.11,33.12]},{ x:'05/17/2023',y:[32.93,32.94,32.90,32.94]},{ x:'05/18/2023',y:[32.90,32.90,32.87,32.87]},{ x:'05/19/2023',y:[32.59,32.65,32.59,32.64]},{ x:'05/22/2023',y:[32.52,32.58,32.52,32.58]},{ x:'05/23/2023',y:[32.47,32.48,32.47,32.48]},{ x:'05/24/2023',y:[32.54,32.68,32.54,32.65]},{ x:'05/25/2023',y:[32.50,32.50,32.45,32.47]},{ x:'05/26/2023',y:[32.42,32.45,32.41,32.45]},{ x:'05/29/2023',y:[32.61,32.61,32.53,32.53]},{ x:'05/30/2023',y:[32.64,32.73,32.64,32.73]},{ x:'05/31/2023',y:[32.91,33.05,32.91,33.05]},{ x:'06/01/2023',y:[33.02,33.07,33.02,33.07]},{ x:'06/02/2023',y:[33.24,33.24,33.24,33.24]},{ x:'06/05/2023',y:[33.10,33.13,33.10,33.11]},{ x:'06/06/2023',y:[33.11,33.12,33.11,33.12]},{ x:'06/07/2023',y:[33.31,33.36,33.31,33.36]},{ x:'06/08/2023',y:[32.91,32.91,32.88,32.91]},{ x:'06/09/2023',y:[33.06,33.14,33.06,33.09]},{ x:'06/12/2023',y:[33.17,33.17,33.12,33.12]},{ x:'06/13/2023',y:[33.28,33.28,33.27,33.28]},{ x:'06/14/2023',y:[33.15,33.20,33.15,33.16]},{ x:'06/15/2023',y:[33.31,33.35,33.25,33.25]},{ x:'06/16/2023',y:[33.42,33.64,33.42,33.62]},{ x:'06/19/2023',y:[33.64,33.83,33.64,33.83]},{ x:'06/20/2023',y:[33.64,33.78,33.64,33.77]},{ x:'06/21/2023',y:[34.10,34.17,34.10,34.12]},{ x:'06/26/2023',y:[34.18,34.19,34.18,34.18]},{ x:'06/27/2023',y:[34.10,34.10,34.06,34.09]},{ x:'06/28/2023',y:[34.02,34.02,34.02,34.02]},{ x:'06/29/2023',y:[34.19,34.22,34.18,34.18]},{ x:'06/30/2023',y:[33.89,33.91,33.89,33.91]},{ x:'07/03/2023',y:[34.22,34.25,34.22,34.25]},{ x:'07/04/2023',y:[34.25,34.25,34.25,34.25]},{ x:'07/05/2023',y:[34.25,34.28,34.21,34.21]},{ x:'07/06/2023',y:[34.06,34.06,33.88,33.90]},{ x:'07/07/2023',y:[33.50,33.54,33.50,33.53]},{ x:'07/10/2023',y:[33.42,33.42,33.34,33.39]},{ x:'07/11/2023',y:[33.47,33.64,33.47,33.64]},{ x:'07/12/2023',y:[33.79,33.79,33.73,33.73]} ] }], 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());