Page 1 of 1

Bar width

Posted: Tue Sep 04, 2012 5:25 pm
by 15663294
I'm having a webchart. I set the width to 1000px. We are adding a different number of bars for different settings. If we add, say 10 bars, the width of the bar is thin. Next time, when we have to add only 2 bars, the width is too thick. Is there anyways, we can set the bar width to be consistent and expand / contract the chart accordingly? Thank you.

Re: Bar width

Posted: Wed Sep 05, 2012 10:23 am
by 10050769
Hello May,

Exist the property of BarWidthPercent, that allow you to change the width of bar, as you want. Other option is use a CustomBarSeries as do in the TeeChart.Net Demo All Features\Welcome!\Chart styles\Standard\Bar\Bar Size example or taking a look in this thread and try to implement it in WebChart, so, it should work in the same way.

I hope will help.

Thanks,