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

[Solved] DateTimeContinuousAxis -Fixed Interval / Number of Ticks in the Graph Visiable Range

1 Answer 50 Views
Chart for XAML
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Abhijit
Top achievements
Rank 1
Abhijit asked on 13 Nov 2014, 06:57 AM
I wanted to display fixed interval (4Hrs) in Horizontal Axis in the display view range.   

Minimum and Maximum set as for two week of date range. 
I have set MajorStepUnit="Hour" and MajorStep="4" , still the number of ticks coming as expected.  
How does the Zoom factor related with this ? does this override the MajorStepUnit and MajorStep.

<telerik:DateTimeContinuousAxis 
                                                 Minimum="{Binding MinumumDate}"
Maximum="{Binding MaximumDate}"
LastLabelVisibility="Visible" PlotStretch="Uniform" TickThickness="1" PlotMode="BetweenTicks" ShowLabels="True" MajorStepUnit="Hour" LabelFitMode="MultiLine" MajorStep="4">




1 Answer, 1 is accepted

Sort by
0
Ves
Telerik team
answered on 17 Nov 2014, 09:25 AM
Hi Abhijit,

Zooming affects these settings for the sake of presentation. When zooming in, if labels do not change, you will reach a point, where you would not be able to see any labels, so the axis takes care of this by re-calculating the ticks and labels.

Best regards,
Ves
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Chart for XAML
Asked by
Abhijit
Top achievements
Rank 1
Answers by
Ves
Telerik team
Share this question
or