I am trying to databind to the timeline axis so users can change it from a datetimeaxis to a numerictimeaxis. Can anyone please help me.
This is what I had in my xaml:
<ig:XamTimeline x:Name="xamTimeline" Axis="{Binding DynamicAxis}"/>
Hi,
It seems that there is an issue when only the Axis is changing, the preview axis is not updating in this case. We’ll try fixing this asap.
In meantime, you can change the axis with:
private void ButtonDateTime_Click(object sender, RoutedEventArgs e)
{
this.Timeline.Series.Clear();
this.Timeline.Axis = new DateTimeAxis();
this.Timeline.Series.Add(new DateTimeSeries());
}
private void ButtonNumericTime_Click(object sender, RoutedEventArgs e)
this.Timeline.Axis = new NumericTimeAxis();
this.Timeline.Series.Add(new NumericTimeSeries());
Has anyone tried this? Can this be done wih this component? Anyone?