Bar Chart same bar Width

Thread is closed for posting
2 posts, 1 answers
  1. Hk
    Hk avatar
    10 posts
    Member since:
    Jul 2017

    Posted 18 Jul 2017 Link to this post


    First refer "bar_Chart_issue.png". Here we can see all bars are very "congested" when data are more. And Bar width is much more(or i can say they FAT) when data are less refer "Full_Width_barChart.png" .I want to keep uniform the bar size(width) or same spacing between bars.So how can i achieve this output.Kindly provide Document/Demo/Code for same.

    I am using Native Script with Angular2.


    Thank You.

  2. Answer
    nikolay.tsonev avatar
    343 posts

    Posted 18 Jul 2017 Link to this post


    Changing the width of the bar related to the amount of data is something made by design for the Chart component. This allows setting up the correct size for the bars while changing the data in the component.

    At this point at this time, there is no similar functionality, which allows changing the width manually from the code.

    In regard to that, it would help if you could provide some more info about your case and for the need of a similar setup.
    Progress Telerik
    Did you know that you can open private support tickets which are reviewed and answered within 24h by the same team who built the components? This is available in our UI for NativeScript Pro + Support offering.
Back to Top