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/10/2023',y:[34.76,34.76,34.68,34.70]},{ x:'01/11/2023',y:[34.68,34.68,34.53,34.58]},{ x:'01/12/2023',y:[34.62,34.72,34.62,34.72]},{ x:'01/13/2023',y:[34.85,34.87,34.82,34.85]},{ x:'01/16/2023',y:[34.66,34.66,34.60,34.60]},{ x:'01/17/2023',y:[34.62,34.64,34.61,34.64]},{ x:'01/30/2023',y:[34.64,34.64,34.40,34.46]},{ x:'01/31/2023',y:[34.33,34.33,34.22,34.23]},{ x:'02/01/2023',y:[34.28,34.36,34.28,34.29]},{ x:'02/02/2023',y:[34.32,34.32,34.14,34.15]},{ x:'02/03/2023',y:[34.24,34.28,34.21,34.21]},{ x:'02/06/2023',y:[34.09,34.13,33.97,34.03]},{ x:'02/07/2023',y:[33.93,33.97,33.90,33.95]},{ x:'02/08/2023',y:[33.91,33.94,33.85,33.94]},{ x:'02/09/2023',y:[34.01,34.01,33.95,33.99]},{ x:'02/10/2023',y:[33.88,33.95,33.88,33.95]},{ x:'02/13/2023',y:[33.78,33.85,33.78,33.81]},{ x:'02/14/2023',y:[33.88,33.93,33.86,33.93]},{ x:'02/15/2023',y:[33.81,33.94,33.81,33.94]},{ x:'02/16/2023',y:[33.86,33.86,33.72,33.77]},{ x:'02/17/2023',y:[33.63,33.66,33.58,33.65]},{ x:'02/20/2023',y:[33.76,33.80,33.74,33.80]},{ x:'02/21/2023',y:[33.76,33.78,33.75,33.76]},{ 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]} ] }], 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());