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/07/2023',y:[33.90,33.90,33.75,33.75]},{ x:'04/10/2023',y:[33.75,33.80,33.58,33.61]},{ x:'04/11/2023',y:[33.50,33.58,33.50,33.56]},{ x:'04/12/2023',y:[33.56,33.60,33.53,33.58]},{ x:'04/13/2023',y:[33.70,33.70,33.54,33.56]},{ x:'04/14/2023',y:[33.56,33.56,33.47,33.49]},{ x:'04/17/2023',y:[33.49,33.58,33.49,33.50]},{ x:'04/18/2023',y:[33.40,33.40,33.22,33.27]},{ x:'04/19/2023',y:[33.39,33.45,33.37,33.44]},{ x:'04/20/2023',y:[33.45,33.46,33.42,33.44]},{ x:'04/21/2023',y:[33.21,33.21,33.10,33.17]},{ x:'04/24/2023',y:[33.25,33.25,33.07,33.10]},{ x:'04/25/2023',y:[33.45,33.45,33.37,33.44]},{ x:'04/26/2023',y:[33.53,33.58,33.51,33.57]},{ x:'04/27/2023',y:[33.52,33.52,33.35,33.37]},{ x:'04/28/2023',y:[33.35,33.35,33.23,33.34]},{ x:'05/02/2023',y:[33.32,33.32,33.08,33.10]},{ x:'05/03/2023',y:[33.32,33.35,33.29,33.29]},{ x:'05/04/2023',y:[33.35,33.36,33.29,33.32]},{ x:'05/05/2023',y:[33.32,33.32,33.02,33.06]},{ x:'05/08/2023',y:[33.06,33.06,32.98,33.01]},{ x:'05/09/2023',y:[32.82,32.82,32.66,32.69]},{ x:'05/10/2023',y:[32.65,32.68,32.62,32.65]},{ x:'05/11/2023',y:[32.80,32.92,32.80,32.92]},{ x:'05/12/2023',y:[33.08,33.22,33.08,33.17]},{ x:'05/15/2023',y:[33.02,33.02,32.95,32.95]},{ x:'05/16/2023',y:[32.77,32.78,32.74,32.78]},{ x:'05/17/2023',y:[32.69,32.71,32.66,32.70]},{ x:'05/18/2023',y:[32.58,32.65,32.58,32.64]},{ x:'05/19/2023',y:[32.50,32.50,32.47,32.50]},{ x:'05/22/2023',y:[32.42,32.42,32.32,32.39]},{ x:'05/23/2023',y:[32.37,32.37,32.29,32.31]},{ x:'05/24/2023',y:[32.49,32.51,32.48,32.51]},{ x:'05/25/2023',y:[32.38,32.40,32.29,32.30]},{ x:'05/26/2023',y:[32.28,32.28,32.17,32.19]},{ x:'05/29/2023',y:[32.22,32.29,32.22,32.26]},{ x:'05/30/2023',y:[32.32,32.44,32.30,32.41]},{ x:'05/31/2023',y:[32.56,32.72,32.55,32.69]},{ x:'06/01/2023',y:[32.78,32.81,32.69,32.72]},{ x:'06/02/2023',y:[32.77,32.86,32.77,32.85]},{ x:'06/05/2023',y:[32.77,32.77,32.72,32.75]},{ x:'06/06/2023',y:[32.75,32.77,32.74,32.76]},{ x:'06/07/2023',y:[32.88,32.98,32.88,32.96]},{ x:'06/08/2023',y:[32.67,32.67,32.54,32.58]},{ x:'06/09/2023',y:[32.70,32.76,32.70,32.76]},{ x:'06/12/2023',y:[32.77,32.80,32.74,32.75]},{ x:'06/13/2023',y:[32.75,32.84,32.71,32.78]},{ x:'06/14/2023',y:[32.65,32.66,32.57,32.65]},{ x:'06/15/2023',y:[32.71,32.78,32.68,32.71]},{ x:'06/16/2023',y:[32.87,33.02,32.86,33.01]},{ x:'06/19/2023',y:[33.01,33.14,33.01,33.14]},{ x:'06/20/2023',y:[33.14,33.14,32.96,33.13]},{ x:'06/21/2023',y:[33.35,33.54,33.35,33.51]},{ x:'06/26/2023',y:[33.40,33.56,33.40,33.53]},{ x:'06/27/2023',y:[33.54,33.56,33.48,33.50]},{ x:'06/28/2023',y:[33.45,33.45,33.38,33.42]},{ x:'06/29/2023',y:[33.57,33.65,33.57,33.57]},{ x:'06/30/2023',y:[33.44,33.44,33.39,33.40]},{ x:'07/03/2023',y:[33.75,33.75,33.60,33.64]},{ x:'07/04/2023',y:[33.54,33.73,33.54,33.71]} ] }], chart: { type: "candlestick", height: 350, toolbar: { show: !1 } }, plotOptions: { candlestick: { colors: { upward: chartCandlestickBasicColors[0], downward: chartCandlestickBasicColors[1] } } }, title: { text: "00724b 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());