This is a migrated thread and some comments may be shown as answers.

PlotMode="OnTicksPadded" Bug

1 Answer 15 Views
This is a migrated thread and some comments may be shown as answers.
Top achievements
Rank 1
Marcello asked on 11 Jun 2013, 09:19 AM

Look the attatched solution, run it and maximize the form.
Note that the last point have hours=00:00
Now start to move horizontal zoom bar from left to rigth.
When a new X Axys label is added the last point hours is aprrox 12:00
If yor reduce more the zoom bar the points is allways in incorrect position.

Thank's marc.

                <telerik:DateTimeContinuousAxis MaximumTicks="5" PlotMode="OnTicksPadded"/>
            <telerik:LineSeries Name="mS">
                <telerik:ChartPanAndZoomBehavior />

public MainWindow()
            for (int i = 0; i < 100;i++ )
                mS.DataPoints.Add(new Telerik.Charting.CategoricalDataPoint() { Category = System.DateTime.Today.AddDays(i), Value = 5 });

1 Answer, 1 is accepted

Sort by
Petar Kirov
Telerik team
answered on 12 Jun 2013, 02:40 PM
Hi Marc,

This is an already known issue. You can find it in our Public Issue Tracker on this link where you can follow the progress of the PITS item. Unfortunately a workaround for this issue is not available, so please use the OnTicks mode when using DateTimeContinuousAxis.

We are sorry for the inconvenience.

Petar Kirov

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Asked by
Top achievements
Rank 1
Answers by
Petar Kirov
Telerik team
Share this question