How do I make Series not visible in 3D Charts?

TeeChart for ActiveX, COM and ASP
Post Reply
Scott Small
Newbie
Newbie
Posts: 5
Joined: Wed Jun 22, 2005 4:00 am
Location: Arizona

How do I make Series not visible in 3D Charts?

Post by Scott Small » Fri Oct 07, 2005 9:01 pm

I have added the ability for a user to be able to show/hide trace lines. This works great when the chart is in 2D mode; however, when in 3D mode the line representation still is visible. When in 3D mode, making the line not visible, the black lines that represent the individual values are removed, but the 3D colored line still remains.

For the 2D representation, I use the following line of code to turn on/off the visibility of the line.

Code: Select all

TChart1.Series(i).asLine.LinePen.Visible = false
or

Code: Select all

TChart1.Series(i).asLine.LinePen.Visible = true
Is there a special call I need to make to hide the 3D line representation? I tried :

Code: Select all

TChart1.Series(i).asPoint3D.LinePen.Visible = false
but that didn't appear to do anything different.

Thanks for your assistance in this.

Regards,
Scott Small

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Mon Oct 10, 2005 7:47 am

Hi Scott,

With 3D series is not enough making pen visible, you should also make brush not visible. However, it is easier doing:

Code: Select all

TChart1.Series(i).Active = 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
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply