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:[38.24,38.29,38.18,38.29]},{ x:'01/23/2024',y:[38.31,38.33,38.21,38.32]},{ x:'01/24/2024',y:[38.07,38.13,38.01,38.11]},{ x:'01/25/2024',y:[37.90,38.01,37.87,38.01]},{ x:'01/26/2024',y:[38.27,38.30,38.26,38.29]},{ x:'01/29/2024',y:[38.29,38.30,38.17,38.23]},{ x:'01/30/2024',y:[38.37,38.49,38.35,38.45]},{ x:'01/31/2024',y:[38.55,38.78,38.52,38.78]},{ x:'02/01/2024',y:[38.95,38.99,38.86,38.93]},{ x:'02/02/2024',y:[39.08,39.08,38.88,38.94]},{ x:'02/05/2024',y:[38.50,38.65,38.50,38.59]},{ x:'02/15/2024',y:[37.92,37.98,37.78,37.84]},{ x:'02/16/2024',y:[37.66,37.70,37.62,37.68]},{ x:'02/19/2024',y:[37.65,37.68,37.59,37.67]},{ x:'02/20/2024',y:[37.63,37.73,37.57,37.73]},{ x:'02/21/2024',y:[37.73,37.84,37.73,37.84]},{ x:'02/22/2024',y:[37.76,37.86,37.72,37.81]},{ x:'02/23/2024',y:[37.93,37.97,37.91,37.95]},{ x:'02/26/2024',y:[38.21,38.26,38.17,38.25]},{ x:'02/27/2024',y:[38.09,38.09,38.02,38.05]},{ x:'02/29/2024',y:[38.05,38.07,37.97,37.97]},{ x:'03/01/2024',y:[37.96,38.01,37.93,37.96]},{ x:'03/04/2024',y:[38.07,38.15,38.05,38.09]},{ x:'03/05/2024',y:[38.09,38.16,38.07,38.16]},{ x:'03/06/2024',y:[38.31,38.41,38.30,38.40]},{ x:'03/07/2024',y:[38.60,38.65,38.55,38.58]},{ x:'03/08/2024',y:[38.58,38.65,38.55,38.64]},{ x:'03/11/2024',y:[38.65,38.75,38.65,38.74]},{ x:'03/12/2024',y:[38.69,38.73,38.68,38.71]},{ x:'03/13/2024',y:[38.65,38.65,38.53,38.57]},{ x:'03/14/2024',y:[38.55,38.55,38.48,38.49]},{ x:'03/15/2024',y:[38.29,38.34,38.21,38.31]},{ x:'03/18/2024',y:[38.31,38.39,38.30,38.32]},{ x:'03/19/2024',y:[38.38,38.47,38.34,38.46]},{ x:'03/20/2024',y:[38.52,38.60,38.52,38.58]},{ x:'03/21/2024',y:[38.49,38.56,38.44,38.51]},{ x:'03/22/2024',y:[38.73,38.97,38.72,38.95]},{ x:'03/25/2024',y:[39.16,39.23,38.90,38.97]},{ x:'03/26/2024',y:[38.88,38.91,38.76,38.86]},{ x:'03/27/2024',y:[38.88,38.95,38.86,38.93]},{ x:'03/28/2024',y:[39.16,39.19,39.13,39.15]},{ x:'03/29/2024',y:[39.36,39.36,39.29,39.34]},{ x:'04/01/2024',y:[39.28,39.35,39.26,39.33]},{ x:'04/02/2024',y:[38.98,39.03,38.94,38.94]},{ x:'04/03/2024',y:[38.74,38.85,38.74,38.74]},{ x:'04/08/2024',y:[38.53,38.58,38.52,38.53]},{ x:'04/09/2024',y:[38.64,38.84,38.63,38.76]},{ x:'04/10/2024',y:[38.91,38.94,38.84,38.89]},{ x:'04/11/2024',y:[38.41,38.48,38.33,38.45]},{ x:'04/12/2024',y:[38.27,38.30,38.22,38.29]},{ x:'04/15/2024',y:[38.33,38.36,38.24,38.27]},{ x:'04/16/2024',y:[38.09,38.09,37.96,38.04]},{ x:'04/17/2024',y:[37.78,37.80,37.59,37.62]},{ x:'04/18/2024',y:[37.38,37.45,37.35,37.37]},{ x:'04/19/2024',y:[37.43,37.94,37.43,37.65]},{ x:'04/22/2024',y:[37.35,37.45,37.35,37.45]},{ x:'04/23/2024',y:[37.65,37.74,37.65,37.74]},{ x:'04/24/2024',y:[37.74,37.74,37.56,37.62]},{ x:'04/25/2024',y:[37.46,37.52,37.43,37.44]},{ x:'04/26/2024',y:[37.31,37.34,37.26,37.32]} ] }], chart: { type: "candlestick", height: 350, toolbar: { show: !1 } }, plotOptions: { candlestick: { colors: { upward: chartCandlestickBasicColors[0], downward: chartCandlestickBasicColors[1] } } }, title: { text: "00722b 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());