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

Bar type width

1 Answer 57 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
niv kfir
Top achievements
Rank 1
niv kfir asked on 08 Jun 2010, 02:20 PM
Hello,
The fact that the width of the Bar is set by BarWidthPercent and not by pixels, causes me a lot of headache.
But I would expect it to be calculate as percentage of the PlotArea.Appearance.Dimensions.Width and not the radChart.width.

(The reason is that I need a wide title on a small and thin bar chart - please see attached file)

Any way to help me?
Thanks,
Niv.

 

1 Answer, 1 is accepted

Sort by
0
Velin
Telerik team
answered on 10 Jun 2010, 03:14 PM
Hello niv kfir,
You can try a different approach by using a custom range on the X axis. Attached is a small example. You can play around with the maxBarNumber field an also the number of bars added to the chart(you should notice that the width of the bar does not depend on the number of bars but on the axis range).

Hope this will help.

Best wishes,
Velin
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 (Obsolete)
Asked by
niv kfir
Top achievements
Rank 1
Answers by
Velin
Telerik team
Share this question
or