Custom labels from recordset

TeeChart for ActiveX, COM and ASP
Post Reply
Rossmc
Newbie
Newbie
Posts: 23
Joined: Thu Mar 30, 2006 12:00 am

Custom labels from recordset

Post by Rossmc » Mon May 21, 2007 11:36 am

I have a recordset with two fields, priceDate and priceClose.

I plot using the DataSource property, ie:
.Series(0).DataSource = rs
.Series(0).YValues.ValueSource = "prClose"

The priceDate interval is daily and the recordset covers many years. I only want an x-axis label at each year change.

How would I do this?

Thanks

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

Post by Narcís » Mon May 21, 2007 1:07 pm

Hi Rossmc,

Then try setting the bottom axis increment to one year. This is explained at Tutorial 4 - Axis Control. You'll find the tutorials at TeeChart's program group.
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