Page 1 of 1

Bottom axis - create custom date format

Posted: Thu Jul 30, 2015 2:06 pm
by 16475102
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 6638 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 6640 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

Re: Bottom axis - create custom date format

Posted: Thu Jul 30, 2015 2:19 pm
by narcis
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.

Re: Bottom axis - create custom date format

Posted: Thu Jul 30, 2015 7:30 pm
by 16475102
thank you very much for your help, it works perfectly.