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:'11/21/2022',y:[35.49,35.61,35.49,35.61]},{ x:'11/22/2022',y:[35.61,35.66,35.60,35.63]},{ x:'11/23/2022',y:[35.94,35.96,35.91,35.94]},{ x:'11/24/2022',y:[36.46,36.47,36.36,36.36]},{ x:'11/25/2022',y:[36.40,36.42,36.34,36.34]},{ x:'11/28/2022',y:[36.23,36.41,36.23,36.41]},{ x:'11/29/2022',y:[36.17,36.17,36.07,36.10]},{ x:'11/30/2022',y:[35.87,35.91,35.82,35.89]},{ x:'12/01/2022',y:[36.03,36.03,35.93,35.95]},{ x:'12/02/2022',y:[36.36,36.37,36.28,36.30]},{ x:'12/05/2022',y:[36.52,36.55,36.49,36.52]},{ x:'12/06/2022',y:[36.79,36.79,36.67,36.70]},{ x:'12/07/2022',y:[36.66,36.68,36.62,36.64]},{ x:'12/08/2022',y:[37.06,37.08,36.98,37.00]},{ x:'12/09/2022',y:[37.29,37.31,37.26,37.31]},{ x:'12/12/2022',y:[36.79,36.94,36.78,36.91]},{ x:'12/13/2022',y:[36.86,36.86,36.78,36.80]},{ x:'12/14/2022',y:[37.09,37.12,37.05,37.07]},{ x:'12/15/2022',y:[36.85,36.91,36.80,36.91]},{ x:'12/16/2022',y:[37.11,37.11,36.97,36.99]},{ x:'12/19/2022',y:[36.84,36.85,36.80,36.81]},{ x:'12/20/2022',y:[36.52,36.54,35.92,36.03]},{ x:'12/21/2022',y:[35.81,35.89,35.74,35.85]},{ x:'12/22/2022',y:[36.05,36.11,36.04,36.08]},{ x:'12/23/2022',y:[35.98,36.01,35.92,35.99]},{ x:'12/26/2022',y:[35.93,36.01,35.93,36.01]},{ x:'12/27/2022',y:[36.01,36.04,35.97,35.98]},{ x:'12/28/2022',y:[35.53,35.56,35.45,35.45]},{ x:'12/29/2022',y:[35.38,35.39,35.35,35.37]},{ x:'12/30/2022',y:[35.48,35.52,35.45,35.48]},{ x:'01/03/2023',y:[35.48,35.56,35.46,35.55]},{ x:'01/04/2023',y:[35.74,35.81,35.70,35.72]},{ x:'01/05/2023',y:[35.88,35.88,35.76,35.76]},{ x:'01/06/2023',y:[35.85,35.92,35.83,35.87]},{ x:'01/09/2023',y:[36.41,36.41,36.18,36.18]},{ x:'01/10/2023',y:[36.54,36.57,36.47,36.53]},{ x:'01/11/2023',y:[36.50,36.51,36.42,36.48]},{ x:'01/12/2023',y:[36.72,36.93,36.72,36.90]},{ x:'01/13/2023',y:[37.19,37.28,37.18,37.27]},{ x:'01/16/2023',y:[37.20,37.22,37.16,37.16]},{ x:'01/17/2023',y:[37.19,37.19,37.10,37.12]},{ x:'01/30/2023',y:[36.78,36.78,36.67,36.74]},{ x:'01/31/2023',y:[36.61,36.61,36.49,36.51]},{ x:'02/01/2023',y:[36.54,36.57,36.52,36.56]},{ x:'02/02/2023',y:[36.67,36.67,36.58,36.58]},{ x:'02/03/2023',y:[36.68,36.80,36.68,36.70]},{ x:'02/06/2023',y:[36.36,36.48,36.36,36.48]},{ x:'02/07/2023',y:[36.47,36.47,36.34,36.38]},{ x:'02/08/2023',y:[36.30,36.30,36.18,36.22]},{ x:'02/09/2023',y:[36.28,36.28,36.20,36.21]},{ x:'02/10/2023',y:[36.02,36.02,35.94,35.97]},{ x:'02/13/2023',y:[35.68,35.70,35.66,35.70]},{ x:'02/14/2023',y:[35.88,35.88,35.75,35.78]},{ x:'02/15/2023',y:[35.78,35.84,35.74,35.84]},{ x:'02/16/2023',y:[35.70,35.72,35.63,35.68]},{ x:'02/17/2023',y:[35.20,35.25,35.16,35.25]},{ x:'02/20/2023',y:[35.45,35.46,35.37,35.38]},{ x:'02/21/2023',y:[35.46,35.51,35.40,35.41]},{ x:'02/22/2023',y:[35.05,35.05,34.97,34.97]},{ x:'02/23/2023',y:[35.10,35.12,34.90,34.92]} ] }], chart: { type: "candlestick", height: 350, toolbar: { show: !1 } }, plotOptions: { candlestick: { colors: { upward: chartCandlestickBasicColors[0], downward: chartCandlestickBasicColors[1] } } }, title: { text: "00725b 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());