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:'07/13/2023',y:[15.82,15.82,15.78,15.80]},{ x:'07/14/2023',y:[15.84,15.84,15.78,15.79]},{ x:'07/17/2023',y:[15.85,15.87,15.85,15.87]},{ x:'07/18/2023',y:[15.91,15.98,15.91,15.93]},{ x:'07/19/2023',y:[15.96,15.98,15.93,15.98]},{ x:'07/20/2023',y:[15.76,15.81,15.76,15.77]},{ x:'07/21/2023',y:[15.75,15.77,15.72,15.77]},{ x:'07/24/2023',y:[15.83,15.83,15.79,15.83]},{ x:'07/25/2023',y:[15.97,15.97,15.79,15.82]},{ x:'07/26/2023',y:[15.82,15.82,15.79,15.79]},{ x:'07/27/2023',y:[15.79,15.80,15.78,15.80]},{ x:'07/28/2023',y:[15.80,15.83,15.79,15.80]},{ x:'07/31/2023',y:[15.83,15.85,15.83,15.84]},{ x:'08/01/2023',y:[15.91,16.06,15.88,15.92]},{ x:'08/02/2023',y:[15.92,15.92,15.88,15.88]},{ x:'08/04/2023',y:[15.85,15.85,15.76,15.77]},{ x:'08/07/2023',y:[15.93,15.93,15.74,15.75]},{ x:'08/08/2023',y:[15.72,15.77,15.70,15.77]},{ x:'08/09/2023',y:[15.86,15.88,15.84,15.87]},{ x:'08/10/2023',y:[15.86,15.86,15.85,15.85]},{ x:'08/11/2023',y:[15.80,15.83,15.80,15.82]},{ x:'08/14/2023',y:[15.80,15.82,15.80,15.80]},{ x:'08/15/2023',y:[15.79,15.79,15.75,15.77]},{ x:'08/16/2023',y:[15.66,15.66,15.64,15.65]},{ x:'08/17/2023',y:[15.58,15.58,15.54,15.57]},{ x:'08/18/2023',y:[15.56,15.57,15.55,15.55]},{ x:'08/21/2023',y:[15.50,15.52,15.50,15.50]},{ x:'08/22/2023',y:[15.49,15.49,15.37,15.41]},{ x:'08/23/2023',y:[15.41,15.44,15.41,15.41]},{ x:'08/24/2023',y:[15.49,15.56,15.49,15.50]},{ x:'08/25/2023',y:[15.52,15.53,15.51,15.51]},{ x:'08/28/2023',y:[15.54,15.58,15.53,15.56]},{ x:'08/29/2023',y:[15.61,15.61,15.61,15.61]},{ x:'08/30/2023',y:[15.56,15.68,15.56,15.68]},{ x:'08/31/2023',y:[15.68,15.75,15.68,15.75]},{ x:'09/01/2023',y:[15.74,15.75,15.73,15.73]},{ x:'09/04/2023',y:[15.75,15.75,15.69,15.72]},{ x:'09/05/2023',y:[15.77,15.77,15.71,15.72]},{ x:'09/06/2023',y:[15.64,15.65,15.64,15.65]},{ x:'09/07/2023',y:[15.61,15.61,15.60,15.60]},{ x:'09/08/2023',y:[15.60,15.68,15.60,15.67]},{ x:'09/11/2023',y:[15.67,15.67,15.63,15.66]},{ x:'09/12/2023',y:[15.60,15.60,15.58,15.60]},{ x:'09/13/2023',y:[15.60,15.60,15.59,15.60]},{ x:'09/14/2023',y:[15.60,15.60,15.55,15.56]},{ x:'09/15/2023',y:[15.60,15.60,15.60,15.60]},{ x:'09/18/2023',y:[15.60,15.60,15.53,15.55]},{ x:'09/19/2023',y:[15.59,15.60,15.58,15.60]},{ x:'09/20/2023',y:[15.60,15.60,15.56,15.56]},{ x:'09/21/2023',y:[15.56,15.59,15.56,15.59]},{ x:'09/22/2023',y:[15.57,15.57,15.49,15.51]},{ x:'09/25/2023',y:[15.50,15.55,15.50,15.51]},{ x:'09/26/2023',y:[15.50,15.50,15.46,15.47]},{ x:'09/27/2023',y:[15.46,15.47,15.44,15.44]},{ x:'09/28/2023',y:[15.38,15.42,15.38,15.42]},{ x:'10/02/2023',y:[15.42,15.42,15.29,15.34]},{ x:'10/03/2023',y:[15.26,15.27,15.23,15.23]},{ x:'10/04/2023',y:[15.10,15.14,15.10,15.14]},{ x:'10/05/2023',y:[15.24,15.24,15.07,15.09]},{ x:'10/06/2023',y:[15.04,15.08,15.03,15.06]} ] }], chart: { type: "candlestick", height: 350, toolbar: { show: !1 } }, plotOptions: { candlestick: { colors: { upward: chartCandlestickBasicColors[0], downward: chartCandlestickBasicColors[1] } } }, title: { text: "00734b 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());