Is it possible to set the size for Bars in the bar chart view for win forms.
2 Answers, 1 is accepted
answered on 11 Mar 2015, 07:34 AM
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.
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.