Bottom axis - create custom date format

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Gucci
Newbie
Newbie
Posts: 22
Joined: Mon Jul 27, 2015 12:00 am

Bottom axis - create custom date format

Post by Gucci » Thu Jul 30, 2015 2:06 pm

Good day,

I am starting with TChart now for the first, can someone please assist with the following.

1) I am trying to draw my bottom date axis as follows :
bottom_date_axis.png
bottom_date_axis.png (141.76 KiB) Viewed 6690 times

2) When I load my chart, how can I set my view to only show the first year's data and not all the data loaded into the chart.
Example : when tchart is loaded :
limit display data.png
limit display data.png (22.33 KiB) Viewed 6692 times
3)Is it possible to add a scroll bar to a chart.


Thank you very much for the support.

Bottom axis - create custom date format

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

Re: Bottom axis - create custom date format

Post by Narcís » Thu Jul 30, 2015 2:19 pm

Hi Gucci,

1. Yes, you need to use SubAxes for that. I made a similar example here.

2. You need to set bottom axis minimum and maximum values as explained in tutorial 4. TeeChart VCL/FMX tutorials can be found at the Docs page or at the Docs folder in your TeeChart installation.

3. You can use AxisScrollbar (as shown here for Build 2015.14.150120), ScrollBar component (as shown in the All Features\Welcome!\Components\ScrollBar example in the new features demo) or ScrollPager tool (as shown in the What's New?\Welcome!\New Chart Tools\ScrollPager example in the new features demo). The demo is available 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

Gucci
Newbie
Newbie
Posts: 22
Joined: Mon Jul 27, 2015 12:00 am

Re: Bottom axis - create custom date format

Post by Gucci » Thu Jul 30, 2015 7:30 pm

thank you very much for your help, it works perfectly.

Post Reply