PlotMode="OnTicksPadded" Bug

2 posts, 0 answers
  1. Marcello
    Marcello avatar
    57 posts
    Member since:
    Apr 2013

    Posted 11 Jun 2013 Link to this post


    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 });

  2. Petar Kirov
    Petar Kirov avatar
    425 posts

    Posted 12 Jun 2013 Link to this post

    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.

  3. DevCraft R3 2016 release webinar banner
Back to Top