We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Horizontal Bar Chart

Hi,

Is there a limitation on the number of horizontal bars when using the Chart controls?

E.g. the sample application at Basic Charts\Bar Chart Demo, when the number of Population objects in the View Model collection is over 10, not all the country names will appear on the Y axis on the left.

Is this by design?

The version we have is 10.304.0.43.

Thanks 


3 Replies

SS Suresh S Syncfusion Team July 17, 2014 08:55 AM UTC

Hi Yu,

 

Thanks for using Syncfusion products.

 

We have analyzed your requirement and this can be achieved by setting Interval property for axis as shown in the below code snippet as the axis labels will be visible.

 

Code Snippet [XAML]:

<chart:ChartArea.PrimaryAxis>

            <chart:ChartAxis ValueType="String" Interval="1"/>

</chart:ChartArea.PrimaryAxis>

 

 

Please let us know if you require further assistance on this.

 

Regards,

Suresh S



YU Yu August 21, 2014 09:44 PM UTC

Thank you. That works.



SJ Sumathi Jayaraj Syncfusion Team August 22, 2014 04:17 AM UTC

Hi Yu,

Thanks for the update.
Please let us know if you require further assistance on this.

Regards,
Sumathi J

Loader.
Up arrow icon