How can I control the width of columns and cylinders?


QUESTION

How can I control the width of columns and cylinders?

ANSWER

Use the following properties to control the width. These properties apply to either a single column or a group of columns.

[C#]

// Set a static width in pixels
Chart.DefaultAxis.StaticColumnWidth = 10;

// Set spacing percentage.
Chart.DefaultAxis.SpacingPercentage = 15;
 

 
[Visual Basic]

' Set a static width in pixels
Chart.DefaultAxis.StaticColumnWidth = 10

' Set spacing percentage.
Chart.DefaultAxis.SpacingPercentage = 1
 


Posted Monday, May 17, 2004 by Support
https://dotnetcharting.com/kb/KnowledgebaseArticle10120.aspx