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:[37.08,37.21,37.06,37.20]},{ x:'11/22/2022',y:[37.17,37.21,37.15,37.15]},{ x:'11/23/2022',y:[37.78,37.78,37.50,37.60]},{ x:'11/24/2022',y:[37.99,38.07,37.97,38.05]},{ x:'11/25/2022',y:[38.00,38.17,38.00,38.09]},{ x:'11/28/2022',y:[38.07,38.23,38.01,38.23]},{ x:'11/29/2022',y:[38.09,38.09,37.50,37.60]},{ x:'11/30/2022',y:[37.48,37.48,37.10,37.12]},{ x:'12/01/2022',y:[37.33,37.39,37.32,37.39]},{ x:'12/02/2022',y:[38.12,38.12,37.85,37.92]},{ x:'12/05/2022',y:[37.93,38.20,37.93,38.12]},{ x:'12/06/2022',y:[38.00,38.20,38.00,38.13]},{ x:'12/07/2022',y:[38.38,38.38,38.30,38.35]},{ x:'12/08/2022',y:[38.95,38.95,38.81,38.87]},{ x:'12/09/2022',y:[39.19,39.30,39.04,39.26]},{ x:'12/12/2022',y:[38.79,38.85,38.45,38.78]},{ x:'12/13/2022',y:[38.91,38.91,38.72,38.78]},{ x:'12/14/2022',y:[39.00,39.00,38.88,38.90]},{ x:'12/15/2022',y:[38.85,38.85,38.74,38.82]},{ x:'12/16/2022',y:[38.92,38.93,38.76,38.84]},{ x:'12/19/2022',y:[38.80,38.80,38.36,38.50]},{ x:'12/20/2022',y:[38.13,38.13,37.43,37.60]},{ x:'12/21/2022',y:[37.24,37.24,37.18,37.18]},{ x:'12/22/2022',y:[37.56,37.57,37.54,37.57]},{ x:'12/23/2022',y:[37.35,37.49,37.35,37.43]},{ x:'12/26/2022',y:[37.30,37.49,37.30,37.31]},{ x:'12/27/2022',y:[37.30,37.33,37.22,37.31]},{ x:'12/28/2022',y:[36.80,36.80,36.65,36.70]},{ x:'12/29/2022',y:[36.68,36.68,36.49,36.54]},{ x:'12/30/2022',y:[36.63,36.71,36.63,36.68]},{ x:'01/03/2023',y:[36.46,36.46,36.30,36.43]},{ x:'01/04/2023',y:[36.53,36.81,36.53,36.78]},{ x:'01/05/2023',y:[36.88,37.14,36.88,37.08]},{ x:'01/06/2023',y:[37.25,37.37,37.23,37.30]},{ x:'01/09/2023',y:[37.98,37.98,37.73,37.81]},{ x:'01/10/2023',y:[38.00,38.10,38.00,38.07]},{ x:'01/11/2023',y:[38.04,38.11,37.99,38.04]},{ x:'01/12/2023',y:[38.34,38.65,38.34,38.62]},{ x:'01/13/2023',y:[38.90,38.90,38.80,38.89]},{ x:'01/16/2023',y:[38.77,38.78,38.67,38.67]},{ x:'01/17/2023',y:[38.60,38.62,38.57,38.62]},{ x:'01/30/2023',y:[38.22,38.22,38.01,38.12]},{ x:'01/31/2023',y:[37.92,37.92,37.63,37.72]},{ x:'02/01/2023',y:[38.00,38.07,38.00,38.00]},{ x:'02/02/2023',y:[38.10,38.10,37.90,37.96]},{ x:'02/03/2023',y:[38.43,38.43,38.27,38.35]},{ x:'02/06/2023',y:[38.16,38.16,37.85,37.97]},{ x:'02/07/2023',y:[37.90,37.90,37.74,37.79]},{ x:'02/08/2023',y:[37.60,37.64,37.52,37.61]},{ x:'02/09/2023',y:[37.69,37.69,37.56,37.61]},{ x:'02/10/2023',y:[37.41,37.41,37.21,37.22]},{ x:'02/13/2023',y:[36.97,37.02,36.84,36.85]},{ x:'02/14/2023',y:[37.05,37.09,36.99,37.01]},{ x:'02/15/2023',y:[37.13,37.18,37.10,37.18]},{ x:'02/16/2023',y:[37.02,37.02,36.96,36.98]},{ x:'02/17/2023',y:[36.57,36.57,36.41,36.48]},{ x:'02/20/2023',y:[36.73,36.73,36.60,36.63]},{ x:'02/21/2023',y:[36.57,36.62,36.57,36.62]},{ x:'02/22/2023',y:[36.24,36.34,36.24,36.32]},{ x:'02/23/2023',y:[36.50,36.50,36.23,36.25]} ] }], 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());