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:'04/21/2023',y:[15.75,15.77,15.72,15.76]},{ x:'04/24/2023',y:[15.77,15.85,15.77,15.85]},{ x:'04/25/2023',y:[15.60,15.66,15.56,15.63]},{ x:'04/26/2023',y:[15.71,15.71,15.69,15.70]},{ x:'04/27/2023',y:[15.70,15.70,15.67,15.68]},{ x:'04/28/2023',y:[15.68,15.68,15.62,15.62]},{ x:'05/02/2023',y:[15.67,15.74,15.67,15.72]},{ x:'05/03/2023',y:[15.70,15.72,15.68,15.70]},{ x:'05/04/2023',y:[15.70,15.75,15.70,15.74]},{ x:'05/05/2023',y:[15.65,15.65,15.61,15.65]},{ x:'05/08/2023',y:[15.70,15.70,15.66,15.66]},{ x:'05/09/2023',y:[15.68,15.68,15.63,15.63]},{ x:'05/10/2023',y:[15.63,15.63,15.62,15.62]},{ x:'05/11/2023',y:[15.62,15.69,15.62,15.67]},{ x:'05/12/2023',y:[15.69,15.79,15.69,15.75]},{ x:'05/15/2023',y:[15.74,15.74,15.71,15.71]},{ x:'05/16/2023',y:[15.67,15.70,15.67,15.69]},{ x:'05/17/2023',y:[15.69,15.69,15.65,15.65]},{ x:'05/18/2023',y:[15.62,15.65,15.61,15.65]},{ x:'05/19/2023',y:[15.60,15.61,15.52,15.52]},{ x:'05/22/2023',y:[15.52,15.52,15.42,15.48]},{ x:'05/23/2023',y:[15.44,15.46,15.42,15.43]},{ x:'05/24/2023',y:[15.43,15.46,15.38,15.39]},{ x:'05/25/2023',y:[15.40,15.43,15.40,15.42]},{ x:'05/26/2023',y:[15.42,15.42,15.36,15.36]},{ x:'05/29/2023',y:[15.32,15.36,15.30,15.31]},{ x:'05/30/2023',y:[15.35,15.36,15.34,15.34]},{ x:'05/31/2023',y:[15.39,15.45,15.37,15.45]},{ x:'06/01/2023',y:[15.54,15.54,15.48,15.48]},{ x:'06/02/2023',y:[15.50,15.51,15.47,15.51]},{ x:'06/05/2023',y:[15.55,15.55,15.47,15.50]},{ x:'06/06/2023',y:[15.50,15.51,15.48,15.51]},{ x:'06/07/2023',y:[15.52,15.54,15.52,15.54]},{ x:'06/08/2023',y:[15.50,15.50,15.47,15.48]},{ x:'06/09/2023',y:[15.48,15.52,15.45,15.49]},{ x:'06/12/2023',y:[15.49,15.51,15.49,15.50]},{ x:'06/13/2023',y:[15.50,15.53,15.49,15.52]},{ x:'06/14/2023',y:[15.49,15.52,15.49,15.51]},{ x:'06/15/2023',y:[15.53,15.53,15.51,15.51]},{ x:'06/16/2023',y:[15.54,15.59,15.54,15.55]},{ x:'06/19/2023',y:[15.57,15.64,15.55,15.64]},{ x:'06/20/2023',y:[15.62,15.65,15.60,15.64]},{ x:'06/21/2023',y:[15.76,15.76,15.74,15.74]},{ x:'06/26/2023',y:[15.80,15.83,15.79,15.83]},{ x:'06/27/2023',y:[15.81,15.91,15.81,15.89]},{ x:'06/28/2023',y:[15.82,15.88,15.82,15.84]},{ x:'06/29/2023',y:[15.85,15.88,15.85,15.86]},{ x:'06/30/2023',y:[15.84,15.84,15.81,15.82]},{ x:'07/03/2023',y:[15.89,15.90,15.86,15.87]},{ x:'07/04/2023',y:[15.90,15.90,15.87,15.89]},{ x:'07/05/2023',y:[15.90,15.90,15.86,15.89]},{ x:'07/06/2023',y:[15.87,15.90,15.83,15.88]},{ x:'07/07/2023',y:[15.74,15.76,15.73,15.76]},{ x:'07/10/2023',y:[15.76,15.76,15.70,15.75]},{ x:'07/11/2023',y:[15.77,15.77,15.74,15.77]},{ x:'07/12/2023',y:[15.78,15.78,15.74,15.77]},{ 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]} ] }], 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());