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/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]},{ x:'07/01/2024',y:[32.95,33.04,32.51,32.89]},{ x:'07/02/2024',y:[32.93,33.85,32.90,33.76]},{ x:'07/03/2024',y:[33.82,33.92,33.43,33.70]},{ x:'07/04/2024',y:[33.81,34.18,33.55,33.58]},{ x:'07/05/2024',y:[33.50,33.70,32.25,32.37]},{ x:'07/12/2024',y:[33.67,33.98,33.62,33.89]},{ x:'07/15/2024',y:[33.95,34.31,33.80,34.15]},{ x:'07/16/2024',y:[34.02,34.33,33.98,34.14]},{ x:'07/17/2024',y:[34.30,34.69,34.05,34.46]},{ x:'07/18/2024',y:[34.66,35.06,34.51,34.93]},{ x:'07/19/2024',y:[34.83,35.13,34.40,34.96]},{ x:'07/22/2024',y:[35.33,35.57,34.39,34.39]},{ x:'07/23/2024',y:[34.70,34.83,34.29,34.29]},{ x:'07/26/2024',y:[33.28,33.28,32.35,32.50]},{ x:'07/29/2024',y:[32.72,32.76,32.25,32.59]},{ x:'07/30/2024',y:[32.30,32.33,31.60,31.63]},{ x:'07/31/2024',y:[31.78,33.07,31.75,33.02]},{ x:'08/01/2024',y:[33.25,33.25,32.35,32.43]},{ x:'08/02/2024',y:[31.99,32.33,31.74,31.92]},{ x:'08/05/2024',y:[31.56,32.26,31.28,31.69]},{ x:'08/06/2024',y:[31.89,32.05,30.72,30.73]},{ x:'08/07/2024',y:[31.00,31.42,30.77,31.36]},{ x:'08/08/2024',y:[30.90,31.58,30.72,31.31]},{ x:'08/09/2024',y:[31.45,31.70,31.22,31.31]},{ x:'08/12/2024',y:[31.23,31.40,31.09,31.28]},{ x:'08/13/2024',y:[31.28,31.36,30.96,30.99]} ] }], 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());