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/23/2024',y:[0.95,0.95,0.90,0.93]},{ x:'01/24/2024',y:[0.00,0.00,0.00,0.00]},{ x:'01/25/2024',y:[0.00,0.00,0.00,0.00]},{ x:'01/26/2024',y:[0.86,0.91,0.86,0.91]},{ x:'01/29/2024',y:[0.89,0.96,0.87,0.87]},{ x:'01/30/2024',y:[0.88,0.90,0.88,0.90]},{ x:'01/31/2024',y:[1.16,1.16,1.16,1.16]},{ x:'02/01/2024',y:[1.11,1.13,1.11,1.13]},{ x:'02/02/2024',y:[0.00,0.00,0.00,0.00]},{ x:'02/05/2024',y:[1.28,1.28,1.28,1.28]},{ x:'02/15/2024',y:[0.00,0.00,0.00,0.00]},{ x:'02/16/2024',y:[0.00,0.00,0.00,0.00]},{ x:'02/19/2024',y:[2.01,2.12,2.01,2.12]},{ x:'02/20/2024',y:[2.22,2.22,2.00,2.05]},{ x:'02/21/2024',y:[2.13,2.48,2.13,2.20]},{ x:'02/22/2024',y:[2.38,2.53,2.06,2.09]},{ x:'02/23/2024',y:[1.86,2.02,1.86,2.02]},{ x:'02/26/2024',y:[1.70,1.77,1.70,1.77]},{ x:'02/27/2024',y:[1.92,1.95,1.64,1.64]},{ x:'02/29/2024',y:[1.65,1.83,1.65,1.83]},{ x:'03/01/2024',y:[1.81,2.28,1.81,2.25]},{ x:'03/04/2024',y:[2.21,2.39,2.10,2.18]},{ x:'03/05/2024',y:[3.00,3.00,2.35,2.50]},{ x:'03/06/2024',y:[2.31,2.76,2.31,2.64]},{ x:'03/07/2024',y:[2.85,3.16,2.51,2.51]},{ x:'03/08/2024',y:[2.49,2.49,2.08,2.11]},{ x:'03/11/2024',y:[2.36,2.78,2.36,2.67]},{ x:'03/12/2024',y:[2.69,2.86,2.66,2.86]},{ x:'03/13/2024',y:[2.71,2.71,2.31,2.44]},{ x:'03/14/2024',y:[2.13,2.31,2.04,2.07]},{ x:'03/15/2024',y:[2.27,2.48,2.23,2.48]},{ x:'03/18/2024',y:[2.31,2.79,2.31,2.69]},{ x:'03/19/2024',y:[2.63,2.87,2.41,2.57]},{ x:'03/20/2024',y:[2.46,2.50,2.13,2.13]},{ x:'03/21/2024',y:[2.03,2.05,1.89,2.00]},{ x:'03/22/2024',y:[1.92,2.27,1.86,2.27]},{ x:'03/25/2024',y:[2.43,2.47,2.25,2.34]},{ x:'03/26/2024',y:[2.42,2.42,2.00,2.06]},{ x:'03/27/2024',y:[2.08,2.08,1.88,1.94]},{ x:'03/28/2024',y:[1.87,1.90,1.73,1.76]},{ x:'03/29/2024',y:[1.78,1.78,1.67,1.70]},{ x:'04/01/2024',y:[1.90,1.90,1.74,1.82]},{ x:'04/02/2024',y:[1.86,2.00,1.86,1.95]},{ x:'04/03/2024',y:[2.11,2.30,1.94,2.18]},{ x:'04/08/2024',y:[1.95,1.95,1.84,1.84]},{ x:'04/09/2024',y:[1.75,1.75,1.72,1.72]},{ x:'04/10/2024',y:[1.71,1.71,1.71,1.71]},{ x:'04/11/2024',y:[1.67,1.67,1.54,1.54]},{ x:'04/12/2024',y:[1.61,1.61,1.36,1.36]},{ x:'04/15/2024',y:[1.32,1.35,1.25,1.28]},{ x:'04/16/2024',y:[1.11,1.11,1.03,1.03]},{ x:'04/17/2024',y:[1.10,1.23,1.08,1.19]},{ x:'04/18/2024',y:[1.18,1.20,1.16,1.16]},{ x:'04/19/2024',y:[1.10,1.10,0.81,0.81]},{ x:'04/22/2024',y:[0.82,0.82,0.78,0.78]},{ x:'04/23/2024',y:[0.84,0.88,0.84,0.88]},{ x:'04/24/2024',y:[0.99,1.03,0.97,0.99]},{ x:'04/25/2024',y:[0.92,0.92,0.84,0.84]},{ x:'04/26/2024',y:[0.93,0.93,0.87,0.87]},{ x:'04/29/2024',y:[0.90,1.17,0.90,1.17]} ] }], chart: { type: "candlestick", height: 350, toolbar: { show: !1 } }, plotOptions: { candlestick: { colors: { upward: chartCandlestickBasicColors[0], downward: chartCandlestickBasicColors[1] } } }, title: { text: "709994 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());