Bar Serie size

3 posts, 1 answers
  1. andrea bellagamba
    andrea  bellagamba avatar
    43 posts
    Member since:
    Jul 2009

    Posted 05 Jul 2010 Link to this post

    Hi
    I am usig a chart with a BarSeriesDefinition and Zoom and Scroll functions.
    My problem is that when I zoom in, the with of the displayed bars becoems to big.
    Is there a way to set a maximum swidth for the Bars?

    Please see attacchment...

    thanks
  2. Answer
    Nikolay
    Admin
    Nikolay avatar
    386 posts

    Posted 08 Jul 2010 Link to this post

    Hi andrea bellagamba,

    You can alter the size of the bars using the ItemWidthPercent property :
    RadChart1.DefaultView.ChartArea.ItemWidthPercent = 30;

    Setting the ItemWidthPercent to a small(ish) value should be a sufficient way to reduce the bar size. Please, let us know if this is helpful in your scenario.

    Greetings,
    Nikolay
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. DevCraft banner
  4. andrea bellagamba
    andrea  bellagamba avatar
    43 posts
    Member since:
    Jul 2009

    Posted 08 Jul 2010 Link to this post

    yes I already went for that solution, it works partially, it would be better to have Setter for the Width.
     But Thanks
Back to Top