Is it possible to set the size for Bars in the bar chart view for win forms.
Regards,
Ganesh. K
2 Answers, 1 is accepted
0
Accepted
Ralitsa
Telerik team
answered on 11 Mar 2015, 07:34 AM
Hi Ganesh,
Thank you for contacting us.
The size of the bars in a bar series chart is defined by the number of data points and the available plot area. You can control how much space the bars take for each individual tick though the GapLenght property. Here is the code snippet:
(barSeries.HorizontalAxis as CategoricalAxis).GapLength = 0.75;
More information about the GapLenght property can be found here: BarSeries.
I hope this will help. Do not hesitate to write back with further questions.
Regards,
Ralitsa
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.