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

Spacing Between Bars in Stacked Bar Graph

2 Answers 232 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Jairo Reyes
Top achievements
Rank 2
Jairo Reyes asked on 27 Jun 2017, 10:34 PM
Hello, i'm trying to show a graph in a report made in Visual Studio 2015, so far i'm able to show the graph (see attached picture), but i'm unable to change the spacing between the bars, i tried using the SpacingSlotCount property but it doesn't work because everything is inside the same category, and when i try to sort them in different categories the bars are just too thin. can you tell me what i'm doing wrong here?

2 Answers, 1 is accepted

Sort by
0
Ivan Hristov
Telerik team
answered on 28 Jun 2017, 06:46 AM
Hello Jairo,

You are right, SpacingSlotCount determines the width of the bars in one category slot - that's why in your first graph the spacing between the bars doesn't change. In your second graph, you have added a series and category group, but your series' ArrangeMode is probably Clustered, which means that every bar will have its own place in a category slot (much like the first graph). If you insist of having both series and category groups, you have to change the ArrangeMode to Stacked or Overlapped, which will position the bar in the center of the slot.

If you have more questions, please let us know.

Regards,
Ivan Hristov
Progress Telerik
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 Feedback Portal and vote to affect the priority of the items
0
Jairo Reyes
Top achievements
Rank 2
answered on 28 Jun 2017, 12:29 PM
Thank you so much Ivan, i've changed the ArrangeMode to Stacked and now is working as intended!
Tags
General Discussions
Asked by
Jairo Reyes
Top achievements
Rank 2
Answers by
Ivan Hristov
Telerik team
Jairo Reyes
Top achievements
Rank 2
Share this question
or