How to make one bar in a bar plot narrower?

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
achristouio
Newbie
Newbie
Posts: 26
Joined: Tue Apr 02, 2002 5:00 am
Location: University of Oslo
Contact:

How to make one bar in a bar plot narrower?

Post by achristouio » Tue Mar 13, 2007 5:12 pm

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
Alf Christophersen
Dep. of Nutrition
Medical School
University of Oslo, Norway

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Wed Mar 14, 2007 8:32 am

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.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

achristouio
Newbie
Newbie
Posts: 26
Joined: Tue Apr 02, 2002 5:00 am
Location: University of Oslo
Contact:

Post by achristouio » Wed Mar 14, 2007 10:12 am

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?
Alf Christophersen
Dep. of Nutrition
Medical School
University of Oslo, Norway

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Wed Mar 14, 2007 10:20 am

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.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply