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/30/2024',y:[46.90,46.90,44.80,45.00]},{ x:'05/02/2024',y:[45.65,49.50,45.65,49.50]},{ x:'05/03/2024',y:[49.00,49.05,47.95,48.90]},{ x:'05/06/2024',y:[49.80,53.00,48.10,49.35]},{ x:'05/07/2024',y:[48.30,49.50,47.25,48.30]},{ x:'05/08/2024',y:[47.60,48.50,47.00,47.60]},{ x:'05/09/2024',y:[46.10,47.10,45.00,45.95]},{ x:'05/10/2024',y:[46.10,46.30,44.75,44.80]},{ x:'05/13/2024',y:[44.80,45.60,43.30,43.50]},{ x:'05/14/2024',y:[42.25,44.05,42.15,43.30]},{ x:'05/15/2024',y:[43.50,46.50,43.40,45.65]},{ x:'05/16/2024',y:[45.75,47.00,45.00,46.15]},{ x:'05/17/2024',y:[47.00,49.85,46.20,48.80]},{ x:'05/20/2024',y:[48.75,51.50,47.30,50.40]},{ x:'05/21/2024',y:[50.00,51.40,48.50,49.05]},{ x:'05/22/2024',y:[49.05,50.50,49.00,49.35]},{ x:'05/23/2024',y:[49.10,49.50,48.00,49.15]},{ x:'05/24/2024',y:[48.50,49.40,48.30,49.00]},{ x:'06/11/2024',y:[67.60,68.00,61.30,63.00]},{ x:'06/12/2024',y:[62.60,63.50,60.50,62.10]},{ x:'06/13/2024',y:[62.10,66.30,61.70,63.00]},{ x:'06/14/2024',y:[62.40,63.80,60.10,60.50]},{ x:'06/17/2024',y:[59.60,62.00,59.40,60.00]},{ x:'06/18/2024',y:[60.50,65.80,60.00,65.00]},{ x:'06/19/2024',y:[66.00,68.80,64.50,64.50]},{ x:'06/20/2024',y:[63.20,64.70,62.90,63.00]},{ x:'06/21/2024',y:[63.50,63.50,60.60,61.10]},{ x:'06/24/2024',y:[61.50,62.30,60.90,61.50]},{ x:'06/25/2024',y:[60.80,61.80,59.50,61.20]},{ x:'06/26/2024',y:[61.20,67.30,61.20,67.30]},{ x:'06/27/2024',y:[67.00,74.00,66.30,74.00]},{ x:'06/28/2024',y:[81.40,81.40,76.00,79.90]},{ x:'07/01/2024',y:[76.60,80.30,74.50,78.50]},{ x:'07/02/2024',y:[76.90,78.30,70.70,71.70]},{ x:'07/03/2024',y:[71.70,74.70,71.00,71.60]},{ x:'07/04/2024',y:[71.50,73.50,70.10,71.50]},{ x:'07/05/2024',y:[72.20,73.40,71.30,71.70]},{ x:'07/12/2024',y:[72.00,76.00,72.00,73.20]},{ x:'07/15/2024',y:[74.10,77.20,73.40,75.00]},{ x:'07/16/2024',y:[74.80,77.00,73.50,73.70]},{ x:'07/17/2024',y:[74.00,76.50,73.10,75.00]},{ x:'07/18/2024',y:[74.80,82.50,74.40,82.40]},{ x:'07/19/2024',y:[80.00,80.60,74.20,74.20]},{ x:'07/22/2024',y:[71.20,72.40,66.80,66.80]},{ x:'07/23/2024',y:[64.90,69.00,64.80,65.20]},{ x:'07/26/2024',y:[63.20,64.00,61.20,63.00]},{ x:'07/29/2024',y:[63.00,63.40,56.70,57.70]},{ x:'07/30/2024',y:[57.90,62.10,57.10,61.30]},{ x:'07/31/2024',y:[61.30,61.30,58.30,58.60]},{ x:'08/01/2024',y:[59.30,61.50,59.30,60.80]},{ x:'08/02/2024',y:[59.20,60.00,58.10,58.10]},{ x:'08/05/2024',y:[55.20,55.40,52.30,53.90]},{ x:'08/06/2024',y:[53.90,54.60,51.20,53.20]},{ x:'08/07/2024',y:[53.60,56.80,53.30,56.40]},{ x:'08/08/2024',y:[55.80,56.00,53.20,53.50]},{ x:'08/09/2024',y:[55.50,56.40,54.50,54.50]},{ x:'08/12/2024',y:[54.70,58.00,54.50,57.80]},{ x:'08/13/2024',y:[57.00,57.10,54.60,55.50]},{ x:'08/14/2024',y:[55.50,57.50,54.60,54.70]},{ x:'08/15/2024',y:[55.50,56.40,53.70,54.70]} ] }], chart: { type: "candlestick", height: 350, toolbar: { show: !1 } }, plotOptions: { candlestick: { colors: { upward: chartCandlestickBasicColors[0], downward: chartCandlestickBasicColors[1] } } }, title: { text: "6615 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());