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:[35.32,35.39,35.29,35.39]},{ x:'05/02/2024',y:[35.39,35.39,35.34,35.38]},{ x:'05/03/2024',y:[35.40,35.40,35.29,35.29]},{ x:'05/06/2024',y:[35.45,35.47,35.40,35.46]},{ x:'05/07/2024',y:[35.50,35.64,35.50,35.62]},{ x:'05/08/2024',y:[35.62,35.72,35.62,35.66]},{ x:'05/09/2024',y:[35.59,35.61,35.55,35.57]},{ x:'05/10/2024',y:[35.65,35.76,35.65,35.70]},{ x:'05/13/2024',y:[35.67,35.67,35.61,35.62]},{ x:'05/14/2024',y:[35.60,35.63,35.59,35.62]},{ x:'05/15/2024',y:[35.65,35.65,35.55,35.55]},{ x:'05/16/2024',y:[35.74,35.74,35.67,35.71]},{ x:'05/17/2024',y:[35.71,35.75,35.71,35.72]},{ x:'05/20/2024',y:[35.67,35.67,35.64,35.65]},{ x:'05/21/2024',y:[35.65,35.66,35.61,35.66]},{ x:'05/22/2024',y:[35.68,35.72,35.67,35.67]},{ x:'05/23/2024',y:[35.67,35.71,35.60,35.61]},{ x:'05/24/2024',y:[35.55,35.57,35.51,35.54]},{ x:'06/11/2024',y:[35.83,35.83,35.76,35.80]},{ x:'06/12/2024',y:[35.86,35.94,35.86,35.93]},{ x:'06/13/2024',y:[35.95,36.08,35.95,36.07]},{ x:'06/14/2024',y:[36.20,36.31,36.20,36.27]},{ x:'06/17/2024',y:[36.30,36.34,36.28,36.31]},{ x:'06/18/2024',y:[36.31,36.32,36.24,36.28]},{ x:'06/19/2024',y:[36.36,36.42,36.36,36.38]},{ x:'06/20/2024',y:[36.11,36.11,36.05,36.06]},{ x:'06/21/2024',y:[36.07,36.07,35.99,36.00]},{ x:'06/24/2024',y:[36.00,36.10,36.00,36.04]},{ x:'06/25/2024',y:[36.06,36.14,36.06,36.13]},{ x:'06/26/2024',y:[36.13,36.20,36.12,36.19]},{ x:'06/27/2024',y:[36.14,36.14,36.00,36.04]},{ x:'06/28/2024',y:[36.07,36.15,36.03,36.03]},{ x:'07/01/2024',y:[35.95,35.95,35.81,35.88]},{ x:'07/02/2024',y:[35.81,35.88,35.71,35.88]},{ x:'07/03/2024',y:[35.93,36.05,35.89,36.05]},{ x:'07/04/2024',y:[36.16,36.16,36.03,36.07]},{ x:'07/05/2024',y:[36.04,36.04,35.94,35.98]},{ x:'07/12/2024',y:[36.40,36.47,36.32,36.47]},{ x:'07/15/2024',y:[36.52,36.57,36.48,36.54]},{ x:'07/16/2024',y:[36.54,36.62,36.54,36.60]},{ x:'07/17/2024',y:[36.69,36.74,36.69,36.71]},{ x:'07/18/2024',y:[36.69,36.72,36.65,36.72]},{ x:'07/19/2024',y:[36.65,36.74,36.65,36.73]},{ x:'07/22/2024',y:[36.70,36.85,36.69,36.84]},{ x:'07/23/2024',y:[36.76,36.77,36.72,36.75]},{ x:'07/26/2024',y:[36.77,36.77,36.67,36.69]},{ x:'07/29/2024',y:[36.94,36.99,36.90,36.95]},{ x:'07/30/2024',y:[37.00,37.03,36.98,36.99]},{ x:'07/31/2024',y:[37.08,37.14,37.04,37.04]},{ x:'08/01/2024',y:[37.36,37.36,37.15,37.20]},{ x:'08/02/2024',y:[37.45,37.62,37.45,37.53]},{ x:'08/05/2024',y:[38.19,38.30,37.90,37.99]},{ x:'08/06/2024',y:[37.76,37.87,37.73,37.81]},{ x:'08/07/2024',y:[37.81,37.83,37.56,37.56]},{ x:'08/08/2024',y:[37.56,37.58,37.41,37.42]},{ x:'08/09/2024',y:[37.15,37.22,37.09,37.19]},{ x:'08/12/2024',y:[37.20,37.24,37.15,37.21]},{ x:'08/13/2024',y:[37.32,37.37,37.26,37.27]},{ x:'08/14/2024',y:[37.38,37.38,37.28,37.30]},{ x:'08/15/2024',y:[37.35,37.38,37.30,37.33]} ] }], chart: { type: "candlestick", height: 350, toolbar: { show: !1 } }, plotOptions: { candlestick: { colors: { upward: chartCandlestickBasicColors[0], downward: chartCandlestickBasicColors[1] } } }, title: { text: "00697b 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());