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:[1.23,1.37,1.23,1.37]},{ x:'01/24/2024',y:[1.47,1.47,1.35,1.35]},{ x:'01/25/2024',y:[1.26,1.26,1.26,1.26]},{ x:'01/26/2024',y:[1.11,1.11,1.11,1.11]},{ x:'01/29/2024',y:[1.02,1.02,1.02,1.02]},{ x:'01/30/2024',y:[1.02,1.02,1.02,1.02]},{ x:'01/31/2024',y:[1.11,1.12,1.11,1.12]},{ x:'02/01/2024',y:[1.00,1.14,1.00,1.14]},{ x:'02/02/2024',y:[1.16,1.16,1.12,1.12]},{ x:'02/05/2024',y:[1.11,1.11,1.11,1.11]},{ x:'02/15/2024',y:[1.25,1.38,1.15,1.22]},{ x:'02/16/2024',y:[1.15,1.15,1.05,1.10]},{ x:'02/19/2024',y:[1.06,1.37,1.03,1.36]},{ x:'02/20/2024',y:[1.34,1.34,1.24,1.31]},{ x:'02/21/2024',y:[1.32,1.60,1.32,1.60]},{ x:'02/22/2024',y:[1.91,2.28,1.77,2.28]},{ x:'02/23/2024',y:[2.48,2.57,2.33,2.57]},{ x:'02/26/2024',y:[2.21,2.21,1.97,2.12]},{ x:'02/27/2024',y:[2.55,2.87,2.55,2.59]},{ x:'02/29/2024',y:[2.40,2.49,2.40,2.49]},{ x:'03/01/2024',y:[2.79,2.79,2.79,2.79]},{ x:'03/04/2024',y:[2.77,2.77,2.61,2.61]},{ x:'03/05/2024',y:[2.34,2.38,2.34,2.38]},{ x:'03/06/2024',y:[2.46,2.60,2.46,2.60]},{ x:'03/07/2024',y:[2.63,2.68,2.22,2.22]},{ x:'03/08/2024',y:[2.25,2.25,2.23,2.23]},{ x:'03/11/2024',y:[2.30,2.30,1.87,2.05]},{ x:'03/12/2024',y:[2.13,2.18,2.11,2.18]},{ x:'03/13/2024',y:[2.39,2.39,1.70,1.70]},{ x:'03/14/2024',y:[0.00,0.00,0.00,0.00]},{ x:'03/15/2024',y:[1.69,1.79,1.69,1.79]},{ x:'03/18/2024',y:[0.00,0.00,0.00,0.00]},{ x:'03/19/2024',y:[2.17,2.17,2.17,2.17]},{ x:'03/20/2024',y:[0.00,0.00,0.00,0.00]},{ x:'03/21/2024',y:[0.00,0.00,0.00,0.00]},{ x:'03/22/2024',y:[0.00,0.00,0.00,0.00]},{ x:'03/25/2024',y:[3.40,3.80,3.40,3.80]},{ x:'03/26/2024',y:[4.04,4.04,4.04,4.04]},{ x:'03/27/2024',y:[0.00,0.00,0.00,0.00]},{ x:'03/28/2024',y:[4.09,4.09,4.09,4.09]},{ x:'03/29/2024',y:[4.56,4.56,4.56,4.56]},{ x:'04/01/2024',y:[0.00,0.00,0.00,0.00]},{ x:'04/02/2024',y:[0.00,0.00,0.00,0.00]},{ x:'04/03/2024',y:[0.00,0.00,0.00,0.00]},{ x:'04/08/2024',y:[0.00,0.00,0.00,0.00]},{ x:'04/09/2024',y:[0.00,0.00,0.00,0.00]},{ x:'04/10/2024',y:[0.00,0.00,0.00,0.00]},{ x:'04/11/2024',y:[0.00,0.00,0.00,0.00]},{ x:'04/12/2024',y:[5.90,5.90,5.90,5.90]},{ x:'04/15/2024',y:[0.00,0.00,0.00,0.00]},{ x:'04/16/2024',y:[0.00,0.00,0.00,0.00]},{ x:'04/17/2024',y:[0.00,0.00,0.00,0.00]},{ x:'04/18/2024',y:[6.00,6.00,6.00,6.00]},{ x:'04/19/2024',y:[4.55,4.55,4.55,4.55]},{ x:'04/22/2024',y:[0.00,0.00,0.00,0.00]},{ x:'04/23/2024',y:[0.00,0.00,0.00,0.00]},{ x:'04/24/2024',y:[0.00,0.00,0.00,0.00]},{ x:'04/25/2024',y:[0.00,0.00,0.00,0.00]},{ x:'04/26/2024',y:[0.00,0.00,0.00,0.00]},{ x:'04/29/2024',y:[0.00,0.00,0.00,0.00]} ] }], chart: { type: "candlestick", height: 350, toolbar: { show: !1 } }, plotOptions: { candlestick: { colors: { upward: chartCandlestickBasicColors[0], downward: chartCandlestickBasicColors[1] } } }, title: { text: "711139 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());