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
655
How to force to show all labels of X axis?
posted

Hello all,

Please have a look at the attached image. I want to show all the labels of the X axis. What should I do?

Best regards,

Zach

 

Parents
  • 17559
    Verified Answer
    posted

    Hello Zach,

     

    You can show all of the labels by setting the Interval property of the XAxis. For example you can try the following code snippet:

      .Axes((axes) =>

                {

                    axes.CategoryX("xAxis").Label(item => item.DateString).Interval(1);

     

    If you need any additional assistance on this matter please do not hesitate to ask.

Reply Children