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:'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]},{ x:'05/25/2023',y:[34.71,34.71,34.62,34.62]},{ x:'05/26/2023',y:[34.44,34.45,34.37,34.41]},{ x:'05/29/2023',y:[34.35,34.35,34.29,34.34]},{ x:'05/30/2023',y:[34.40,34.40,34.35,34.36]},{ x:'05/31/2023',y:[34.58,34.78,34.58,34.75]},{ x:'06/01/2023',y:[34.83,34.83,34.74,34.76]},{ x:'06/02/2023',y:[34.85,34.86,34.79,34.85]},{ x:'06/05/2023',y:[34.57,34.57,34.54,34.55]},{ x:'06/06/2023',y:[34.60,34.66,34.60,34.62]},{ x:'06/07/2023',y:[34.72,34.74,34.72,34.74]},{ x:'06/08/2023',y:[34.46,34.48,34.45,34.47]},{ x:'06/09/2023',y:[34.60,34.66,34.60,34.66]},{ x:'06/12/2023',y:[34.58,34.58,34.58,34.58]},{ x:'06/13/2023',y:[34.66,34.70,34.61,34.65]},{ x:'06/14/2023',y:[34.35,34.40,34.35,34.39]},{ x:'06/15/2023',y:[34.42,34.42,34.35,34.38]},{ x:'06/16/2023',y:[34.46,34.62,34.46,34.55]},{ x:'06/19/2023',y:[34.55,34.57,34.53,34.57]} ] }], 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());