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/29/2023',y:[32.81,32.92,32.81,32.82]},{ x:'11/30/2023',y:[33.10,33.20,33.10,33.13]},{ x:'12/01/2023',y:[33.13,33.13,33.06,33.13]},{ x:'12/04/2023',y:[33.48,33.59,33.48,33.53]},{ x:'12/05/2023',y:[33.59,33.67,33.59,33.64]},{ x:'12/06/2023',y:[34.02,34.09,34.01,34.01]},{ x:'12/07/2023',y:[34.21,34.47,34.21,34.25]},{ x:'12/08/2023',y:[34.13,34.13,33.93,34.03]},{ x:'12/11/2023',y:[34.08,34.08,34.08,34.08]},{ x:'12/12/2023',y:[33.92,34.03,33.89,34.03]},{ x:'12/18/2023',y:[35.29,35.37,35.29,35.37]},{ x:'12/19/2023',y:[35.27,35.28,35.19,35.23]},{ x:'01/10/2024',y:[34.34,34.38,34.34,34.38]},{ x:'01/11/2024',y:[34.48,34.60,34.48,34.55]},{ x:'01/12/2024',y:[34.68,34.76,34.68,34.70]},{ x:'01/15/2024',y:[34.82,35.00,34.82,35.00]},{ x:'01/16/2024',y:[34.89,34.99,34.89,34.99]},{ x:'01/17/2024',y:[34.23,34.32,34.23,34.26]},{ x:'01/18/2024',y:[34.22,34.25,34.22,34.25]},{ x:'01/19/2024',y:[34.04,34.04,33.85,33.85]},{ x:'01/22/2024',y:[34.03,34.07,34.02,34.07]},{ x:'01/23/2024',y:[34.12,34.12,34.12,34.12]},{ x:'01/24/2024',y:[33.88,33.91,33.85,33.91]},{ x:'01/25/2024',y:[33.69,33.79,33.69,33.79]},{ x:'01/26/2024',y:[34.01,34.07,34.01,34.04]},{ x:'01/29/2024',y:[33.93,34.01,33.93,33.99]},{ x:'01/30/2024',y:[34.08,34.20,34.08,34.20]},{ x:'01/31/2024',y:[34.30,34.39,34.30,34.39]},{ x:'02/01/2024',y:[34.46,34.55,34.41,34.55]},{ x:'02/02/2024',y:[34.55,34.56,34.49,34.50]},{ x:'02/05/2024',y:[34.12,34.18,34.12,34.13]},{ x:'02/15/2024',y:[33.41,33.51,33.33,33.49]},{ x:'02/16/2024',y:[33.30,33.34,33.30,33.34]},{ x:'02/19/2024',y:[33.22,33.32,33.22,33.31]},{ x:'02/20/2024',y:[33.31,33.33,33.25,33.33]},{ x:'02/21/2024',y:[33.38,33.43,33.38,33.41]},{ x:'02/22/2024',y:[33.41,33.41,33.41,33.41]},{ x:'02/23/2024',y:[33.55,33.57,33.55,33.57]},{ x:'02/26/2024',y:[33.93,33.94,33.89,33.93]},{ x:'02/27/2024',y:[33.73,33.75,33.70,33.75]},{ x:'02/29/2024',y:[33.72,33.72,33.71,33.71]},{ x:'03/01/2024',y:[33.65,33.66,33.59,33.66]},{ x:'03/04/2024',y:[33.66,33.73,33.64,33.72]},{ x:'03/05/2024',y:[33.72,33.76,33.70,33.76]},{ x:'03/06/2024',y:[33.90,33.95,33.90,33.94]},{ x:'03/07/2024',y:[34.05,34.14,34.05,34.11]},{ x:'03/08/2024',y:[34.14,34.21,34.14,34.20]},{ x:'03/11/2024',y:[34.25,34.26,34.25,34.26]},{ x:'03/12/2024',y:[34.19,34.21,34.19,34.21]},{ x:'03/13/2024',y:[34.09,34.11,34.09,34.10]},{ x:'03/14/2024',y:[34.10,34.10,33.99,33.99]},{ x:'03/15/2024',y:[33.84,33.87,33.84,33.87]},{ x:'03/18/2024',y:[33.90,33.90,33.82,33.82]},{ x:'03/19/2024',y:[33.97,34.03,33.95,34.01]},{ x:'03/20/2024',y:[34.13,34.13,34.08,34.13]},{ x:'03/21/2024',y:[34.00,34.03,34.00,34.00]},{ x:'03/22/2024',y:[34.00,34.42,34.00,34.38]},{ x:'03/25/2024',y:[34.57,34.57,34.39,34.45]},{ x:'03/26/2024',y:[34.31,34.37,34.31,34.37]},{ x:'03/27/2024',y:[34.41,34.42,34.40,34.42]} ] }], chart: { type: "candlestick", height: 350, toolbar: { show: !1 } }, plotOptions: { candlestick: { colors: { upward: chartCandlestickBasicColors[0], downward: chartCandlestickBasicColors[1] } } }, title: { text: "00723b 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());