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/22/2024',y:[13.36,13.47,13.29,13.33]},{ x:'01/23/2024',y:[13.78,13.93,13.77,13.90]},{ x:'01/24/2024',y:[13.79,13.84,13.72,13.74]},{ x:'01/25/2024',y:[14.01,14.04,13.93,14.00]},{ x:'01/26/2024',y:[14.58,14.68,14.52,14.53]},{ x:'01/29/2024',y:[15.14,15.25,15.08,15.18]},{ x:'01/30/2024',y:[14.72,14.78,14.66,14.74]},{ x:'01/31/2024',y:[14.89,14.91,14.76,14.78]},{ x:'02/01/2024',y:[14.25,14.48,14.25,14.36]},{ x:'02/02/2024',y:[13.80,13.84,13.70,13.75]},{ x:'02/05/2024',y:[13.32,13.41,13.21,13.41]},{ x:'02/15/2024',y:[14.10,14.37,14.02,14.35]},{ x:'02/16/2024',y:[14.80,14.90,14.79,14.83]},{ x:'02/19/2024',y:[14.83,14.92,14.82,14.86]},{ x:'02/20/2024',y:[14.96,15.12,14.96,15.10]},{ x:'02/21/2024',y:[14.76,14.83,14.72,14.82]},{ x:'02/22/2024',y:[14.94,15.01,14.91,15.01]},{ x:'02/23/2024',y:[15.06,15.09,15.01,15.01]},{ x:'02/26/2024',y:[14.39,14.42,14.34,14.37]},{ x:'02/27/2024',y:[14.84,14.85,14.75,14.79]},{ x:'02/29/2024',y:[14.90,14.99,14.89,14.97]},{ x:'03/01/2024',y:[14.98,15.02,14.97,14.97]},{ x:'03/04/2024',y:[15.51,15.59,15.42,15.42]},{ x:'03/05/2024',y:[15.18,15.19,15.10,15.14]},{ x:'03/06/2024',y:[14.95,15.04,14.88,15.03]},{ x:'03/07/2024',y:[15.24,15.29,15.19,15.19]},{ x:'03/08/2024',y:[15.30,15.38,15.29,15.35]},{ x:'03/11/2024',y:[14.67,14.75,14.64,14.73]},{ x:'03/12/2024',y:[14.95,15.03,14.94,14.99]},{ x:'03/13/2024',y:[14.95,15.03,14.95,15.03]},{ x:'03/14/2024',y:[15.60,15.64,15.57,15.57]},{ x:'03/15/2024',y:[16.01,16.08,16.00,16.05]},{ x:'03/18/2024',y:[16.13,16.26,16.10,16.24]},{ x:'03/19/2024',y:[16.67,16.72,16.65,16.65]},{ x:'03/20/2024',y:[16.85,16.90,16.83,16.86]},{ x:'03/21/2024',y:[16.60,16.69,16.55,16.69]},{ x:'03/22/2024',y:[16.39,16.39,16.23,16.25]},{ x:'03/25/2024',y:[16.45,16.50,16.42,16.47]},{ x:'03/26/2024',y:[16.78,16.87,16.75,16.82]},{ x:'03/27/2024',y:[16.39,16.43,16.31,16.36]},{ x:'03/28/2024',y:[16.70,16.75,16.64,16.68]},{ x:'03/29/2024',y:[17.15,17.16,17.08,17.12]},{ x:'04/01/2024',y:[17.10,17.28,17.07,17.27]},{ x:'04/02/2024',y:[17.50,17.54,17.45,17.51]},{ x:'04/03/2024',y:[17.93,18.05,17.93,17.95]},{ x:'04/08/2024',y:[17.94,18.38,17.90,18.34]},{ x:'04/09/2024',y:[18.76,18.76,18.61,18.61]},{ x:'04/10/2024',y:[18.17,18.20,18.12,18.16]},{ x:'04/11/2024',y:[18.62,18.79,18.62,18.73]},{ x:'04/12/2024',y:[18.52,18.76,18.52,18.67]},{ x:'04/15/2024',y:[18.57,18.77,18.50,18.62]},{ x:'04/16/2024',y:[18.88,19.02,18.83,18.95]},{ x:'04/17/2024',y:[18.66,18.70,18.49,18.51]},{ x:'04/18/2024',y:[17.59,17.69,17.55,17.67]},{ x:'04/19/2024',y:[17.76,18.97,17.76,18.31]},{ x:'04/22/2024',y:[17.41,17.45,17.32,17.34]},{ x:'04/23/2024',y:[17.64,17.67,17.47,17.66]},{ x:'04/24/2024',y:[17.99,17.99,17.87,17.97]},{ x:'04/25/2024',y:[17.76,17.88,17.72,17.88]},{ x:'04/26/2024',y:[18.23,18.25,18.16,18.24]} ] }], chart: { type: "candlestick", height: 350, toolbar: { show: !1 } }, plotOptions: { candlestick: { colors: { upward: chartCandlestickBasicColors[0], downward: chartCandlestickBasicColors[1] } } }, title: { text: "00715l 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());