Hi
I have a line series.
I want to be able to toggle showing the lines that connect the points (so that it looks like a point series).
In the previous version the code I used was
tChart1.Series(1).asLine.LinePen.Visible = True/False
How do I do the same in this version?
Regards
Reg Bust
Don't show the joining lines on a line series
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Reg Bust,
Using TeeChart for .NET this is:
or
Which in VB.NET would be:
Using TeeChart for .NET this is:
Code: Select all
line1.LinePen.Visible = false;
Code: Select all
(tChart1[0] as Steema.TeeChart.Styles.Line).LinePen.Visible = false;
Code: Select all
(tChart1(0) as Steema.TeeChart.Styles.Line).LinePen.Visible = False
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 |
Hi
Thank you.
I am using VB.NET 2005 and TeeChart.NET.
I could not get it to work exactly as you said.
What I had to do was:
Is there a simpler way?
Regards
Reg Bust
Thank you.
I am using VB.NET 2005 and TeeChart.NET.
I could not get it to work exactly as you said.
What I had to do was:
Code: Select all
CType(tChart1.Series(0), Steema.TeeChart.Styles.Line).LinePen.Visible = False
Regards
Reg Bust
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Reg Bust,
Sorry, yes, this is the appropiate way. I used Kamal Patel's C# to VB.NET converter. Using Carlos Aguilar's converter gives the same code you posted.
Sorry, yes, this is the appropiate way. I used Kamal Patel's C# to VB.NET converter. Using Carlos Aguilar's converter gives the same code you posted.
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 |