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:'01/22/2024',y:[29.59,29.59,29.53,29.57]},{ x:'01/23/2024',y:[29.54,29.61,29.51,29.61]},{ x:'01/24/2024',y:[29.38,29.47,29.34,29.47]},{ x:'01/25/2024',y:[29.25,29.33,29.21,29.33]},{ x:'01/26/2024',y:[29.48,29.51,29.42,29.48]},{ x:'01/29/2024',y:[29.45,29.45,29.36,29.41]},{ x:'01/30/2024',y:[29.64,29.79,29.62,29.79]},{ x:'01/31/2024',y:[29.89,30.11,29.88,30.11]},{ x:'02/01/2024',y:[30.30,30.42,30.26,30.36]},{ x:'02/02/2024',y:[30.62,30.62,30.46,30.52]},{ x:'02/05/2024',y:[30.15,30.16,30.00,30.10]},{ x:'02/15/2024',y:[29.52,29.62,29.50,29.59]},{ x:'02/16/2024',y:[29.56,29.59,29.55,29.56]},{ x:'02/19/2024',y:[29.54,29.55,29.50,29.54]},{ x:'02/20/2024',y:[29.51,29.56,29.50,29.55]},{ x:'02/21/2024',y:[29.50,29.62,29.50,29.56]},{ x:'02/22/2024',y:[29.53,29.56,29.51,29.55]},{ x:'02/23/2024',y:[29.55,29.62,29.54,29.56]},{ x:'02/26/2024',y:[29.89,29.98,29.89,29.95]},{ x:'02/27/2024',y:[29.63,29.63,29.46,29.56]},{ x:'02/29/2024',y:[29.59,29.62,29.53,29.53]},{ x:'03/01/2024',y:[29.62,29.67,29.59,29.60]},{ x:'03/04/2024',y:[29.65,29.69,29.59,29.65]},{ x:'03/05/2024',y:[29.58,29.66,29.56,29.63]},{ x:'03/06/2024',y:[29.83,29.91,29.77,29.88]},{ x:'03/07/2024',y:[30.06,30.09,30.02,30.04]},{ x:'03/08/2024',y:[30.07,30.07,30.00,30.06]},{ x:'03/11/2024',y:[30.06,30.08,30.03,30.06]},{ x:'03/12/2024',y:[30.05,30.05,29.99,30.02]},{ x:'03/13/2024',y:[29.87,29.87,29.75,29.81]},{ x:'03/14/2024',y:[29.75,29.75,29.66,29.68]},{ x:'03/15/2024',y:[29.39,29.46,29.34,29.42]},{ x:'03/18/2024',y:[29.38,29.43,29.36,29.36]},{ x:'03/19/2024',y:[29.33,29.38,29.30,29.38]},{ x:'03/20/2024',y:[29.36,29.44,29.36,29.44]},{ x:'03/21/2024',y:[29.34,29.42,29.34,29.39]},{ x:'03/22/2024',y:[29.51,29.68,29.51,29.65]},{ x:'03/25/2024',y:[29.87,29.93,29.70,29.79]},{ x:'03/26/2024',y:[29.76,29.76,29.62,29.71]},{ x:'03/27/2024',y:[29.75,29.80,29.73,29.80]},{ x:'03/28/2024',y:[29.95,30.00,29.93,29.97]},{ x:'03/29/2024',y:[30.03,30.03,29.98,30.00]},{ x:'04/01/2024',y:[29.97,29.98,29.90,29.97]},{ x:'04/02/2024',y:[29.67,29.71,29.60,29.65]},{ x:'04/03/2024',y:[29.53,29.54,29.42,29.43]},{ x:'04/08/2024',y:[29.25,29.25,29.14,29.15]},{ x:'04/09/2024',y:[29.14,29.26,29.14,29.23]},{ x:'04/10/2024',y:[29.41,29.42,29.33,29.37]},{ x:'04/11/2024',y:[28.94,28.99,28.80,28.95]},{ x:'04/12/2024',y:[28.85,28.89,28.82,28.88]},{ x:'04/15/2024',y:[28.97,29.01,28.90,28.93]},{ x:'04/16/2024',y:[28.80,28.84,28.71,28.79]},{ x:'04/17/2024',y:[28.65,28.65,28.58,28.60]},{ x:'04/18/2024',y:[28.78,28.87,28.77,28.78]},{ x:'04/19/2024',y:[28.76,29.28,28.75,29.01]},{ x:'04/22/2024',y:[28.82,28.82,28.76,28.77]},{ x:'04/23/2024',y:[28.91,28.94,28.86,28.92]},{ x:'04/24/2024',y:[28.84,28.84,28.73,28.76]},{ x:'04/25/2024',y:[28.70,28.71,28.64,28.64]},{ x:'04/26/2024',y:[28.53,28.53,28.45,28.49]} ] }], chart: { type: "candlestick", height: 350, toolbar: { show: !1 } }, plotOptions: { candlestick: { colors: { upward: chartCandlestickBasicColors[0], downward: chartCandlestickBasicColors[1] } } }, title: { text: "00679b 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());