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/19/2024',y:[33.13,33.50,32.95,33.36]},{ x:'03/20/2024',y:[33.22,33.63,32.92,33.45]},{ x:'03/21/2024',y:[33.54,33.84,33.39,33.49]},{ x:'03/22/2024',y:[33.47,33.56,32.47,32.94]},{ x:'03/25/2024',y:[33.00,33.29,32.72,33.13]},{ x:'03/26/2024',y:[32.91,33.39,32.90,33.25]},{ x:'03/27/2024',y:[33.31,33.49,33.14,33.21]},{ x:'03/28/2024',y:[33.00,33.56,32.55,33.34]},{ x:'03/29/2024',y:[33.16,33.53,33.06,33.10]},{ x:'04/01/2024',y:[33.37,34.54,33.35,34.19]},{ x:'04/02/2024',y:[33.98,34.42,33.81,33.93]},{ x:'04/03/2024',y:[34.00,34.02,33.48,33.84]},{ x:'04/08/2024',y:[33.80,33.89,33.06,33.38]},{ x:'04/09/2024',y:[33.23,33.45,32.84,32.84]},{ x:'04/10/2024',y:[33.02,33.10,32.63,32.76]},{ x:'04/11/2024',y:[32.43,32.75,32.17,32.75]},{ x:'04/12/2024',y:[32.59,32.86,32.33,32.40]},{ x:'04/15/2024',y:[31.88,33.68,31.76,33.68]},{ x:'04/16/2024',y:[33.61,33.88,33.10,33.80]},{ x:'04/17/2024',y:[33.65,33.72,33.10,33.54]},{ x:'04/18/2024',y:[33.90,34.88,33.74,34.37]},{ x:'04/19/2024',y:[34.20,34.30,33.54,33.77]},{ x:'04/22/2024',y:[33.86,34.49,33.83,33.93]},{ x:'04/23/2024',y:[34.00,34.14,33.49,33.87]},{ x:'04/24/2024',y:[34.00,34.41,33.65,33.80]},{ x:'04/25/2024',y:[33.91,34.45,33.76,34.20]},{ x:'04/26/2024',y:[34.30,35.22,34.26,35.22]},{ x:'04/29/2024',y:[35.25,36.43,34.95,35.97]},{ x:'04/30/2024',y:[35.88,36.26,35.71,35.75]},{ x:'05/02/2024',y:[35.57,36.26,35.34,36.26]},{ x:'05/03/2024',y:[36.64,36.80,36.36,36.50]},{ x:'05/06/2024',y:[36.77,37.02,36.27,36.29]},{ x:'05/07/2024',y:[36.43,36.68,36.20,36.67]},{ x:'05/08/2024',y:[36.62,36.70,36.18,36.25]},{ x:'05/09/2024',y:[36.32,36.59,36.20,36.33]},{ x:'05/10/2024',y:[36.70,36.84,36.09,36.57]},{ x:'05/13/2024',y:[36.25,36.30,35.66,36.29]},{ x:'05/14/2024',y:[36.26,36.30,35.70,35.77]},{ x:'05/15/2024',y:[35.71,36.08,35.46,35.58]},{ x:'05/16/2024',y:[35.67,36.11,35.22,35.98]},{ x:'05/17/2024',y:[35.92,36.38,35.83,35.94]},{ x:'05/20/2024',y:[37.33,37.59,36.95,37.19]},{ x:'05/21/2024',y:[37.06,37.13,36.75,37.04]},{ x:'05/22/2024',y:[36.95,37.18,36.73,37.04]},{ x:'05/23/2024',y:[36.81,36.86,36.26,36.26]},{ x:'05/24/2024',y:[35.90,36.39,35.72,35.72]},{ x:'06/11/2024',y:[34.64,34.64,33.50,33.58]},{ x:'06/12/2024',y:[33.60,33.92,33.51,33.60]},{ x:'06/13/2024',y:[33.63,33.91,33.45,33.45]},{ x:'06/14/2024',y:[33.33,33.57,32.94,33.54]},{ x:'06/17/2024',y:[33.75,33.86,33.40,33.63]},{ x:'06/18/2024',y:[33.80,33.98,33.60,33.72]},{ x:'06/19/2024',y:[33.76,34.03,33.54,33.75]},{ x:'06/20/2024',y:[33.80,34.08,33.58,33.64]},{ x:'06/21/2024',y:[33.47,33.70,32.67,32.94]},{ x:'06/24/2024',y:[32.90,33.64,32.51,33.44]},{ x:'06/25/2024',y:[33.44,33.54,33.19,33.42]},{ x:'06/26/2024',y:[33.12,33.26,32.93,32.93]},{ x:'06/27/2024',y:[33.18,33.27,32.65,32.94]},{ x:'06/28/2024',y:[32.88,33.40,32.79,33.20]} ] }], chart: { type: "candlestick", height: 350, toolbar: { show: !1 } }, plotOptions: { candlestick: { colors: { upward: chartCandlestickBasicColors[0], downward: chartCandlestickBasicColors[1] } } }, title: { text: "00633l 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());