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/16/2022',y:[36.87,36.99,36.18,36.41]},{ x:'11/17/2022',y:[36.16,36.19,34.98,35.14]},{ x:'11/18/2022',y:[35.60,36.16,35.30,35.79]},{ x:'11/21/2022',y:[35.45,35.45,33.90,34.47]},{ x:'11/22/2022',y:[34.70,35.81,34.47,35.30]},{ x:'11/23/2022',y:[35.35,35.62,34.76,35.19]},{ x:'11/24/2022',y:[35.32,35.70,34.44,34.44]},{ x:'11/25/2022',y:[34.67,35.10,34.20,34.97]},{ x:'11/28/2022',y:[34.42,34.42,32.68,33.48]},{ x:'11/29/2022',y:[34.44,36.80,34.38,36.52]},{ x:'11/30/2022',y:[36.90,37.19,36.30,36.79]},{ x:'12/01/2022',y:[38.20,39.16,37.78,37.99]},{ x:'12/02/2022',y:[37.68,37.80,37.09,37.09]},{ x:'12/05/2022',y:[38.44,39.30,37.80,38.53]},{ x:'12/06/2022',y:[38.37,40.04,38.14,39.44]},{ x:'12/07/2022',y:[39.53,40.38,39.35,40.33]},{ x:'12/08/2022',y:[39.48,39.92,39.18,39.65]},{ x:'12/09/2022',y:[40.00,40.30,39.30,40.06]},{ x:'12/12/2022',y:[40.13,40.51,39.73,39.86]},{ x:'12/13/2022',y:[39.66,39.95,39.37,39.59]},{ x:'12/14/2022',y:[39.76,40.38,39.23,40.25]},{ x:'12/15/2022',y:[40.14,40.55,39.45,39.96]},{ x:'12/16/2022',y:[39.82,40.58,39.72,40.12]},{ x:'12/19/2022',y:[40.18,40.99,39.66,39.85]},{ x:'12/20/2022',y:[39.57,39.58,37.61,37.61]},{ x:'12/21/2022',y:[37.85,38.45,37.83,38.11]},{ x:'12/22/2022',y:[38.68,39.48,38.61,38.83]},{ x:'12/23/2022',y:[38.29,39.09,38.01,38.44]},{ x:'12/26/2022',y:[38.58,38.85,38.20,38.59]},{ x:'12/27/2022',y:[39.00,40.22,38.88,39.21]},{ x:'12/28/2022',y:[39.73,39.73,38.60,39.25]},{ x:'12/29/2022',y:[38.90,38.95,38.07,38.44]},{ x:'12/30/2022',y:[39.00,39.50,38.92,39.15]},{ x:'01/03/2023',y:[38.90,39.01,37.81,38.65]},{ x:'01/04/2023',y:[38.87,39.26,38.47,38.65]},{ x:'01/05/2023',y:[39.85,40.98,39.71,40.70]},{ x:'01/06/2023',y:[41.20,41.62,40.80,41.20]},{ x:'01/09/2023',y:[42.00,42.03,41.28,41.72]},{ x:'01/10/2023',y:[41.90,41.98,41.50,41.80]},{ x:'01/11/2023',y:[42.20,42.51,41.64,42.30]},{ x:'01/12/2023',y:[42.28,42.41,41.68,41.85]},{ x:'01/13/2023',y:[42.35,43.10,42.28,42.85]},{ x:'01/16/2023',y:[43.72,45.60,43.50,45.30]},{ x:'01/17/2023',y:[44.95,45.10,44.05,44.05]},{ x:'01/30/2023',y:[46.40,46.66,44.97,45.14]},{ x:'01/31/2023',y:[45.00,45.50,43.83,44.14]},{ x:'02/01/2023',y:[44.17,44.17,43.00,43.62]},{ x:'02/02/2023',y:[44.23,44.30,43.11,43.60]},{ x:'02/03/2023',y:[43.01,43.01,41.73,41.92]},{ x:'02/06/2023',y:[41.70,41.70,40.56,40.63]},{ x:'02/07/2023',y:[41.09,41.80,41.09,41.33]},{ x:'02/08/2023',y:[41.61,41.86,41.12,41.14]},{ x:'02/09/2023',y:[40.92,42.24,40.65,42.13]},{ x:'02/10/2023',y:[42.07,42.07,41.23,41.40]},{ x:'02/13/2023',y:[41.17,42.65,41.02,42.64]},{ x:'02/14/2023',y:[42.91,42.99,42.12,42.15]},{ x:'02/15/2023',y:[42.45,42.80,41.80,41.89]},{ x:'02/16/2023',y:[42.30,42.94,41.88,42.92]},{ x:'02/17/2023',y:[41.70,42.17,41.18,41.55]},{ x:'02/20/2023',y:[40.52,41.53,40.21,41.53]} ] }], chart: { type: "candlestick", height: 350, toolbar: { show: !1 } }, plotOptions: { candlestick: { colors: { upward: chartCandlestickBasicColors[0], downward: chartCandlestickBasicColors[1] } } }, title: { text: "00633l 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());