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:[34.76,34.93,34.75,34.87]},{ x:'04/30/2024',y:[34.95,35.06,34.94,35.04]},{ x:'05/02/2024',y:[35.04,35.04,34.87,34.96]},{ x:'05/03/2024',y:[34.94,34.97,34.91,34.94]},{ x:'05/06/2024',y:[35.12,35.21,35.12,35.20]},{ x:'05/07/2024',y:[35.35,35.52,35.34,35.51]},{ x:'05/08/2024',y:[35.52,35.59,35.50,35.51]},{ x:'05/09/2024',y:[35.30,35.39,35.28,35.34]},{ x:'05/10/2024',y:[35.55,35.57,35.48,35.48]},{ x:'05/13/2024',y:[35.40,35.44,35.34,35.36]},{ x:'05/14/2024',y:[35.37,35.37,35.32,35.32]},{ x:'05/15/2024',y:[35.44,35.48,35.33,35.36]},{ x:'05/16/2024',y:[35.66,35.74,35.62,35.71]},{ x:'05/17/2024',y:[35.52,35.57,35.48,35.51]},{ x:'05/20/2024',y:[35.43,35.44,35.37,35.38]},{ x:'05/21/2024',y:[35.35,35.38,35.34,35.37]},{ x:'05/22/2024',y:[35.40,35.47,35.38,35.40]},{ x:'05/23/2024',y:[35.36,35.43,35.35,35.36]},{ x:'05/24/2024',y:[35.31,35.31,35.20,35.21]},{ x:'06/11/2024',y:[35.46,35.51,35.44,35.45]},{ x:'06/12/2024',y:[35.59,35.65,35.59,35.65]},{ x:'06/13/2024',y:[35.86,35.91,35.82,35.88]},{ x:'06/14/2024',y:[36.10,36.21,36.10,36.13]},{ x:'06/17/2024',y:[36.15,36.17,36.13,36.14]},{ x:'06/18/2024',y:[36.07,36.10,36.03,36.08]},{ x:'06/19/2024',y:[36.28,36.30,36.22,36.27]},{ x:'06/20/2024',y:[36.12,36.12,35.97,35.97]},{ x:'06/21/2024',y:[35.89,35.90,35.85,35.89]},{ x:'06/24/2024',y:[35.94,35.99,35.92,35.93]},{ x:'06/25/2024',y:[36.10,36.13,36.08,36.13]},{ x:'06/26/2024',y:[36.10,36.10,35.99,36.06]},{ x:'06/27/2024',y:[35.82,35.83,35.74,35.80]},{ x:'06/28/2024',y:[35.92,35.96,35.78,35.81]},{ x:'07/01/2024',y:[35.36,35.48,35.34,35.47]},{ x:'07/02/2024',y:[35.37,35.41,35.34,35.41]},{ x:'07/03/2024',y:[35.46,35.65,35.46,35.61]},{ x:'07/04/2024',y:[35.80,35.81,35.72,35.72]},{ x:'07/05/2024',y:[35.72,35.72,35.63,35.70]},{ x:'07/12/2024',y:[36.17,36.34,36.17,36.34]},{ x:'07/15/2024',y:[36.34,36.38,36.28,36.37]},{ x:'07/16/2024',y:[36.32,36.32,36.27,36.30]},{ x:'07/17/2024',y:[36.46,36.55,36.45,36.50]},{ x:'07/18/2024',y:[36.47,36.50,36.43,36.49]},{ x:'07/19/2024',y:[36.48,36.53,36.45,36.47]},{ x:'07/22/2024',y:[36.45,36.54,36.41,36.53]},{ x:'07/23/2024',y:[36.41,36.42,36.34,36.40]},{ x:'07/26/2024',y:[36.24,36.26,36.10,36.11]},{ x:'07/29/2024',y:[36.31,36.46,36.31,36.43]},{ x:'07/30/2024',y:[36.48,36.54,36.45,36.45]},{ x:'07/31/2024',y:[36.47,36.59,36.47,36.54]},{ x:'08/01/2024',y:[36.74,36.89,36.72,36.77]},{ x:'08/02/2024',y:[36.93,37.12,36.93,36.99]},{ x:'08/05/2024',y:[37.38,37.59,37.21,37.26]},{ x:'08/06/2024',y:[37.01,37.08,36.75,37.01]},{ x:'08/07/2024',y:[36.95,36.95,36.80,36.85]},{ x:'08/08/2024',y:[36.74,36.74,36.52,36.53]},{ x:'08/09/2024',y:[36.46,36.46,36.28,36.33]},{ x:'08/12/2024',y:[36.48,36.58,36.47,36.56]},{ x:'08/13/2024',y:[36.57,36.66,36.56,36.58]},{ x:'08/14/2024',y:[36.78,36.82,36.73,36.78]} ] }], chart: { type: "candlestick", height: 350, toolbar: { show: !1 } }, plotOptions: { candlestick: { colors: { upward: chartCandlestickBasicColors[0], downward: chartCandlestickBasicColors[1] } } }, title: { text: "00772b 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());