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

Silverlight Controls : Rad Chart - set MAX size of Bars width

3 Answers 66 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Karam
Top achievements
Rank 2
Karam asked on 03 Jan 2011, 04:22 PM
hey ...
i need to set the max size of bars in RadChart with BarSeriesDefinition because when the number of elements in mapped list is small the bars looks so wide and not suitable
thanks..

3 Answers, 1 is accepted

Sort by
0
Evgeni "Zammy" Petrov
Telerik team
answered on 04 Jan 2011, 03:33 PM
Hi Karam,

 You can use radChart.DefaultView.ChartArea.ItemWidthPercent property to specify the percentage that a bar takes from its alloted space. The default is 0.8 so I would suggest to try something like 0.6.
I hope this helps.

Best wishes,
Evgeni "Zammy" Petrov
the Telerik team
Browse the videos here>> to help you get started with RadControls for Silverlight
0
Karam
Top achievements
Rank 2
answered on 05 Jan 2011, 08:52 AM
hey admin thanks for reply ...
but this value(ItemWidthPercent) is integer not double !
0
Accepted
Evgeni "Zammy" Petrov
Telerik team
answered on 07 Jan 2011, 03:33 PM
Hello Karam,

I am sorry about that. You can put a value between 0 and 100 because it represents a percent.

Regards,
Evgeni "Zammy" Petrov
the Telerik team
Browse the videos here>> to help you get started with RadControls for Silverlight
Tags
General Discussions
Asked by
Karam
Top achievements
Rank 2
Answers by
Evgeni "Zammy" Petrov
Telerik team
Karam
Top achievements
Rank 2
Share this question
or