Page 1 of 1

setting arrow pointer color for marks

Posted: Wed Nov 09, 2005 7:18 pm
by 8130047
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

Posted: Thu Nov 10, 2005 2:06 pm
by narcis
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.

Posted: Thu Nov 10, 2005 7:26 pm
by 8130047
Hi,
I´m using version 1.1.2004.16592
When the new release with this bug fixed will be avalible to be downloaded?

Thanks!

Posted: Fri Nov 11, 2005 4:04 pm
by 9637193
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