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:'03/28/2024',y:[24.60,24.79,24.56,24.78]},{ x:'03/29/2024',y:[24.70,24.70,24.60,24.68]},{ x:'04/01/2024',y:[24.89,24.95,24.84,24.89]},{ x:'04/02/2024',y:[24.94,24.96,24.86,24.94]},{ x:'04/03/2024',y:[25.04,25.25,25.04,25.23]},{ x:'04/08/2024',y:[25.70,26.20,25.68,26.07]},{ x:'04/09/2024',y:[26.40,26.41,26.25,26.31]},{ x:'04/10/2024',y:[26.45,26.54,26.38,26.52]},{ x:'04/11/2024',y:[26.32,26.47,26.28,26.47]},{ x:'04/12/2024',y:[26.33,26.43,26.29,26.37]},{ x:'04/15/2024',y:[26.68,26.68,26.41,26.54]},{ x:'04/16/2024',y:[27.00,27.00,26.83,26.97]},{ x:'04/17/2024',y:[26.61,26.66,26.55,26.58]},{ x:'04/18/2024',y:[26.79,26.98,26.71,26.94]},{ x:'04/19/2024',y:[27.53,27.72,27.22,27.35]},{ x:'04/22/2024',y:[27.98,28.19,27.88,27.94]},{ x:'04/23/2024',y:[27.83,27.83,27.39,27.52]},{ x:'04/24/2024',y:[27.39,27.68,27.32,27.66]},{ x:'04/25/2024',y:[27.57,27.75,27.49,27.60]},{ x:'04/26/2024',y:[27.98,28.25,27.98,28.23]},{ x:'04/29/2024',y:[28.19,28.34,28.10,28.26]},{ x:'04/30/2024',y:[28.70,28.85,28.65,28.73]},{ x:'05/02/2024',y:[28.14,28.20,28.05,28.07]},{ x:'05/03/2024',y:[27.73,27.74,27.61,27.65]},{ x:'05/06/2024',y:[28.01,28.24,28.01,28.21]},{ x:'05/07/2024',y:[28.43,28.45,28.23,28.27]},{ x:'05/08/2024',y:[28.19,28.20,27.97,28.04]},{ x:'05/09/2024',y:[27.91,28.02,27.84,27.99]},{ x:'05/10/2024',y:[28.30,28.52,28.30,28.52]},{ x:'05/13/2024',y:[28.53,28.71,28.35,28.66]},{ x:'05/14/2024',y:[29.34,29.48,29.27,29.42]},{ x:'05/15/2024',y:[30.28,31.05,30.28,30.73]},{ x:'05/16/2024',y:[30.42,30.70,30.24,30.52]},{ x:'05/17/2024',y:[29.83,30.08,29.71,30.08]},{ x:'05/20/2024',y:[31.41,31.86,31.41,31.53]},{ x:'05/21/2024',y:[31.39,31.56,30.80,31.12]},{ x:'05/22/2024',y:[31.25,31.45,30.85,30.96]},{ x:'05/23/2024',y:[29.48,29.57,29.37,29.43]},{ x:'05/24/2024',y:[29.32,29.50,29.30,29.49]},{ x:'06/11/2024',y:[27.88,27.96,27.63,27.67]},{ x:'06/12/2024',y:[27.63,27.78,27.63,27.75]},{ x:'06/13/2024',y:[27.72,27.72,27.52,27.67]},{ x:'06/14/2024',y:[27.55,27.62,27.53,27.62]},{ x:'06/17/2024',y:[27.40,27.44,27.22,27.25]},{ x:'06/18/2024',y:[27.40,27.40,27.24,27.29]},{ x:'06/19/2024',y:[27.27,27.41,27.25,27.37]},{ x:'06/20/2024',y:[27.50,27.72,27.45,27.58]},{ x:'06/21/2024',y:[27.71,27.79,27.61,27.68]},{ x:'06/24/2024',y:[27.12,27.20,27.03,27.20]},{ x:'06/25/2024',y:[27.22,27.30,27.15,27.30]},{ x:'06/26/2024',y:[26.91,26.91,26.75,26.83]},{ x:'06/27/2024',y:[26.80,26.84,26.78,26.79]},{ x:'06/28/2024',y:[26.68,26.90,26.66,26.90]},{ x:'07/01/2024',y:[26.88,26.96,26.76,26.76]},{ x:'07/02/2024',y:[27.13,27.23,27.09,27.14]},{ x:'07/03/2024',y:[27.25,27.38,27.21,27.36]},{ x:'07/04/2024',y:[27.92,27.92,27.81,27.81]},{ x:'07/05/2024',y:[27.98,28.09,27.98,28.08]},{ x:'07/12/2024',y:[27.72,27.73,27.59,27.60]},{ x:'07/15/2024',y:[28.00,28.25,27.99,28.14]} ] }], chart: { type: "candlestick", height: 350, toolbar: { show: !1 } }, plotOptions: { candlestick: { colors: { upward: chartCandlestickBasicColors[0], downward: chartCandlestickBasicColors[1] } } }, title: { text: "00763u 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());