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:'02/22/2023',y:[33.61,33.67,33.61,33.66]},{ x:'02/23/2023',y:[33.62,33.62,33.53,33.55]},{ x:'02/24/2023',y:[33.61,33.76,33.61,33.76]},{ x:'03/01/2023',y:[33.74,33.81,33.74,33.76]},{ x:'03/02/2023',y:[33.53,33.59,33.49,33.57]},{ x:'03/03/2023',y:[33.52,33.56,33.49,33.50]},{ x:'03/06/2023',y:[33.69,33.76,33.68,33.68]},{ x:'03/07/2023',y:[33.67,33.71,33.63,33.68]},{ x:'03/08/2023',y:[33.75,33.78,33.70,33.78]},{ x:'03/09/2023',y:[33.83,33.85,33.80,33.82]},{ x:'03/10/2023',y:[34.25,34.40,34.21,34.40]},{ x:'03/13/2023',y:[34.54,34.60,34.42,34.43]},{ x:'03/14/2023',y:[34.72,34.73,34.60,34.66]},{ x:'03/15/2023',y:[34.39,34.43,34.39,34.41]},{ x:'03/16/2023',y:[34.93,35.11,34.93,35.01]},{ x:'03/17/2023',y:[34.67,34.68,34.65,34.68]},{ x:'03/20/2023',y:[34.75,35.06,34.75,35.05]},{ x:'03/21/2023',y:[34.92,35.03,34.92,35.01]},{ x:'03/22/2023',y:[34.58,34.67,34.57,34.58]},{ x:'03/23/2023',y:[34.88,34.89,34.79,34.81]},{ x:'03/24/2023',y:[34.94,35.05,34.94,35.00]},{ x:'03/27/2023',y:[35.05,35.09,35.00,35.01]},{ x:'03/28/2023',y:[34.66,34.68,34.65,34.65]},{ x:'03/29/2023',y:[34.60,34.67,34.55,34.63]},{ x:'03/30/2023',y:[34.64,34.68,34.64,34.65]},{ x:'03/31/2023',y:[34.65,34.65,34.58,34.64]},{ x:'04/06/2023',y:[35.34,35.48,35.34,35.46]},{ x:'04/07/2023',y:[35.40,35.41,35.35,35.35]},{ x:'04/10/2023',y:[35.20,35.22,35.20,35.22]},{ x:'04/11/2023',y:[35.19,35.20,35.18,35.19]},{ x:'04/12/2023',y:[35.19,35.19,35.16,35.19]},{ x:'04/13/2023',y:[35.21,35.25,35.21,35.22]},{ x:'04/14/2023',y:[35.12,35.14,35.06,35.06]},{ x:'04/17/2023',y:[34.98,34.99,34.93,34.93]},{ x:'04/18/2023',y:[34.78,34.80,34.69,34.73]},{ x:'04/19/2023',y:[34.73,34.80,34.73,34.76]},{ x:'04/20/2023',y:[34.80,34.93,34.80,34.93]},{ x:'04/21/2023',y:[34.84,34.90,34.84,34.90]},{ x:'04/24/2023',y:[34.87,34.87,34.83,34.87]},{ x:'04/25/2023',y:[35.02,35.13,35.02,35.10]},{ x:'04/26/2023',y:[35.41,35.41,35.35,35.39]},{ x:'04/27/2023',y:[35.31,35.31,35.21,35.21]},{ x:'04/28/2023',y:[35.09,35.12,35.04,35.12]},{ x:'05/02/2023',y:[35.17,35.17,35.11,35.14]},{ x:'05/03/2023',y:[35.41,35.41,35.34,35.34]},{ x:'05/04/2023',y:[35.65,35.65,35.56,35.56]},{ x:'05/05/2023',y:[35.44,35.44,35.38,35.38]},{ x:'05/08/2023',y:[35.40,35.42,35.33,35.41]},{ x:'05/09/2023',y:[35.25,35.25,35.21,35.23]},{ x:'05/10/2023',y:[35.22,35.24,35.20,35.20]},{ x:'05/11/2023',y:[35.32,35.40,35.32,35.40]},{ x:'05/12/2023',y:[35.62,35.65,35.62,35.65]},{ x:'05/15/2023',y:[35.43,35.45,35.39,35.43]},{ x:'05/16/2023',y:[35.39,35.43,35.33,35.40]},{ x:'05/17/2023',y:[35.35,35.35,35.27,35.32]},{ x:'05/18/2023',y:[35.10,35.13,35.10,35.11]},{ x:'05/19/2023',y:[34.87,34.89,34.84,34.84]},{ x:'05/22/2023',y:[34.67,34.70,34.64,34.69]},{ x:'05/23/2023',y:[34.60,34.65,34.60,34.60]},{ x:'05/24/2023',y:[34.81,34.81,34.77,34.77]} ] }], chart: { type: "candlestick", height: 350, toolbar: { show: !1 } }, plotOptions: { candlestick: { colors: { upward: chartCandlestickBasicColors[0], downward: chartCandlestickBasicColors[1] } } }, title: { text: "00695b 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());