I need the right (vertical) axis ticks and numbering to appear exactly as on the left side, and also need the top (horizontal) axis ticks and numbering to appear exactly as on the bottom. This is for a simple x-y line graphing. On the TChart editor I select top (or right) and enable Visible. Neither top axis Visible nor right axis Visible do anything to the chart.
How can I have top and right axis?
VCL/TChart 5.xx
keith
Need top and right axis exactly like bottom and left axis
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi keith,
This is because you need to associate those axes to some series, for example:
You can also do this at design-time in the chart editor at Series\General tab.
This is because you need to associate those axes to some series, for example:
Code: Select all
Series1.VertAxis := aBothVertAxis;
Series1.HorizAxis := aBothHorizAxis;
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Re: Need top and right axis exactly like bottom and left axis
I have a similar problem with a chart with 3 series. 2 series are stacked bar charts and one is a line graph.
The left axis scale is set automatically and accomodates the minimum/maximum values of the 3 series.
I want the right axis to be exactly the same as the left axis but with the tick marks and numbers to the right of the axis so that the horizontal grid lines join the relevant marks.
I can find no way of doing this at design time - the axes options are not linked to individual series and setting the VISIBLE attribute has no effect.
How do I do it ?
The left axis scale is set automatically and accomodates the minimum/maximum values of the 3 series.
I want the right axis to be exactly the same as the left axis but with the tick marks and numbers to the right of the axis so that the horizontal grid lines join the relevant marks.
I can find no way of doing this at design time - the axes options are not linked to individual series and setting the VISIBLE attribute has no effect.
How do I do it ?
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: Need top and right axis exactly like bottom and left axis
Hi RichTat,
At designtime you have to open the chart editor and do the following for all the series in the chart:
1. Select on series in editor's main dialog.
2. Go to the Series tab.
3. Go to the General tab.
4. At the Vertical Axis combo box select Left and Right.
Hope this helps!
At designtime you have to open the chart editor and do the following for all the series in the chart:
1. Select on series in editor's main dialog.
2. Go to the Series tab.
3. Go to the General tab.
4. At the Vertical Axis combo box select Left and Right.
Hope this helps!
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Re: Need top and right axis exactly like bottom and left axis
Yes thank you that has worked.