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:'02/01/2024',y:[54.80,54.90,54.40,54.90]},{ x:'02/02/2024',y:[55.40,55.70,55.30,55.70]},{ x:'02/05/2024',y:[55.25,55.75,55.00,55.70]},{ x:'02/15/2024',y:[59.15,59.35,58.50,59.25]},{ x:'02/16/2024',y:[59.35,59.60,59.05,59.15]},{ x:'02/19/2024',y:[59.15,59.30,58.95,59.25]},{ x:'02/20/2024',y:[58.95,59.75,58.95,59.75]},{ x:'02/21/2024',y:[59.55,59.60,59.25,59.25]},{ x:'02/22/2024',y:[60.25,60.60,59.95,60.60]},{ x:'02/23/2024',y:[61.20,61.20,60.75,60.75]},{ x:'02/26/2024',y:[60.55,61.30,60.50,61.15]},{ x:'02/27/2024',y:[61.40,61.40,59.80,60.45]},{ x:'02/29/2024',y:[60.20,61.25,60.15,61.10]},{ x:'03/01/2024',y:[61.45,61.45,60.95,61.05]},{ x:'03/04/2024',y:[62.35,63.45,62.30,63.25]},{ x:'03/05/2024',y:[63.80,64.00,63.40,63.85]},{ x:'03/06/2024',y:[63.25,64.65,63.15,64.60]},{ x:'03/07/2024',y:[65.75,66.25,65.25,65.90]},{ x:'03/08/2024',y:[67.85,67.85,65.60,66.45]},{ x:'03/11/2024',y:[66.05,66.55,65.75,65.95]},{ x:'03/12/2024',y:[66.00,67.50,66.00,67.50]},{ x:'03/13/2024',y:[68.20,68.25,67.05,67.45]},{ x:'03/14/2024',y:[67.30,67.55,66.65,67.35]},{ x:'03/15/2024',y:[66.55,67.00,66.20,66.30]},{ x:'03/18/2024',y:[66.30,67.25,66.20,67.25]},{ x:'03/19/2024',y:[66.50,67.25,66.30,67.05]},{ x:'03/20/2024',y:[67.35,67.40,66.35,66.60]},{ x:'03/21/2024',y:[68.10,69.40,68.10,69.40]},{ x:'03/22/2024',y:[69.35,69.45,68.60,69.30]},{ x:'03/25/2024',y:[69.30,69.70,69.00,69.40]},{ x:'03/26/2024',y:[70.25,70.75,68.00,69.00]},{ x:'03/27/2024',y:[69.10,69.70,68.70,69.45]},{ x:'03/28/2024',y:[69.15,69.30,68.40,69.10]},{ x:'03/29/2024',y:[69.40,69.60,69.10,69.55]},{ x:'04/01/2024',y:[70.05,70.40,69.55,69.65]},{ x:'04/02/2024',y:[70.30,71.20,70.30,71.20]},{ x:'04/03/2024',y:[70.25,70.50,69.65,70.15]},{ x:'04/08/2024',y:[70.45,71.20,70.35,70.90]},{ x:'04/09/2024',y:[71.50,73.80,71.50,73.75]},{ x:'04/10/2024',y:[73.50,73.85,73.30,73.35]},{ x:'04/11/2024',y:[72.70,72.85,72.15,72.85]},{ x:'04/12/2024',y:[72.55,73.20,72.40,72.90]},{ x:'04/15/2024',y:[71.70,71.75,70.80,71.15]},{ x:'04/16/2024',y:[69.50,69.60,66.30,67.25]},{ x:'04/17/2024',y:[67.85,68.85,67.65,68.65]},{ x:'04/18/2024',y:[67.80,69.50,67.50,69.45]},{ x:'04/19/2024',y:[66.65,66.80,62.35,64.20]},{ x:'04/22/2024',y:[64.20,65.05,63.60,63.95]},{ x:'04/23/2024',y:[65.50,65.50,64.35,65.10]},{ x:'04/24/2024',y:[66.95,68.60,66.95,68.40]},{ x:'04/25/2024',y:[66.80,67.05,66.10,66.35]},{ x:'04/26/2024',y:[68.10,68.95,67.95,68.25]},{ x:'04/29/2024',y:[69.90,70.90,69.80,70.80]},{ x:'04/30/2024',y:[70.80,71.00,70.40,70.40]},{ x:'05/02/2024',y:[69.35,69.65,68.90,69.25]},{ x:'05/03/2024',y:[70.80,71.00,69.25,69.60]},{ x:'05/06/2024',y:[71.45,71.95,71.00,71.25]},{ x:'05/07/2024',y:[72.10,72.15,70.85,71.65]},{ x:'05/08/2024',y:[71.45,72.15,71.25,72.15]},{ x:'05/09/2024',y:[71.80,72.30,71.40,71.40]} ] }], chart: { type: "candlestick", height: 350, toolbar: { show: !1 } }, plotOptions: { candlestick: { colors: { upward: chartCandlestickBasicColors[0], downward: chartCandlestickBasicColors[1] } } }, title: { text: "00685l 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());