hide line but show the datpoints

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Markus
Newbie
Newbie
Posts: 23
Joined: Tue Nov 23, 2004 5:00 am
Location: Austria
Contact:

hide line but show the datpoints

Post by Markus » Wed Jan 12, 2005 3:38 pm

Is it possible to show the datapoints of a line but hide the line itselfe?
When I am hiding the line, the datapoints are not showen also regardless of the pointer properties.

Thanks, Markus

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

Post by Narcís » Wed Jan 12, 2005 4:04 pm

Hi Markus,

You may be interested using a point series to achieve this. You can also set a line series transparency to 100% using:

Code: Select all

line1.Transparency=100;
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

Markus
Newbie
Newbie
Posts: 23
Joined: Tue Nov 23, 2004 5:00 am
Location: Austria
Contact:

Post by Markus » Wed Jan 12, 2005 4:47 pm

With a point series i am missing the line at all but your sollution is a good ide, it works fine, thanks.

Greetin from Austris, Markus.

Klaus Wenzel Jørgensen
Newbie
Newbie
Posts: 6
Joined: Tue Jan 07, 2003 5:00 am

Line visible?

Post by Klaus Wenzel Jørgensen » Wed Jan 26, 2005 12:50 pm

Hi

To control this feature on the transparency property, seems incorrect!
* Steema.TeeChart.Styles.Line.Pointer.Visible //controls if the points are printed
* Steema.TeeChart.Styles.Line.Brush.Visible //controls nothing

In your editor. The checkbox that should control the border of the line also has no effect.

To use the transparency property is the way to fix it now (in our code). But it would be nice if you would admit that this is not wanted behaviour...

br, klaus wj[/b]

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

Post by Narcís » Wed Jan 26, 2005 1:09 pm

Hi Klaus,

I've done some testing with what you have said with the latest build released and works.
Steema.TeeChart.Styles.Line.Brush.Visible //controls nothing
This works and makes line series brush visible/invisible (transparent/not transparent).
To use the transparency property is the way to fix it now (in our code). But it would be nice if you would admit that this is not wanted behaviour...
If you don't have the latest build release you can download it from our customer download area.
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

Klaus Wenzel Jørgensen
Newbie
Newbie
Posts: 6
Joined: Tue Jan 07, 2003 5:00 am

Post by Klaus Wenzel Jørgensen » Fri Jan 28, 2005 1:39 pm

Your right. Brush works, it was the "LinePen.Visible" that did not work...

I already have upgraded to version "1.1.1769.19457", but that did not fix anything.

Will you look into that (too)?


br,
Klaus WJ

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 Jan 31, 2005 9:08 am

Hi Klaus,
Your right. Brush works, it was the "LinePen.Visible" that did not work...
This also works in the latest build release.

Try using a line series and adding a button with this code:

Code: Select all

line1.LinePen.Visible = !line1.LinePen.Visible;
You will see the difference between making the LinePen visible or not.
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