Hello,
I have a cartesian chart with line series based on data like this for every chart point
public class ChartEntry
{
public int Number;
public DateTime TimeStamp;
public double Value1;
public double Value2;
}
My series use Value1/2 for ValueBinding and Number for CategoryBinding. Horizontal axis is of type CategoricalAxis.
I want to add a (toggle)button to switch the horizontal axis from Number to TimeStamp (and back) during runtime.
Means, that I have to change CategoryBinding of series to TimeStamp and horizontal axis to type DateTimeContinuousAxis.
At the moment I have no clue how to do that. Any ideas?
Thanks and regards