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:'04/25/2024',y:[41.14,41.34,41.14,41.25]},{ x:'04/26/2024',y:[41.15,41.23,41.15,41.22]},{ x:'04/29/2024',y:[41.20,41.28,41.20,41.23]},{ x:'04/30/2024',y:[41.18,41.26,41.17,41.26]},{ x:'05/02/2024',y:[41.26,41.26,41.25,41.25]},{ x:'05/03/2024',y:[41.15,41.15,41.08,41.10]},{ x:'05/06/2024',y:[41.10,41.14,41.07,41.12]},{ x:'05/07/2024',y:[41.14,41.24,41.14,41.24]},{ x:'05/08/2024',y:[41.32,41.32,41.27,41.27]},{ x:'05/09/2024',y:[41.25,41.25,41.23,41.25]},{ x:'05/10/2024',y:[41.30,41.33,41.30,41.31]},{ x:'05/13/2024',y:[41.30,41.30,41.29,41.30]},{ x:'05/14/2024',y:[41.25,41.29,41.25,41.25]},{ x:'05/15/2024',y:[41.24,41.24,41.04,41.04]},{ x:'05/16/2024',y:[40.98,41.02,40.94,40.95]},{ x:'05/17/2024',y:[40.88,41.11,40.88,41.09]},{ x:'05/20/2024',y:[41.09,41.10,41.09,41.09]},{ x:'05/21/2024',y:[41.17,41.19,41.15,41.18]},{ x:'05/22/2024',y:[41.19,41.19,41.15,41.16]},{ x:'05/23/2024',y:[41.18,41.18,41.09,41.09]},{ x:'05/24/2024',y:[41.08,41.10,41.08,41.10]},{ x:'06/11/2024',y:[41.21,41.36,41.21,41.31]},{ x:'06/12/2024',y:[41.37,41.38,41.35,41.35]},{ x:'06/13/2024',y:[41.29,41.35,41.29,41.34]},{ x:'06/14/2024',y:[41.46,41.49,41.44,41.47]},{ x:'06/17/2024',y:[41.37,41.46,41.37,41.43]},{ x:'06/18/2024',y:[41.41,41.47,41.40,41.45]},{ x:'06/19/2024',y:[41.47,41.49,41.47,41.47]},{ x:'06/20/2024',y:[41.47,41.47,41.43,41.43]},{ x:'06/21/2024',y:[41.47,41.47,41.43,41.43]},{ x:'06/24/2024',y:[41.43,41.49,41.43,41.48]},{ x:'06/25/2024',y:[41.62,41.62,41.52,41.58]},{ x:'06/26/2024',y:[41.58,41.71,41.58,41.67]},{ x:'06/27/2024',y:[41.70,41.74,41.70,41.72]},{ x:'06/28/2024',y:[41.73,41.75,41.64,41.64]},{ x:'07/01/2024',y:[41.65,41.66,41.61,41.65]},{ x:'07/02/2024',y:[41.65,41.79,41.65,41.77]},{ x:'07/03/2024',y:[41.80,41.94,41.80,41.94]},{ x:'07/04/2024',y:[41.83,41.84,41.76,41.79]},{ x:'07/05/2024',y:[41.66,41.79,41.63,41.70]},{ x:'07/12/2024',y:[41.81,41.90,41.81,41.90]},{ x:'07/15/2024',y:[41.94,42.05,41.93,42.04]},{ x:'07/16/2024',y:[41.78,41.84,41.78,41.80]},{ x:'07/17/2024',y:[41.83,41.87,41.77,41.80]},{ x:'07/18/2024',y:[41.80,41.84,41.74,41.79]},{ x:'07/19/2024',y:[41.82,42.02,41.82,42.01]},{ x:'07/22/2024',y:[42.01,42.17,42.01,42.16]},{ x:'07/23/2024',y:[42.10,42.10,42.02,42.04]},{ x:'07/26/2024',y:[42.09,42.10,42.01,42.06]},{ x:'07/29/2024',y:[42.13,42.20,42.13,42.20]},{ x:'07/30/2024',y:[42.23,42.23,42.16,42.16]},{ x:'07/31/2024',y:[42.17,42.29,42.14,42.14]},{ x:'08/01/2024',y:[42.34,42.34,42.05,42.05]},{ x:'08/02/2024',y:[42.22,42.38,42.22,42.29]},{ x:'08/05/2024',y:[42.51,42.52,42.28,42.31]},{ x:'08/06/2024',y:[42.27,42.38,42.27,42.28]},{ x:'08/07/2024',y:[42.30,42.35,42.27,42.29]},{ x:'08/08/2024',y:[42.35,42.35,42.16,42.16]},{ x:'08/09/2024',y:[42.10,42.10,41.86,41.86]},{ x:'08/12/2024',y:[41.87,41.95,41.84,41.91]} ] }], chart: { type: "candlestick", height: 350, toolbar: { show: !1 } }, plotOptions: { candlestick: { colors: { upward: chartCandlestickBasicColors[0], downward: chartCandlestickBasicColors[1] } } }, title: { text: "00694b 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());