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/18/2022',y:[34.60,34.65,34.60,34.62]},{ x:'11/21/2022',y:[34.51,34.63,34.51,34.62]},{ x:'11/22/2022',y:[34.58,34.59,34.53,34.55]},{ x:'11/23/2022',y:[34.61,34.71,34.61,34.68]},{ x:'11/24/2022',y:[34.75,34.75,34.62,34.62]},{ x:'11/25/2022',y:[34.65,34.65,34.57,34.57]},{ x:'11/28/2022',y:[34.77,34.82,34.72,34.81]},{ x:'11/29/2022',y:[34.72,34.72,34.54,34.55]},{ x:'11/30/2022',y:[34.43,34.44,34.42,34.42]},{ x:'12/01/2022',y:[34.64,34.67,34.54,34.55]},{ x:'12/02/2022',y:[34.60,34.69,34.60,34.68]},{ x:'12/05/2022',y:[34.64,34.65,34.51,34.51]},{ x:'12/06/2022',y:[34.48,34.54,34.45,34.54]},{ x:'12/07/2022',y:[34.62,34.73,34.62,34.69]},{ x:'12/08/2022',y:[34.95,35.03,34.90,34.99]},{ x:'12/09/2022',y:[34.85,34.92,34.85,34.92]},{ x:'12/12/2022',y:[34.65,34.75,34.65,34.75]},{ x:'12/13/2022',y:[34.67,34.67,34.66,34.66]},{ x:'12/14/2022',y:[34.84,34.84,34.75,34.75]},{ x:'12/15/2022',y:[34.83,34.87,34.76,34.87]},{ x:'12/16/2022',y:[35.13,35.13,35.03,35.08]},{ x:'12/19/2022',y:[35.00,35.00,34.95,35.00]},{ x:'12/20/2022',y:[34.82,34.82,34.54,34.56]},{ x:'12/21/2022',y:[34.44,34.46,34.43,34.45]},{ x:'12/22/2022',y:[34.53,34.53,34.53,34.53]},{ x:'12/23/2022',y:[34.53,34.53,34.53,34.53]},{ x:'12/26/2022',y:[34.47,34.47,34.39,34.43]},{ x:'12/27/2022',y:[34.38,34.38,34.38,34.38]},{ x:'12/28/2022',y:[34.12,34.12,34.10,34.11]},{ x:'12/29/2022',y:[34.18,34.18,34.14,34.14]},{ x:'12/30/2022',y:[34.22,34.23,34.22,34.23]},{ x:'01/03/2023',y:[34.16,34.17,34.14,34.17]},{ x:'01/04/2023',y:[34.28,34.44,34.28,34.37]},{ x:'01/05/2023',y:[34.56,34.56,34.53,34.53]},{ x:'01/06/2023',y:[34.49,34.51,34.42,34.46]},{ x:'01/09/2023',y:[34.82,34.82,34.72,34.72]},{ x:'01/10/2023',y:[34.76,34.76,34.68,34.70]},{ x:'01/11/2023',y:[34.68,34.68,34.53,34.58]},{ x:'01/12/2023',y:[34.62,34.72,34.62,34.72]},{ x:'01/13/2023',y:[34.85,34.87,34.82,34.85]},{ x:'01/16/2023',y:[34.66,34.66,34.60,34.60]},{ x:'01/17/2023',y:[34.62,34.64,34.61,34.64]},{ x:'01/30/2023',y:[34.64,34.64,34.40,34.46]},{ x:'01/31/2023',y:[34.33,34.33,34.22,34.23]},{ x:'02/01/2023',y:[34.28,34.36,34.28,34.29]},{ x:'02/02/2023',y:[34.32,34.32,34.14,34.15]},{ x:'02/03/2023',y:[34.24,34.28,34.21,34.21]},{ x:'02/06/2023',y:[34.09,34.13,33.97,34.03]},{ x:'02/07/2023',y:[33.93,33.97,33.90,33.95]},{ x:'02/08/2023',y:[33.91,33.94,33.85,33.94]},{ x:'02/09/2023',y:[34.01,34.01,33.95,33.99]},{ x:'02/10/2023',y:[33.88,33.95,33.88,33.95]},{ x:'02/13/2023',y:[33.78,33.85,33.78,33.81]},{ x:'02/14/2023',y:[33.88,33.93,33.86,33.93]},{ x:'02/15/2023',y:[33.81,33.94,33.81,33.94]},{ x:'02/16/2023',y:[33.86,33.86,33.72,33.77]},{ x:'02/17/2023',y:[33.63,33.66,33.58,33.65]},{ x:'02/20/2023',y:[33.76,33.80,33.74,33.80]},{ x:'02/21/2023',y:[33.76,33.78,33.75,33.76]},{ x:'02/22/2023',y:[33.61,33.67,33.61,33.66]} ] }], chart: { type: "candlestick", height: 350, toolbar: { show: !1 } }, plotOptions: { candlestick: { colors: { upward: chartCandlestickBasicColors[0], downward: chartCandlestickBasicColors[1] } } }, title: { text: "00695b 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());