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:[34.35,34.36,34.10,34.18]},{ x:'01/31/2023',y:[33.81,33.81,33.64,33.66]},{ x:'02/01/2023',y:[33.80,33.80,33.71,33.73]},{ x:'02/02/2023',y:[33.93,33.93,33.74,33.81]},{ x:'02/03/2023',y:[33.94,34.16,33.93,34.06]},{ x:'02/06/2023',y:[33.53,33.63,33.50,33.63]},{ x:'02/07/2023',y:[33.55,33.60,33.50,33.55]},{ x:'02/08/2023',y:[33.30,33.34,33.24,33.33]},{ x:'02/09/2023',y:[33.45,33.46,33.38,33.40]},{ x:'02/10/2023',y:[33.17,33.25,33.14,33.21]},{ x:'02/13/2023',y:[32.87,32.95,32.86,32.93]},{ x:'02/14/2023',y:[33.23,33.23,33.13,33.17]},{ x:'02/15/2023',y:[33.22,33.30,33.22,33.30]},{ x:'02/16/2023',y:[32.80,32.94,32.66,32.90]},{ x:'02/17/2023',y:[32.39,32.48,32.35,32.41]},{ x:'02/20/2023',y:[32.73,32.74,32.66,32.67]},{ x:'02/21/2023',y:[32.67,32.68,32.60,32.64]},{ x:'02/22/2023',y:[32.29,32.35,32.28,32.33]},{ x:'02/23/2023',y:[32.50,32.55,32.38,32.39]},{ x:'02/24/2023',y:[32.65,32.79,32.65,32.77]},{ x:'03/01/2023',y:[32.64,32.66,32.56,32.63]},{ x:'03/02/2023',y:[32.43,32.43,32.34,32.41]},{ x:'03/03/2023',y:[32.37,32.38,32.26,32.37]},{ x:'03/06/2023',y:[32.82,32.90,32.80,32.90]},{ x:'03/07/2023',y:[32.73,32.82,32.73,32.80]},{ x:'03/08/2023',y:[32.94,32.97,32.89,32.92]},{ x:'03/09/2023',y:[33.09,33.09,32.95,32.95]},{ x:'03/10/2023',y:[33.37,33.71,33.37,33.67]},{ x:'03/13/2023',y:[33.96,33.96,33.67,33.67]},{ x:'03/14/2023',y:[33.95,34.19,33.95,34.06]},{ x:'03/15/2023',y:[33.51,33.66,33.48,33.59]},{ x:'03/16/2023',y:[34.18,34.40,34.14,34.29]},{ x:'03/17/2023',y:[33.90,34.06,33.86,34.00]},{ x:'03/20/2023',y:[34.00,34.48,34.00,34.41]},{ x:'03/21/2023',y:[34.22,34.33,34.19,34.30]},{ x:'03/22/2023',y:[33.85,33.89,33.80,33.81]},{ x:'03/23/2023',y:[33.98,34.08,33.90,33.97]},{ x:'03/24/2023',y:[33.94,33.99,33.88,33.98]},{ x:'03/27/2023',y:[34.15,34.28,34.15,34.19]},{ x:'03/28/2023',y:[33.52,33.58,33.48,33.56]},{ x:'03/29/2023',y:[33.46,33.56,33.41,33.56]},{ x:'03/30/2023',y:[33.63,33.63,33.52,33.52]},{ x:'03/31/2023',y:[33.58,33.68,33.58,33.66]},{ x:'04/06/2023',y:[34.70,34.93,34.70,34.90]},{ x:'04/07/2023',y:[34.95,34.98,34.86,34.88]},{ x:'04/10/2023',y:[34.64,34.71,34.63,34.70]},{ x:'04/11/2023',y:[34.53,34.57,34.51,34.55]},{ x:'04/12/2023',y:[34.53,34.55,34.51,34.51]},{ x:'04/13/2023',y:[34.53,34.55,34.46,34.49]},{ x:'04/14/2023',y:[34.27,34.27,34.17,34.18]},{ x:'04/17/2023',y:[33.98,34.01,33.95,33.95]},{ x:'04/18/2023',y:[33.56,33.61,33.55,33.59]},{ x:'04/19/2023',y:[33.60,33.68,33.60,33.65]},{ x:'04/20/2023',y:[33.65,33.79,33.65,33.76]},{ x:'04/21/2023',y:[33.76,33.81,33.73,33.81]},{ x:'04/24/2023',y:[33.65,33.65,33.58,33.63]},{ x:'04/25/2023',y:[33.95,34.07,33.93,34.07]},{ x:'04/26/2023',y:[34.32,34.44,34.32,34.42]},{ x:'04/27/2023',y:[34.15,34.17,34.07,34.07]},{ x:'04/28/2023',y:[33.79,33.93,33.70,33.91]} ] }], chart: { type: "candlestick", height: 350, toolbar: { show: !1 } }, plotOptions: { candlestick: { colors: { upward: chartCandlestickBasicColors[0], downward: chartCandlestickBasicColors[1] } } }, title: { text: "00696b 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());