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:'06/08/2023',y:[1.77,1.77,1.77,1.77]},{ x:'06/09/2023',y:[1.59,1.59,1.52,1.52]},{ x:'06/12/2023',y:[0.00,0.00,0.00,0.00]},{ x:'06/13/2023',y:[1.33,1.33,1.29,1.29]},{ x:'06/14/2023',y:[1.36,1.36,1.36,1.36]},{ x:'06/15/2023',y:[1.44,1.44,1.44,1.44]},{ x:'06/16/2023',y:[1.40,1.43,1.40,1.43]},{ x:'06/19/2023',y:[1.45,1.48,1.45,1.48]},{ x:'06/20/2023',y:[1.55,1.55,1.54,1.54]},{ x:'06/21/2023',y:[1.55,1.56,1.55,1.55]},{ x:'06/26/2023',y:[2.03,2.03,1.86,1.86]},{ x:'06/27/2023',y:[1.81,1.81,1.77,1.77]},{ x:'06/28/2023',y:[1.73,1.73,1.73,1.73]},{ x:'06/29/2023',y:[1.70,1.70,1.64,1.64]},{ x:'06/30/2023',y:[1.61,1.61,1.48,1.48]},{ x:'07/03/2023',y:[1.46,1.48,1.46,1.46]},{ x:'07/04/2023',y:[1.47,1.47,1.47,1.47]},{ x:'07/05/2023',y:[0.00,0.00,0.00,0.00]},{ x:'07/06/2023',y:[1.52,1.62,1.52,1.62]},{ x:'07/07/2023',y:[1.72,1.75,1.67,1.75]},{ x:'07/10/2023',y:[1.71,1.73,1.71,1.73]},{ x:'07/11/2023',y:[1.59,1.59,1.51,1.51]},{ x:'07/12/2023',y:[1.48,1.52,1.46,1.51]},{ x:'07/13/2023',y:[1.40,1.48,1.40,1.48]},{ x:'07/14/2023',y:[1.45,1.53,1.45,1.50]},{ x:'07/17/2023',y:[1.50,1.55,1.50,1.55]},{ x:'07/18/2023',y:[1.46,1.53,1.42,1.46]},{ x:'07/19/2023',y:[1.38,1.50,1.38,1.50]},{ x:'07/20/2023',y:[1.46,1.62,1.46,1.62]},{ x:'07/21/2023',y:[1.62,1.62,1.57,1.59]},{ x:'07/24/2023',y:[1.62,1.62,1.62,1.62]},{ x:'07/25/2023',y:[1.66,1.66,1.58,1.58]},{ x:'07/26/2023',y:[0.00,0.00,0.00,0.00]},{ x:'07/27/2023',y:[1.62,1.62,1.50,1.51]},{ x:'07/28/2023',y:[1.42,1.43,1.26,1.28]},{ x:'07/31/2023',y:[1.18,1.18,1.18,1.18]},{ x:'08/01/2023',y:[1.15,1.21,1.15,1.21]} ] }], chart: { type: "candlestick", height: 350, toolbar: { show: !1 } }, plotOptions: { candlestick: { colors: { upward: chartCandlestickBasicColors[0], downward: chartCandlestickBasicColors[1] } } }, title: { text: "73107p 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());