Teechart ACtivex 5 question

TeeChart for ActiveX, COM and ASP
Post Reply
Teechart Activex Question
Newbie
Newbie
Posts: 19
Joined: Fri Nov 15, 2002 12:00 am
Contact:

Teechart ACtivex 5 question

Post by Teechart Activex Question » Fri Jan 16, 2004 6:02 pm

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?

Pep
Site Admin
Site Admin
Posts: 3303
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Mon Jan 19, 2004 11:04 am

>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.

Post Reply