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.94,35.94,35.89,35.92]},{ x:'05/02/2024',y:[35.27,35.42,35.27,35.42]},{ x:'05/03/2024',y:[35.41,35.41,35.25,35.25]},{ x:'05/06/2024',y:[35.45,35.47,35.45,35.47]},{ x:'05/07/2024',y:[35.73,35.85,35.73,35.85]},{ x:'05/08/2024',y:[36.15,36.15,36.00,36.01]},{ x:'05/09/2024',y:[36.22,36.27,36.22,36.26]},{ x:'05/10/2024',y:[36.44,36.52,36.41,36.52]},{ x:'05/13/2024',y:[36.73,36.73,36.62,36.72]},{ x:'05/14/2024',y:[36.72,36.72,36.58,36.72]},{ x:'05/15/2024',y:[36.67,36.85,36.67,36.71]},{ x:'05/16/2024',y:[36.78,36.93,36.78,36.79]},{ x:'05/17/2024',y:[36.50,36.53,36.45,36.45]},{ x:'05/20/2024',y:[36.66,36.69,36.62,36.65]},{ x:'05/21/2024',y:[36.66,36.67,36.57,36.67]},{ x:'05/22/2024',y:[36.67,36.67,36.52,36.52]},{ x:'05/23/2024',y:[36.52,36.61,36.47,36.61]},{ x:'05/24/2024',y:[36.34,36.34,36.22,36.22]},{ x:'06/11/2024',y:[36.44,36.44,36.41,36.41]},{ x:'06/12/2024',y:[36.00,36.08,35.92,36.08]},{ x:'06/13/2024',y:[36.43,36.43,36.25,36.30]},{ x:'06/14/2024',y:[35.83,35.88,35.82,35.86]},{ x:'06/17/2024',y:[35.17,35.27,35.16,35.25]},{ x:'06/18/2024',y:[35.45,35.57,35.45,35.55]},{ x:'06/19/2024',y:[35.71,35.72,35.56,35.71]},{ x:'06/20/2024',y:[35.70,35.79,35.70,35.79]},{ x:'06/21/2024',y:[35.79,35.87,35.79,35.87]},{ x:'06/24/2024',y:[35.70,35.70,35.47,35.58]},{ x:'06/25/2024',y:[35.66,35.82,35.66,35.82]},{ x:'06/26/2024',y:[35.83,35.96,35.83,35.94]},{ x:'06/27/2024',y:[35.59,35.59,35.46,35.49]},{ x:'06/28/2024',y:[35.63,35.67,35.63,35.67]},{ x:'07/01/2024',y:[35.82,35.93,35.80,35.93]},{ x:'07/02/2024',y:[35.76,35.76,35.72,35.72]},{ x:'07/03/2024',y:[35.56,35.76,35.56,35.62]},{ x:'07/04/2024',y:[36.00,36.04,35.87,35.87]},{ x:'07/05/2024',y:[36.05,36.20,36.05,36.15]},{ x:'07/12/2024',y:[36.01,36.15,36.01,36.15]},{ x:'07/15/2024',y:[36.36,36.49,36.36,36.49]},{ x:'07/16/2024',y:[36.19,36.19,36.15,36.15]},{ x:'07/17/2024',y:[36.07,36.07,35.97,35.97]},{ x:'07/18/2024',y:[35.61,35.61,35.42,35.53]},{ x:'07/19/2024',y:[35.30,35.46,35.22,35.46]},{ x:'07/22/2024',y:[35.27,35.36,35.16,35.36]},{ x:'07/23/2024',y:[35.62,35.81,35.62,35.77]},{ x:'07/26/2024',y:[35.10,35.10,34.92,35.02]},{ x:'07/29/2024',y:[35.55,35.70,35.55,35.67]},{ x:'07/30/2024',y:[35.08,35.21,34.93,35.21]},{ x:'07/31/2024',y:[35.35,35.35,35.35,35.35]},{ x:'08/01/2024',y:[35.40,35.65,35.40,35.63]},{ x:'08/02/2024',y:[34.54,34.65,34.44,34.65]},{ x:'08/05/2024',y:[33.74,33.77,33.65,33.65]},{ x:'08/06/2024',y:[34.04,34.04,33.82,33.90]},{ x:'08/07/2024',y:[33.71,34.07,33.71,34.03]},{ x:'08/08/2024',y:[33.76,33.93,33.76,33.86]},{ x:'08/09/2024',y:[34.30,34.35,34.22,34.22]},{ x:'08/12/2024',y:[34.38,34.45,34.38,34.45]},{ x:'08/13/2024',y:[34.35,34.35,34.31,34.33]},{ x:'08/14/2024',y:[34.33,34.55,34.33,34.54]},{ x:'08/15/2024',y:[34.65,34.82,34.65,34.82]} ] }], chart: { type: "candlestick", height: 350, toolbar: { show: !1 } }, plotOptions: { candlestick: { colors: { upward: chartCandlestickBasicColors[0], downward: chartCandlestickBasicColors[1] } } }, title: { text: "00660 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());