Hi~ I need Multi line chart therefore ASP codeing in below
How can i fix it.. Help me..
-------------------------------------
Set Chart1 = CreateObject("TeeChart.TChart")
Chart1.Legend.Visible=false
Chart1.Header.Text(0)= tag_no
Chart1.Header.Font.Color=vbBlack
Chart1.Header.Font.Bold=True
Chart1.AddSeries(Line)
Chart1.Aspect.View3D=False
Chart1.Panel.Gradient.Visible=false
Chart1.Panel.Color=black
Chart1.Panel.BevelOuter=1
Chart1.Panel.BevelWidth=2
Chart1.Axis.Bottom.Labels.Angle=0
Chart1.AddSeries(0)
Chart1.AddSeries(1)
Chart1.AddSeries(2)
setday = res("sday")
data = res("data")
Chart1.Series(0).Add 100, setday, clTeeColor
Chart1.Series(0).Add 400, setday, clTeeColor
Chart1.Series(0).Add 300, setday, clTeeColor
Chart1.Series(1).Add 500, setday, clTeeColor
Chart1.Series(1).Add 600, setday, clTeeColor
Chart1.Series(1).Add 400, setday, clTeeColor
Chart1.Series(2).Add 50, setday, clTeeColor
Chart1.Series(2).Add 200, setday, clTeeColor
Chart1.Series(2).Add 10, setday, clTeeColor
Response.BinaryWrite (Chart1.Export.asNative.SaveToStream(True))
-------------------------------------
I need Multi Line Chart
I need Multi Line Chart
- Attachments
-
- 2.jpg (233.14 KiB) Viewed 10622 times
-
- 1.jpg (217.27 KiB) Viewed 10624 times
Re: I need Multi Line Chart
Hello,
First note the argument in the AddSeries method is the series type you want to create.
Secondly, note type 0 is a Line series, type 1 is a Bar series, and type 2 is an HorizBar series.
If you want to add 3 Line series, change the code above for this:
These and other constants can be found at the TeeChartDefines.h file in the "\Utilities\New VC Classes" folder of your TeeChart installation.
I see this in your code:rush kim wrote:Hi~ I need Multi line chart therefore ASP codeing in below
How can i fix it.. Help me..
Code: Select all
Chart1.AddSeries(0)
Chart1.AddSeries(1)
Chart1.AddSeries(2)
Secondly, note type 0 is a Line series, type 1 is a Bar series, and type 2 is an HorizBar series.
If you want to add 3 Line series, change the code above for this:
Code: Select all
Chart1.AddSeries(0)
Chart1.AddSeries(0)
Chart1.AddSeries(0)
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Thank you for your answer.
Thank you for your answer.