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