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/17/2023',y:[37.24,37.24,37.17,37.19]},{ x:'11/20/2023',y:[37.08,37.08,36.91,36.91]},{ x:'11/21/2023',y:[36.82,36.82,36.72,36.73]},{ x:'11/22/2023',y:[36.77,36.82,36.77,36.82]},{ x:'11/23/2023',y:[36.96,36.96,36.96,36.96]},{ x:'11/24/2023',y:[36.96,37.01,36.96,37.01]},{ x:'11/27/2023',y:[36.98,37.00,36.95,37.00]},{ x:'11/28/2023',y:[36.89,36.89,36.89,36.89]},{ x:'11/29/2023',y:[36.77,36.78,36.74,36.74]},{ x:'11/30/2023',y:[36.70,36.95,36.70,36.88]},{ x:'12/01/2023',y:[36.90,37.05,36.90,37.05]},{ x:'12/04/2023',y:[37.03,37.03,37.03,37.03]},{ x:'12/05/2023',y:[37.09,37.12,37.09,37.10]},{ x:'12/06/2023',y:[37.35,37.35,37.31,37.32]},{ x:'12/07/2023',y:[37.31,37.32,37.31,37.32]},{ x:'12/08/2023',y:[37.11,37.19,37.11,37.19]},{ x:'12/11/2023',y:[37.19,37.28,37.19,37.28]},{ x:'12/12/2023',y:[37.23,37.25,37.23,37.25]},{ x:'12/18/2023',y:[37.57,37.61,37.57,37.61]},{ x:'12/19/2023',y:[37.58,37.58,37.55,37.55]},{ x:'01/10/2024',y:[37.40,37.40,37.34,37.34]},{ x:'01/11/2024',y:[37.38,37.44,37.38,37.44]},{ x:'01/12/2024',y:[37.42,37.47,37.42,37.45]},{ x:'01/15/2024',y:[37.45,37.66,37.45,37.65]},{ x:'01/16/2024',y:[37.80,37.93,37.80,37.93]},{ x:'01/17/2024',y:[37.40,37.49,37.38,37.49]},{ x:'01/18/2024',y:[37.47,37.52,37.47,37.52]},{ x:'01/19/2024',y:[37.38,37.38,37.30,37.30]},{ x:'01/22/2024',y:[37.24,37.24,37.13,37.16]},{ x:'01/23/2024',y:[37.10,37.23,37.10,37.18]},{ x:'01/24/2024',y:[37.21,37.21,37.11,37.18]},{ x:'01/25/2024',y:[37.16,37.16,37.16,37.16]},{ x:'01/26/2024',y:[37.29,37.32,37.26,37.30]},{ x:'01/29/2024',y:[37.15,37.24,37.15,37.20]},{ x:'01/30/2024',y:[37.20,37.20,37.16,37.18]},{ x:'01/31/2024',y:[37.18,37.31,37.18,37.31]},{ x:'02/01/2024',y:[37.28,37.35,37.28,37.35]},{ x:'02/02/2024',y:[37.19,37.27,37.19,37.24]},{ x:'02/05/2024',y:[37.29,37.37,37.29,37.37]},{ x:'02/15/2024',y:[37.22,37.33,37.21,37.30]},{ x:'02/16/2024',y:[37.44,37.44,37.35,37.41]},{ x:'02/19/2024',y:[37.38,37.41,37.30,37.41]},{ x:'02/20/2024',y:[37.35,37.41,37.35,37.41]},{ x:'02/21/2024',y:[37.45,37.45,37.42,37.42]},{ x:'02/22/2024',y:[37.42,37.47,37.42,37.47]},{ x:'02/23/2024',y:[37.51,37.66,37.51,37.62]},{ x:'02/26/2024',y:[37.70,37.70,37.68,37.68]},{ x:'02/27/2024',y:[37.65,37.71,37.65,37.69]},{ x:'02/29/2024',y:[37.79,37.87,37.79,37.87]},{ x:'03/01/2024',y:[37.82,37.82,37.72,37.74]},{ x:'03/04/2024',y:[37.70,37.77,37.70,37.77]},{ x:'03/05/2024',y:[37.79,37.79,37.77,37.77]},{ x:'03/06/2024',y:[37.90,37.91,37.80,37.88]},{ x:'03/07/2024',y:[37.77,37.85,37.75,37.85]},{ x:'03/08/2024',y:[37.85,37.85,37.80,37.85]},{ x:'03/11/2024',y:[37.80,37.80,37.77,37.78]},{ x:'03/12/2024',y:[37.74,37.75,37.70,37.75]},{ x:'03/13/2024',y:[37.77,37.80,37.77,37.79]},{ x:'03/14/2024',y:[37.84,37.84,37.82,37.82]},{ x:'03/15/2024',y:[37.84,37.91,37.84,37.91]} ] }], chart: { type: "candlestick", height: 350, toolbar: { show: !1 } }, plotOptions: { candlestick: { colors: { upward: chartCandlestickBasicColors[0], downward: chartCandlestickBasicColors[1] } } }, title: { text: "00741b 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());