I have a drawline tool with various DrawLineItems. I'm trying to toggle the drawlines between visible and invisible, based on a variable, e.g.
foreach (Steema.TeeChart.Tools.DrawLineItem dl in _tcAugerPeakLine.Lines)
{
dl.Pen.Visible = bVal;
}
I've also tried - _tcAugerPeakLine.Pen.Visible = bVal;
and
for (int i = 0; i < _tcAugerPeakLine.Lines.Count; ++i)
{
_tcAugerPeakLine.Lines.Pen.Visible = bVal;
}
None of these are working. This was working previously with the ActiveX version of TeeChart.
Regards
jenb
DrawLine Toggle Between Visible and Invisible
-
- Site Admin
- Posts: 1349
- Joined: Thu Jan 01, 1970 12:00 am
- Location: Riudellots de la Selva, Catalonia
- Contact:
Hello,
In the meantime, if you want to set all lines to invisible, you can use the DrawLine.Active property.
I can confirm that this is a defect in teechart.net v3 and that it has been fixed in this version. The fix will be shipped with the next maintenance release of teechart.net v3, due out at the end of next week.None of these are working. This was working previously with the ActiveX version of TeeChart.
In the meantime, if you want to set all lines to invisible, you can use the DrawLine.Active property.
Thank you!
Christopher Ireland (Steema crew)
Please be aware of the newsgroup archives:
http://www.teechart.net/support/search.php
http://groups.google.com
http://codenewsfast.com/
Christopher Ireland (Steema crew)
Please be aware of the newsgroup archives:
http://www.teechart.net/support/search.php
http://groups.google.com
http://codenewsfast.com/