Page 1 of 1

Teechart ACtivex 5 question

Posted: Fri Jan 16, 2004 6:02 pm
by 6925002
How can I have a line and area graph together?. I want the line to be drawn through the area.

Line have points like 10,20,30,40 for year 2001,2002,2003 and 2004 respectively.

Area 0-10 is Low,10-20 Medium,20-30 is high,30-40 is very high

Can anyone send me the code in VB6 to do this?

Posted: Mon Jan 19, 2004 11:04 am
by Pep
>How can I have a line and area graph together?. I want the line to be >drawn through the area.
You can add both types in the same Chart using :
tChart1.AddSeries scArea
tChart1.AddSeries scLine

>Line have points like 10,20,30,40 for year 2001,2002,2003 and 2004 >respectively.
>Area 0-10 is Low,10-20 Medium,20-30 is high,30-40 is very high
You can add the points and labels using the Add and AddXY methods, please see the help for details.