bar width

TeeChart for ActiveX, COM and ASP
Post Reply
Oblicore
Newbie
Newbie
Posts: 79
Joined: Fri May 27, 2005 4:00 am

bar width

Post by Oblicore » Sun Jun 25, 2006 1:33 pm

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.

Pep
Site Admin
Site Admin
Posts: 3295
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Tue Jun 27, 2006 11:09 pm

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.

Oblicore
Newbie
Newbie
Posts: 79
Joined: Fri May 27, 2005 4:00 am

thanks

Post by Oblicore » Wed Jun 28, 2006 5:20 am

thanks

Post Reply