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:[35.02,35.44,34.97,35.05]},{ x:'01/23/2024',y:[35.10,35.15,35.01,35.10]},{ x:'01/24/2024',y:[35.16,35.20,35.11,35.13]},{ x:'01/25/2024',y:[35.30,35.42,35.27,35.38]},{ x:'01/26/2024',y:[35.35,35.43,35.31,35.40]},{ x:'01/29/2024',y:[35.40,35.69,35.37,35.69]},{ x:'01/30/2024',y:[35.64,35.68,35.57,35.65]},{ x:'01/31/2024',y:[35.41,35.41,35.25,35.27]},{ x:'02/01/2024',y:[35.27,35.33,35.11,35.27]},{ x:'02/02/2024',y:[35.40,35.50,35.37,35.50]},{ x:'02/05/2024',y:[35.38,35.56,35.27,35.56]},{ x:'02/15/2024',y:[36.74,36.80,36.35,36.68]},{ x:'02/16/2024',y:[36.68,36.75,36.56,36.61]},{ x:'02/19/2024',y:[36.60,36.63,36.47,36.62]},{ x:'02/20/2024',y:[36.52,36.82,36.52,36.78]},{ x:'02/21/2024',y:[36.76,36.76,36.64,36.65]},{ x:'02/22/2024',y:[36.97,36.98,36.79,36.94]},{ x:'02/23/2024',y:[37.06,37.25,37.02,37.15]},{ x:'02/26/2024',y:[37.14,37.23,36.98,37.22]},{ x:'02/27/2024',y:[36.79,36.89,36.43,36.63]},{ x:'02/29/2024',y:[36.52,36.84,36.50,36.78]},{ x:'03/01/2024',y:[36.76,36.82,36.68,36.70]},{ x:'03/04/2024',y:[37.02,37.49,37.02,37.41]},{ x:'03/05/2024',y:[37.50,37.75,37.48,37.69]},{ x:'03/06/2024',y:[37.44,37.90,37.36,37.90]},{ x:'03/07/2024',y:[38.35,38.61,38.24,38.43]},{ x:'03/08/2024',y:[39.12,39.25,38.53,38.79]},{ x:'03/11/2024',y:[38.66,38.84,38.56,38.64]},{ x:'03/12/2024',y:[38.60,39.09,38.60,39.07]},{ x:'03/13/2024',y:[39.27,39.45,39.11,39.21]},{ x:'03/14/2024',y:[39.21,39.30,38.97,39.20]},{ x:'03/15/2024',y:[39.15,39.15,38.88,38.92]},{ x:'03/18/2024',y:[38.92,39.21,38.90,39.21]},{ x:'03/19/2024',y:[38.95,39.26,38.88,39.16]},{ x:'03/20/2024',y:[39.31,39.40,38.97,39.02]},{ x:'03/21/2024',y:[39.49,39.89,39.47,39.84]},{ x:'03/22/2024',y:[39.84,39.96,39.61,39.88]},{ x:'03/25/2024',y:[39.88,39.94,39.70,39.85]},{ x:'03/26/2024',y:[39.98,40.24,39.50,39.83]},{ x:'03/27/2024',y:[39.83,40.04,39.68,39.97]},{ x:'03/28/2024',y:[39.90,40.00,39.62,40.00]},{ x:'03/29/2024',y:[39.98,40.17,39.92,40.07]},{ x:'04/01/2024',y:[40.20,40.33,39.95,39.95]},{ x:'04/02/2024',y:[40.18,40.50,40.18,40.48]},{ x:'04/03/2024',y:[40.26,40.36,40.04,40.18]},{ x:'04/08/2024',y:[40.20,40.55,40.20,40.44]},{ x:'04/09/2024',y:[40.50,41.13,40.50,41.09]},{ x:'04/10/2024',y:[41.09,41.20,41.01,41.03]},{ x:'04/11/2024',y:[40.87,40.94,40.72,40.89]},{ x:'04/12/2024',y:[40.84,40.96,40.75,40.80]},{ x:'04/15/2024',y:[40.45,40.46,40.25,40.37]},{ x:'04/16/2024',y:[39.89,39.90,38.95,39.22]},{ x:'04/17/2024',y:[39.34,39.73,39.26,39.60]},{ x:'04/18/2024',y:[39.43,39.93,39.30,39.93]},{ x:'04/19/2024',y:[39.17,39.17,37.86,38.39]},{ x:'04/22/2024',y:[38.23,38.55,38.12,38.26]},{ x:'04/23/2024',y:[38.71,38.78,38.48,38.62]},{ x:'04/24/2024',y:[39.13,39.70,39.13,39.66]},{ x:'04/25/2024',y:[39.15,39.23,38.89,38.99]},{ x:'04/26/2024',y:[39.50,39.77,39.44,39.62]} ] }], chart: { type: "candlestick", height: 350, toolbar: { show: !1 } }, plotOptions: { candlestick: { colors: { upward: chartCandlestickBasicColors[0], downward: chartCandlestickBasicColors[1] } } }, title: { text: "00850 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());