Page 1 of 1

How to make one bar in a bar plot narrower?

Posted: Tue Mar 13, 2007 5:12 pm
by 5891343
In a bar plot I plot one bar for every 60 min average of data, summing up 1 minute values.

Often, the first bar is not from 00:00, but might be from 09:20 in the morning till 09:59, next bar from 10:00 till 10:59 up to the last bar from 23:00 till 23:59

and
on next plot, the first bar start at 00:00 and end at 00:59 etc.

I want to make the first bar narrower than the others showing the bar do not represent 60 min of data, but in this case the data gather from 09:20 till 09:59

How can I do this

Posted: Wed Mar 14, 2007 8:32 am
by narcis
Hi Alf,

In that case you should do something as what's shown in the All Features\Welcome!\Chart Styles\Standard\Bar\Bar Size example in the feautures demo.

You'll find the demo at TeeChart's program group created by the binary installers.

Posted: Wed Mar 14, 2007 10:12 am
by 5891343
narcis wrote:Hi Alf,

In that case you should do something as what's shown in the All Features\Welcome!\Chart Styles\Standard\Bar\Bar Size example in the feautures demo.

You'll find the demo at TeeChart's program group created by the binary installers.
Unfortunately, SizeValues is not documented in the help following v. 7.07 :-( No wonder why I didn't find that option.

Any plans for updating the help?

Posted: Wed Mar 14, 2007 10:20 am
by narcis
Hi Alf,

This series style is not documented because it is not built-in TeeChart. This is a customer series style only created for the demo. You can find its implementation at TeeBarSizeSeries.pas in the demo sources.