Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
2335
Fixed Number of Labels in X-axis
posted

We are using XamDataChart which contains CategoryDateTimeXAxis and we are setting MinimumValue and MaximumValue and it is working fine except that it shows 5 to 6 dates as labels. Is there any way to make chart show specified number of label. Although we can use Interval property where we calculate interval manually to handle the label count but we want to know if there is any direct way to set number of axis label.

Thanks

  • 138253
    Offline posted

    Hello,

     

    Thank you for your post. I have been looking into it and I say that there isn’t any Property for the Label’s count. You can set the CategoryDateTimeXAxis’ DisplayType to Discrete and this way there will be labels only on the DataPoints. The other way is to set the Interval Property as you said.

     

    Hope this helps you.