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/29/2024',y:[32.28,32.30,32.24,32.30]},{ x:'04/30/2024',y:[32.40,32.44,32.40,32.44]},{ x:'05/02/2024',y:[32.28,32.34,32.28,32.34]},{ x:'05/03/2024',y:[32.35,32.35,32.35,32.35]},{ x:'05/06/2024',y:[32.58,32.59,32.58,32.59]},{ x:'05/07/2024',y:[32.70,32.83,32.70,32.83]},{ x:'05/08/2024',y:[32.96,32.98,32.93,32.93]},{ x:'05/09/2024',y:[32.72,32.72,32.65,32.66]},{ x:'05/10/2024',y:[32.90,32.94,32.90,32.92]},{ x:'05/13/2024',y:[32.72,32.72,32.71,32.71]},{ x:'05/14/2024',y:[32.72,32.72,32.72,32.72]},{ x:'05/15/2024',y:[32.87,32.87,32.76,32.76]},{ x:'05/16/2024',y:[33.11,33.11,33.02,33.08]},{ x:'05/17/2024',y:[33.02,33.02,33.02,33.02]},{ x:'05/20/2024',y:[32.88,32.89,32.86,32.89]},{ x:'05/21/2024',y:[32.86,32.86,32.84,32.84]},{ x:'05/22/2024',y:[32.92,32.92,32.92,32.92]},{ x:'05/23/2024',y:[32.90,32.90,32.84,32.84]},{ x:'05/24/2024',y:[32.73,32.74,32.72,32.74]},{ x:'06/11/2024',y:[32.91,32.91,32.90,32.90]},{ x:'06/12/2024',y:[33.13,33.14,33.12,33.13]},{ x:'06/13/2024',y:[33.37,33.37,33.30,33.36]},{ x:'06/14/2024',y:[33.68,33.68,33.64,33.64]},{ x:'06/17/2024',y:[33.62,33.62,33.62,33.62]},{ x:'06/18/2024',y:[33.58,33.59,33.53,33.53]},{ x:'06/19/2024',y:[33.70,33.70,33.70,33.70]},{ x:'06/20/2024',y:[33.66,33.66,33.55,33.60]},{ x:'06/21/2024',y:[33.50,33.50,33.43,33.43]},{ x:'06/24/2024',y:[33.09,33.17,33.09,33.11]},{ x:'06/25/2024',y:[33.27,33.37,33.26,33.34]},{ x:'06/26/2024',y:[33.23,33.23,33.20,33.20]},{ x:'06/27/2024',y:[32.92,32.93,32.92,32.93]},{ x:'06/28/2024',y:[33.09,33.09,32.90,32.90]},{ x:'07/01/2024',y:[32.51,32.55,32.51,32.55]},{ x:'07/02/2024',y:[32.47,32.52,32.45,32.52]},{ x:'07/03/2024',y:[32.70,32.70,32.64,32.67]},{ x:'07/04/2024',y:[32.85,32.85,32.83,32.84]},{ x:'07/05/2024',y:[32.77,32.77,32.74,32.75]},{ x:'07/12/2024',y:[33.34,33.34,33.32,33.32]},{ x:'07/15/2024',y:[33.33,33.33,33.23,33.30]},{ x:'07/16/2024',y:[33.39,33.51,33.39,33.47]},{ x:'07/17/2024',y:[33.69,33.71,33.69,33.71]},{ x:'07/18/2024',y:[33.61,33.63,33.61,33.63]},{ x:'07/19/2024',y:[33.62,33.62,33.62,33.62]},{ x:'07/22/2024',y:[33.62,33.68,33.62,33.68]},{ x:'07/23/2024',y:[33.53,33.53,33.53,33.53]},{ x:'07/26/2024',y:[33.40,33.40,33.21,33.29]},{ x:'07/29/2024',y:[33.54,33.54,33.54,33.54]},{ x:'07/30/2024',y:[33.59,33.65,33.59,33.62]},{ x:'07/31/2024',y:[33.62,33.72,33.62,33.70]},{ x:'08/01/2024',y:[33.95,33.97,33.91,33.91]},{ x:'08/02/2024',y:[34.16,34.24,34.10,34.10]},{ x:'08/05/2024',y:[34.73,34.73,34.63,34.66]},{ x:'08/06/2024',y:[33.58,34.31,33.58,34.31]},{ x:'08/07/2024',y:[34.10,34.10,34.04,34.09]},{ x:'08/08/2024',y:[33.85,33.91,33.85,33.91]},{ x:'08/09/2024',y:[33.65,33.65,33.61,33.64]},{ x:'08/12/2024',y:[33.85,33.85,33.84,33.85]},{ x:'08/13/2024',y:[33.93,33.93,33.89,33.89]},{ x:'08/14/2024',y:[34.01,34.01,33.97,33.99]} ] }], chart: { type: "candlestick", height: 350, toolbar: { show: !1 } }, plotOptions: { candlestick: { colors: { upward: chartCandlestickBasicColors[0], downward: chartCandlestickBasicColors[1] } } }, title: { text: "00793b 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());