I have a real-time trend where you feed a new point every second or so. But now I want to show the time in the x-axis. I have added the code below when creating the chart but how do I feed it with the data?
trend.AxisX.LabelsFormat.Format = ChartFX.WinForms.AxisFormat.DateTime;trend.AxisX.LabelsFormat.CustomFormat = "HH:mm:ss"; trend.AxisX.DataFormat.Format = ChartFX.WinForms.
AxisFormat.DateTime;trend.AxisX.DataFormat.CustomFormat = "HH:mm:ss";I guess that the solution for this is quite simple but I just haven't managed to get it to work. Do I have to update all the labels manually or could I just feed the chart with the time it should have in point 0 (to the far right) and the chart will calculate what time to show in the x-axis labels?
If someone have an example I would be most grateful.
/ Jac