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?
Teechart ACtivex 5 question
-
- Newbie
- Posts: 19
- Joined: Fri Nov 15, 2002 12:00 am
- Contact:
>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.
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.
Pep Jorge
http://support.steema.com
http://support.steema.com