Hi,
I have the following problem using Teechart Pro v7.
My goal is to create a chart containing a bar and a line so that the line will be placed on the bar. Furthermore I want to adjust the line chart to the left axis and the bar chart to the right axis (Serieslist first entry is the bar series, second one the line series). Both series should be shown in the legend.
Now my problem: How can I manipulate the legend so that the first legend entry will be the one of the line series (incl. the symbol) and the second will be the one of the bar series (incl. the symbol) ?
Regards and thanx in advance
Dirk
2D-Bar/Line-Chart problem
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Dirk,
This can be done using:I want to adjust the line chart to the left axis and the bar chart to the right axis
Code: Select all
TChart1.Series(0).VerticalAxis = aLeftAxis
TChart1.Series(1).VerticalAxis = aRightAxis
This can be easily done using:Now my problem: How can I manipulate the legend so that the first legend entry will be the one of the line series (incl. the symbol) and the second will be the one of the bar series (incl. the symbol) ?
Code: Select all
TChart1.Legend.Inverted = True
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 |