Page 1 of 1

bar width

Posted: Sun Jun 25, 2006 1:33 pm
by 9527011
We have a chart that include several bar series. series are not stacked and there width was determain by teechart when data was filled (using C++ code MVS2005).

in teechart properties window there is an option to change bar width which is defined by precentage.

1. precentage according to what? to other series? to size of the chart?
2. changing the width by a few intervals (e.g. from 90% to 95% or even 99%) does not seem to make much difference, but change it to 100% suddnly cause th bar to become huge. why?

thanks.
Zoe.

Posted: Tue Jun 27, 2006 11:09 pm
by Pep
Hi Zoe,
1. precentage according to what? to other series? to size of the chart?
The BarWidthPercent property determines the percent of total Bar width used. Setting BarWidthPercent := 100 makes joined Bars.
2. changing the width by a few intervals (e.g. from 90% to 95% or even 99%) does not seem to make much difference, but change it to 100% suddnly cause th bar to become huge. why?
Yes, you're correct, setting it to 100 when there are more than one Bar Series it's not correctly displayed, it's a bug, I've added it on our defect list and a fix for it will be considered to inclusion for the next maintenance releases. In meantime, maybe (in your case) a trick could be to set it to 99 or 101.

thanks

Posted: Wed Jun 28, 2006 5:20 am
by 9527011
thanks