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:'03/29/2024',y:[18.57,18.72,18.57,18.67]},{ x:'04/01/2024',y:[18.77,18.85,18.75,18.79]},{ x:'04/02/2024',y:[18.97,19.03,18.93,19.00]},{ x:'04/03/2024',y:[18.92,19.17,18.87,19.13]},{ x:'04/08/2024',y:[19.15,19.33,19.15,19.15]},{ x:'04/09/2024',y:[19.32,19.43,19.22,19.40]},{ x:'04/10/2024',y:[19.40,19.43,19.32,19.32]},{ x:'04/11/2024',y:[19.27,19.30,19.15,19.18]},{ x:'04/12/2024',y:[19.29,19.37,19.29,19.32]},{ x:'04/15/2024',y:[19.23,19.23,18.83,18.89]},{ x:'04/16/2024',y:[18.86,18.86,18.23,18.30]},{ x:'04/17/2024',y:[18.38,18.63,18.38,18.63]},{ x:'04/18/2024',y:[18.50,18.90,18.45,18.87]},{ x:'04/19/2024',y:[18.43,18.48,17.62,17.89]},{ x:'04/22/2024',y:[17.89,17.89,17.30,17.30]},{ x:'04/23/2024',y:[17.61,17.62,17.37,17.44]},{ x:'04/24/2024',y:[17.93,18.20,17.93,18.17]},{ x:'04/25/2024',y:[17.96,18.02,17.77,17.77]},{ x:'04/26/2024',y:[18.10,18.41,18.09,18.20]},{ x:'04/29/2024',y:[18.64,18.64,18.50,18.50]},{ x:'04/30/2024',y:[18.59,18.65,18.51,18.60]},{ x:'05/02/2024',y:[18.32,18.48,18.27,18.39]},{ x:'05/03/2024',y:[18.71,18.75,18.47,18.52]},{ x:'05/06/2024',y:[18.69,18.85,18.62,18.65]},{ x:'05/07/2024',y:[18.75,18.76,18.50,18.67]},{ x:'05/08/2024',y:[18.67,18.83,18.65,18.79]},{ x:'05/09/2024',y:[18.84,18.87,18.68,18.70]},{ x:'05/10/2024',y:[18.80,18.80,18.54,18.62]},{ x:'05/13/2024',y:[18.73,18.74,18.58,18.61]},{ x:'05/14/2024',y:[18.69,18.89,18.69,18.89]},{ x:'05/15/2024',y:[18.91,19.20,18.91,19.04]},{ x:'05/16/2024',y:[19.23,19.47,19.23,19.30]},{ x:'05/17/2024',y:[19.25,19.25,19.06,19.20]},{ x:'05/20/2024',y:[19.20,19.27,19.00,19.10]},{ x:'05/21/2024',y:[19.10,19.10,18.90,19.02]},{ x:'05/22/2024',y:[19.12,19.34,19.11,19.33]},{ x:'05/23/2024',y:[19.34,19.53,19.32,19.51]},{ x:'05/24/2024',y:[19.43,19.64,19.43,19.62]},{ x:'06/11/2024',y:[19.75,19.91,19.75,19.87]},{ x:'06/12/2024',y:[19.96,20.25,19.95,20.23]},{ x:'06/13/2024',y:[20.57,20.79,20.54,20.76]},{ x:'06/14/2024',y:[20.76,21.06,20.76,21.06]},{ x:'06/17/2024',y:[21.01,21.06,20.93,20.95]},{ x:'06/18/2024',y:[21.10,21.30,21.06,21.26]},{ x:'06/19/2024',y:[21.35,21.90,21.35,21.81]},{ x:'06/20/2024',y:[21.83,22.07,21.83,22.06]},{ x:'06/21/2024',y:[21.89,21.96,21.75,21.91]},{ x:'06/24/2024',y:[21.70,21.70,21.28,21.31]},{ x:'06/25/2024',y:[21.09,21.30,20.89,21.30]},{ x:'06/26/2024',y:[21.35,21.70,21.35,21.63]},{ x:'06/27/2024',y:[21.49,21.58,21.44,21.49]},{ x:'06/28/2024',y:[21.56,21.85,21.56,21.81]},{ x:'07/01/2024',y:[21.85,21.97,21.74,21.75]},{ x:'07/02/2024',y:[21.68,21.81,21.55,21.67]},{ x:'07/03/2024',y:[21.91,21.97,21.82,21.83]},{ x:'07/04/2024',y:[22.08,22.28,22.08,22.25]},{ x:'07/05/2024',y:[22.29,22.43,22.20,22.24]},{ x:'07/12/2024',y:[22.87,22.97,22.54,22.54]},{ x:'07/15/2024',y:[22.69,22.80,22.60,22.62]},{ x:'07/16/2024',y:[22.73,22.92,22.65,22.70]} ] }], chart: { type: "candlestick", height: 350, toolbar: { show: !1 } }, plotOptions: { candlestick: { colors: { upward: chartCandlestickBasicColors[0], downward: chartCandlestickBasicColors[1] } } }, title: { text: "00894 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());