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/30/2024',y:[34.19,34.23,33.96,33.96]},{ x:'05/02/2024',y:[33.90,33.96,33.58,33.58]},{ x:'05/03/2024',y:[33.25,33.35,33.11,33.33]},{ x:'05/06/2024',y:[33.16,33.52,33.16,33.46]},{ x:'05/07/2024',y:[33.95,33.95,33.67,33.77]},{ x:'05/08/2024',y:[33.53,33.69,33.34,33.68]},{ x:'05/09/2024',y:[33.39,33.62,33.33,33.62]},{ x:'05/10/2024',y:[34.51,34.75,34.48,34.75]},{ x:'05/13/2024',y:[34.86,34.91,34.58,34.58]},{ x:'05/14/2024',y:[34.19,34.37,34.16,34.35]},{ x:'05/15/2024',y:[34.63,34.75,34.61,34.64]},{ x:'05/16/2024',y:[35.73,35.73,35.42,35.52]},{ x:'05/17/2024',y:[35.20,35.26,35.10,35.26]},{ x:'05/20/2024',y:[36.87,36.99,36.62,36.99]},{ x:'05/21/2024',y:[36.70,36.79,36.08,36.29]},{ x:'05/22/2024',y:[36.46,36.63,36.16,36.21]},{ x:'05/23/2024',y:[35.21,35.24,34.79,34.92]},{ x:'05/24/2024',y:[33.66,33.85,33.59,33.80]},{ x:'06/11/2024',y:[32.90,32.92,32.65,32.66]},{ x:'06/12/2024',y:[32.95,33.03,32.91,32.98]},{ x:'06/13/2024',y:[33.10,33.11,32.78,32.83]},{ x:'06/14/2024',y:[32.69,32.78,32.64,32.73]},{ x:'06/17/2024',y:[33.15,33.30,33.12,33.13]},{ x:'06/18/2024',y:[33.23,33.23,33.07,33.08]},{ x:'06/19/2024',y:[33.36,33.41,33.26,33.34]},{ x:'06/20/2024',y:[33.44,33.71,33.42,33.71]},{ x:'06/21/2024',y:[34.29,34.30,34.11,34.24]},{ x:'06/24/2024',y:[33.03,33.22,33.01,33.18]},{ x:'06/25/2024',y:[33.26,33.34,33.11,33.23]},{ x:'06/26/2024',y:[32.98,33.03,32.72,32.90]},{ x:'06/27/2024',y:[32.42,32.46,32.37,32.41]},{ x:'06/28/2024',y:[33.03,33.08,32.96,33.07]},{ x:'07/01/2024',y:[33.05,33.17,32.97,32.99]},{ x:'07/02/2024',y:[33.28,33.32,33.05,33.15]},{ x:'07/03/2024',y:[33.25,33.40,33.15,33.38]},{ x:'07/04/2024',y:[34.01,34.13,33.91,33.91]},{ x:'07/05/2024',y:[34.00,34.13,33.93,34.13]},{ x:'07/12/2024',y:[35.37,35.40,35.21,35.23]},{ x:'07/15/2024',y:[35.26,35.41,35.20,35.41]},{ x:'07/16/2024',y:[35.72,35.96,35.67,35.90]},{ x:'07/17/2024',y:[37.13,37.46,36.93,37.06]},{ x:'07/18/2024',y:[36.76,37.05,36.71,37.02]},{ x:'07/19/2024',y:[35.93,35.94,35.60,35.71]},{ x:'07/22/2024',y:[35.26,35.31,35.07,35.12]},{ x:'07/23/2024',y:[34.98,35.05,34.82,34.82]},{ x:'07/26/2024',y:[33.75,34.22,33.46,34.01]},{ x:'07/29/2024',y:[34.83,34.84,34.52,34.71]},{ x:'07/30/2024',y:[34.31,34.51,34.21,34.47]},{ x:'07/31/2024',y:[35.04,35.47,34.94,35.43]},{ x:'08/01/2024',y:[36.13,36.45,35.93,36.10]},{ x:'08/02/2024',y:[36.27,36.53,35.82,36.48]},{ x:'08/05/2024',y:[35.40,36.36,35.38,36.02]},{ x:'08/06/2024',y:[35.10,35.21,34.88,34.95]},{ x:'08/07/2024',y:[34.24,34.55,34.08,34.55]},{ x:'08/08/2024',y:[34.33,34.49,34.21,34.49]},{ x:'08/09/2024',y:[35.18,35.35,35.13,35.22]},{ x:'08/12/2024',y:[35.34,35.51,35.24,35.50]},{ x:'08/13/2024',y:[36.61,36.64,36.22,36.25]},{ x:'08/14/2024',y:[36.40,36.56,36.08,36.25]},{ x:'08/15/2024',y:[35.90,36.02,35.84,35.90]} ] }], chart: { type: "candlestick", height: 350, toolbar: { show: !1 } }, plotOptions: { candlestick: { colors: { upward: chartCandlestickBasicColors[0], downward: chartCandlestickBasicColors[1] } } }, title: { text: "00708l 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());