setting arrow pointer color for marks

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
.Net
Newbie
Newbie
Posts: 3
Joined: Wed Jun 01, 2005 4:00 am
Location: Canada - ON
Contact:

setting arrow pointer color for marks

Post by .Net » Wed Nov 09, 2005 7:18 pm

We initialize our TChart instance setting the 3D option to false as below:

this.tChart_SblPreview.Aspect.View3D = false;

Then we create a series of type Line and try to set its properties. Among them we try to set the color of the arrow pointer for the marks using one of the following code lines:

line.Pointer.Color = lSettings.MarkerColor;
line.Marks.Arrow.Color = lSettings.MarkerColor;
line.Pointer.Brush.Color = lSettings.MarkerColor;


However none of them worked and the pointer color is always the same as the line color, but we want them to have different colors. THis is possible if the 3D option above is set to true, however it would lead to another undesired situation. So is it possible to have arrows pointers and a line with different colors using code (not the edit window)?

Another question: Is it possible to have arrow pointers with different sizes (width and height) in the same series?

Thanks in advance,
Marconi

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

Post by Narcís » Thu Nov 10, 2005 2:06 pm

Hi Marconi,

Which TeeChart version are you using? Arrow.Color works fine here using latest TeeChart for .NET v2 available release. Pointer.Color didn't work, however we have already fixed it for the next debug build and maintenance releases.
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

.Net
Newbie
Newbie
Posts: 3
Joined: Wed Jun 01, 2005 4:00 am
Location: Canada - ON
Contact:

Post by .Net » Thu Nov 10, 2005 7:26 pm

Hi,
I´m using version 1.1.2004.16592
When the new release with this bug fixed will be avalible to be downloaded?

Thanks!

Marc
Newbie
Newbie
Posts: 4
Joined: Thu Jun 16, 2005 4:00 am
Location: Girona
Contact:

Post by Marc » Fri Nov 11, 2005 4:04 pm

Hello Marconi,

Referring to the Pointer that marks the connection of the Mark Arrow to the Series you can set characteristics via the Callout properties:

eg.

Code: Select all

tChart1[0].Marks.Callout.Visible=true;
tChart1[0].Marks.Callout.Brush.Color=Color.Yellow;
Regards,
Marc Meumann
Steema Support

Post Reply