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:'08/25/2023',y:[36.15,37.45,35.50,35.80]},{ x:'08/28/2023',y:[36.45,36.45,34.50,34.50]},{ x:'08/29/2023',y:[34.60,37.20,34.60,37.20]},{ x:'08/30/2023',y:[37.60,38.60,36.70,37.25]},{ x:'08/31/2023',y:[37.25,37.45,36.35,37.25]},{ x:'09/01/2023',y:[38.00,38.25,36.60,36.75]},{ x:'09/04/2023',y:[36.75,36.75,35.00,36.60]},{ x:'09/05/2023',y:[36.60,37.00,36.00,36.90]},{ x:'09/06/2023',y:[37.65,39.00,37.40,38.45]},{ x:'09/07/2023',y:[36.95,37.90,36.95,37.55]},{ x:'09/08/2023',y:[37.10,38.20,35.65,37.35]},{ x:'09/11/2023',y:[38.20,38.45,35.00,35.00]},{ x:'09/12/2023',y:[35.70,36.80,31.50,31.80]},{ x:'09/13/2023',y:[31.60,32.80,30.95,32.05]},{ x:'09/14/2023',y:[31.40,34.05,31.40,32.75]},{ x:'09/15/2023',y:[33.10,34.00,32.50,33.55]},{ x:'09/18/2023',y:[32.60,32.80,31.70,31.70]},{ x:'09/19/2023',y:[31.95,32.20,30.05,30.75]},{ x:'09/20/2023',y:[30.80,32.35,30.45,31.10]},{ x:'09/21/2023',y:[30.65,31.45,29.60,30.20]},{ x:'09/22/2023',y:[30.00,31.35,29.70,31.10]},{ x:'09/25/2023',y:[31.25,33.60,30.80,33.00]},{ x:'09/26/2023',y:[32.75,34.00,31.70,31.70]},{ x:'09/27/2023',y:[31.75,34.85,31.60,34.85]},{ x:'09/28/2023',y:[34.65,38.30,34.65,38.30]},{ x:'10/02/2023',y:[39.10,42.10,39.10,42.10]},{ x:'10/03/2023',y:[44.50,45.50,42.00,43.30]},{ x:'10/04/2023',y:[47.00,47.60,44.50,47.60]},{ x:'10/05/2023',y:[50.50,50.50,47.50,49.35]},{ x:'10/06/2023',y:[50.40,54.20,49.80,54.10]},{ x:'10/11/2023',y:[48.70,48.70,48.70,48.70]},{ x:'10/12/2023',y:[45.80,47.65,44.80,47.65]},{ x:'10/13/2023',y:[47.00,48.00,46.20,47.50]},{ x:'10/18/2023',y:[46.30,46.30,44.30,44.30]},{ x:'10/19/2023',y:[43.90,45.95,43.90,45.95]},{ x:'10/20/2023',y:[45.20,45.95,44.60,45.50]},{ x:'10/23/2023',y:[44.00,44.75,40.95,40.95]},{ x:'10/24/2023',y:[40.95,44.00,40.95,43.00]},{ x:'10/25/2023',y:[44.50,47.30,41.05,47.30]},{ x:'10/26/2023',y:[45.90,51.10,45.50,50.30]},{ x:'10/27/2023',y:[51.00,55.30,50.80,55.30]},{ x:'10/31/2023',y:[50.50,51.40,44.85,44.85]},{ x:'11/01/2023',y:[45.20,46.25,42.70,43.30]},{ x:'11/02/2023',y:[43.90,44.55,42.60,44.30]},{ x:'11/03/2023',y:[44.70,45.25,42.65,42.65]},{ x:'11/06/2023',y:[43.00,46.90,43.00,46.90]},{ x:'11/07/2023',y:[47.80,51.50,47.80,51.50]},{ x:'11/08/2023',y:[54.40,54.90,50.60,52.10]},{ x:'11/09/2023',y:[52.50,53.90,48.20,49.45]},{ x:'11/10/2023',y:[49.65,53.70,49.55,51.60]},{ x:'11/13/2023',y:[52.40,55.50,52.10,53.50]},{ x:'11/14/2023',y:[53.00,54.00,51.00,53.80]},{ x:'11/15/2023',y:[55.10,55.90,52.10,52.20]},{ x:'11/16/2023',y:[53.00,53.50,51.00,51.00]},{ x:'11/17/2023',y:[51.40,52.80,50.00,51.90]},{ x:'11/20/2023',y:[52.20,54.50,51.30,54.00]},{ x:'11/21/2023',y:[54.30,54.50,51.50,51.80]},{ x:'11/22/2023',y:[52.00,54.10,52.00,52.20]},{ x:'11/23/2023',y:[52.70,57.40,52.50,53.50]},{ x:'11/24/2023',y:[55.30,56.80,51.60,52.40]} ] }], chart: { type: "candlestick", height: 350, toolbar: { show: !1 } }, plotOptions: { candlestick: { colors: { upward: chartCandlestickBasicColors[0], downward: chartCandlestickBasicColors[1] } } }, title: { text: "6117 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());