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/12/2023',y:[86.05,86.20,85.95,85.95]},{ x:'06/13/2023',y:[87.00,87.60,87.00,87.40]},{ x:'06/14/2023',y:[87.40,87.40,87.35,87.40]},{ x:'06/15/2023',y:[87.70,87.95,87.70,87.80]},{ x:'06/16/2023',y:[88.10,88.30,87.95,87.95]},{ x:'06/19/2023',y:[87.85,87.90,87.85,87.90]},{ x:'06/20/2023',y:[87.55,87.75,87.35,87.60]},{ x:'06/21/2023',y:[87.40,87.60,87.30,87.60]},{ x:'06/26/2023',y:[87.00,87.15,87.00,87.15]},{ x:'06/27/2023',y:[86.55,86.55,86.35,86.35]},{ x:'06/28/2023',y:[86.70,86.70,86.45,86.50]},{ x:'06/29/2023',y:[86.95,87.10,86.70,86.70]},{ x:'06/30/2023',y:[86.65,86.90,86.55,86.90]},{ x:'07/03/2023',y:[87.25,87.70,87.25,87.60]},{ x:'07/04/2023',y:[88.00,88.20,87.85,88.10]},{ x:'07/05/2023',y:[88.40,88.40,87.65,87.65]},{ x:'07/06/2023',y:[87.10,87.25,86.50,86.55]},{ x:'07/07/2023',y:[86.20,86.20,85.95,86.10]},{ x:'07/10/2023',y:[86.35,86.55,85.85,86.05]},{ x:'07/11/2023',y:[86.70,87.10,86.70,87.00]},{ x:'07/12/2023',y:[87.30,87.65,87.30,87.50]},{ x:'07/13/2023',y:[88.60,89.20,88.45,88.45]},{ x:'07/14/2023',y:[89.05,89.50,89.00,89.50]},{ x:'07/17/2023',y:[89.40,89.80,89.40,89.50]},{ x:'07/18/2023',y:[89.95,89.95,89.25,89.25]},{ x:'07/19/2023',y:[89.65,89.65,88.80,88.80]},{ x:'07/20/2023',y:[89.00,89.00,88.85,88.90]},{ x:'07/21/2023',y:[87.75,88.45,87.75,88.45]},{ x:'07/24/2023',y:[88.55,88.60,88.50,88.60]},{ x:'07/25/2023',y:[89.05,89.70,89.05,89.35]},{ x:'07/26/2023',y:[89.55,89.55,88.90,88.90]},{ x:'07/27/2023',y:[89.50,89.70,89.50,89.60]},{ x:'07/28/2023',y:[89.45,89.65,89.45,89.65]},{ x:'07/31/2023',y:[90.50,90.50,89.00,89.00]},{ x:'08/01/2023',y:[89.10,89.25,89.10,89.25]},{ x:'08/02/2023',y:[87.75,87.75,87.60,87.70]},{ x:'08/04/2023',y:[87.30,87.65,87.30,87.55]},{ x:'08/07/2023',y:[87.85,88.50,87.85,88.50]},{ x:'08/08/2023',y:[87.70,88.00,87.70,88.00]},{ x:'08/09/2023',y:[87.70,88.05,87.70,87.90]},{ x:'08/10/2023',y:[86.90,86.90,86.60,86.60]},{ x:'08/11/2023',y:[87.25,87.25,86.75,86.75]},{ x:'08/14/2023',y:[85.85,85.85,85.40,85.40]},{ x:'08/15/2023',y:[86.15,86.15,86.05,86.05]},{ x:'08/16/2023',y:[85.60,86.00,85.50,86.00]},{ x:'08/17/2023',y:[85.35,86.20,85.35,86.20]},{ x:'08/18/2023',y:[86.20,86.20,85.60,85.95]},{ x:'08/21/2023',y:[86.50,86.50,85.85,85.85]},{ x:'08/22/2023',y:[86.65,86.65,86.25,86.25]},{ x:'08/23/2023',y:[86.40,86.85,86.35,86.85]},{ x:'08/24/2023',y:[88.05,88.05,87.55,87.90]},{ x:'08/25/2023',y:[87.05,87.05,86.50,86.50]},{ x:'08/28/2023',y:[86.75,86.80,86.55,86.60]},{ x:'08/29/2023',y:[86.90,87.10,86.80,87.10]},{ x:'08/30/2023',y:[87.90,87.90,87.65,87.65]},{ x:'08/31/2023',y:[87.35,87.45,87.35,87.35]},{ x:'09/01/2023',y:[87.40,87.45,87.40,87.45]},{ x:'09/04/2023',y:[87.45,87.80,87.45,87.80]},{ x:'09/05/2023',y:[87.85,88.05,87.85,88.05]},{ x:'09/06/2023',y:[88.10,88.15,87.85,87.85]} ] }], chart: { type: "candlestick", height: 350, toolbar: { show: !1 } }, plotOptions: { candlestick: { colors: { upward: chartCandlestickBasicColors[0], downward: chartCandlestickBasicColors[1] } } }, title: { text: "006204 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());