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/14/2022',y:[37.47,37.47,37.25,37.29]},{ x:'11/15/2022',y:[37.17,37.44,37.17,37.39]},{ x:'11/16/2022',y:[37.45,37.55,37.45,37.55]},{ x:'11/17/2022',y:[37.45,37.49,37.41,37.49]},{ x:'11/18/2022',y:[37.53,37.53,37.41,37.46]},{ x:'11/21/2022',y:[37.46,37.49,37.43,37.46]},{ x:'11/22/2022',y:[37.46,37.49,37.43,37.44]},{ x:'11/23/2022',y:[37.44,37.55,37.44,37.55]},{ x:'11/24/2022',y:[37.55,37.60,37.53,37.55]},{ x:'11/25/2022',y:[37.54,37.58,37.43,37.45]},{ x:'11/28/2022',y:[37.59,37.64,37.54,37.58]},{ x:'11/29/2022',y:[37.47,37.47,37.40,37.43]},{ x:'11/30/2022',y:[37.32,37.32,37.20,37.20]},{ x:'12/01/2022',y:[37.22,37.22,37.13,37.16]},{ x:'12/02/2022',y:[37.22,37.28,37.20,37.28]},{ x:'12/05/2022',y:[37.28,37.28,37.15,37.18]},{ x:'12/06/2022',y:[37.00,37.18,36.93,37.16]},{ x:'12/07/2022',y:[37.16,37.18,37.14,37.18]},{ x:'12/08/2022',y:[37.19,37.22,37.18,37.18]},{ x:'12/09/2022',y:[37.20,37.33,37.20,37.33]},{ x:'12/12/2022',y:[37.28,37.29,37.20,37.20]},{ x:'12/13/2022',y:[37.22,37.25,37.16,37.21]},{ x:'12/14/2022',y:[37.30,37.32,37.26,37.27]},{ x:'12/15/2022',y:[37.28,37.32,37.25,37.26]},{ x:'12/16/2022',y:[37.36,37.43,37.36,37.43]},{ x:'12/19/2022',y:[37.34,37.35,37.27,37.27]},{ x:'12/20/2022',y:[37.28,37.29,37.20,37.23]},{ x:'12/21/2022',y:[37.16,37.16,37.06,37.10]},{ x:'12/22/2022',y:[37.25,37.27,37.25,37.27]},{ x:'12/23/2022',y:[37.26,37.30,37.26,37.27]},{ x:'12/26/2022',y:[37.20,37.25,37.18,37.23]},{ x:'12/27/2022',y:[37.26,37.27,37.25,37.27]},{ x:'12/28/2022',y:[37.24,37.24,37.22,37.22]},{ x:'12/29/2022',y:[37.10,37.10,36.95,37.03]},{ x:'12/30/2022',y:[37.01,37.01,36.95,36.99]},{ x:'01/03/2023',y:[37.00,37.08,37.00,37.03]},{ x:'01/04/2023',y:[37.19,37.20,37.18,37.20]},{ x:'01/05/2023',y:[37.23,37.41,37.23,37.41]},{ x:'01/06/2023',y:[37.50,37.50,37.33,37.36]},{ x:'01/09/2023',y:[37.71,37.71,37.46,37.51]},{ x:'01/10/2023',y:[37.50,37.53,37.50,37.52]},{ x:'01/11/2023',y:[37.50,37.50,37.40,37.50]},{ x:'01/12/2023',y:[37.51,37.55,37.46,37.54]},{ x:'01/13/2023',y:[37.56,37.61,37.56,37.60]},{ x:'01/16/2023',y:[37.60,37.60,37.50,37.51]},{ x:'01/17/2023',y:[37.60,37.60,37.57,37.59]},{ x:'01/30/2023',y:[37.06,37.08,36.75,36.76]},{ x:'01/31/2023',y:[36.70,36.70,36.45,36.50]},{ x:'02/01/2023',y:[36.52,36.59,36.52,36.59]},{ x:'02/02/2023',y:[36.50,36.50,36.40,36.40]},{ x:'02/03/2023',y:[36.60,36.71,36.60,36.66]},{ x:'02/06/2023',y:[36.81,36.82,36.73,36.77]},{ x:'02/07/2023',y:[36.72,36.74,36.64,36.71]},{ x:'02/08/2023',y:[36.65,36.75,36.62,36.75]},{ x:'02/09/2023',y:[36.67,36.72,36.67,36.72]},{ x:'02/10/2023',y:[36.64,36.72,36.62,36.67]},{ x:'02/13/2023',y:[36.58,36.66,36.58,36.66]},{ x:'02/14/2023',y:[36.63,36.67,36.63,36.67]},{ x:'02/15/2023',y:[36.68,36.70,36.68,36.70]},{ x:'02/16/2023',y:[36.66,36.66,36.61,36.62]} ] }], chart: { type: "candlestick", height: 350, toolbar: { show: !1 } }, plotOptions: { candlestick: { colors: { upward: chartCandlestickBasicColors[0], downward: chartCandlestickBasicColors[1] } } }, title: { text: "00727b 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());