When using amcharts, I am facing an issue with setting hours and minutes on the chart. It always displays 00:00.
// Set date label formatting
dateAxis.dateFormats.setKey("day", "yyyy/MMM/dd HH:mm");
The input passed is in milliseconds.
let newDate = new Date(parseInt(this.vitalHistoryEachData[i]['observation-time']));
https://i.sstatic.net/LkLuf.png
Data is being pushed into a list.
chartData.push({
date:newDate,
DataSet1: DataSet1,
DataSet2: DataSet2
});
A sample has been created at https://codesandbox.io/s/4mzp27v67