This is a migrated thread and some comments may be shown as answers.

Set the size of Bar series gap

1 Answer 57 Views
Chart
This is a migrated thread and some comments may be shown as answers.
jackd doh
Top achievements
Rank 1
jackd doh asked on 30 Mar 2010, 05:48 PM
My chart has 3 Bar series, the 3 bars are shown next to each other and there's a gap between it and the next group of 3 bars. Is there a way to set the size of this gap? In my case I need it to be 0 (no gap).

1 Answer, 1 is accepted

Sort by
0
Giuseppe
Telerik team
answered on 31 Mar 2010, 01:58 PM
Hi jackd doh,

You can achieve the desired functionality by setting the ChartArea.ItemWidthPercent property to 100% like this:

RadChart1.DefaultView.ChartArea.ItemWidthPercent = 100;


Greetings,
Freddie
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.
Tags
Chart
Asked by
jackd doh
Top achievements
Rank 1
Answers by
Giuseppe
Telerik team
Share this question
or