Profile Picture

Fix the bar's width

Posted By inhyuk son 14 Years Ago
Author
Message
inhyuk son
Posted 14 Years Ago
View Quick Profile
Junior Member

Junior Member (21 reputation)Junior Member (21 reputation)Junior Member (21 reputation)Junior Member (21 reputation)Junior Member (21 reputation)Junior Member (21 reputation)Junior Member (21 reputation)Junior Member (21 reputation)Junior Member (21 reputation)

Group: Forum Members
Last Active: 12 Years Ago
Posts: 21, Visits: 1
Hi~

Can I fix the bar's width or set max width?
If the series has only one datapoint, the width of bar is much wider.

thanks~

bob milanov
Posted 14 Years Ago
View Quick Profile
Supreme Being

Supreme Being (152 reputation)Supreme Being (152 reputation)Supreme Being (152 reputation)Supreme Being (152 reputation)Supreme Being (152 reputation)Supreme Being (152 reputation)Supreme Being (152 reputation)Supreme Being (152 reputation)Supreme Being (152 reputation)

Group: Forum Members
Last Active: 6 Months Ago
Posts: 153, Visits: 11

Hi Inhyuk,

The bar width is set trough the WidthPercent property in case the bar is in categorical mode or trough the BarWidth property when in scatter (UseXValue is true):

// bar width 10 of category cell
barSeries.WidthPercent = 10;

// bar width 10 points
barSeries.BarWidth = new NLength(10);

Hope this helps - let me know if you have any questions...

Best regards,
Bob





Similar Topics


Reading This Topic