Page 1 of 1

Coloring single spots in Points and Points3D series

Posted: Thu Nov 04, 2004 7:52 am
by 8122778
Hello,

I have a problem with coloring spots in one series in different colors in version 1.1.1544.23908. In a previous version (1.0.1189.31308) this problem did not exist.

Unfortunately I can not use the last version of T-chart because we are to close to release and the only two versions we have tested are the ones above. I need to solve the problem with version 1.1.1544.23908 because we have worse problems with the other version.

The code that works fine in the older version above is:

string id;

for(int i = 0; i < theSeries.XValues.Count; i++)
{
id = theSeries.Label;

if(theSelectionList.InList(long.Parse(id)))
{
theSeries.Color = selectionColor;
}
else
{
theSeries.Color = defaultColor;
}
}

The spots get different colors from this code.
But in the newer version nothing at all happens with the spots.

Is there a way to color spots in a series with different colors in version 1.1.1544.23908?

Best regards
Lizabeth

Posted: Thu Nov 04, 2004 10:06 am
by Marjan
Hi, Lisabeth.

Does it help if you set the ColorEach property to true ?

Code: Select all

theSeries.ColorEach = true;
theSeries.FillSampleValues(10);
theSeries.Colors[3] = Color.White; // change 4th point color to white

Posted: Fri Nov 05, 2004 7:22 am
by 8122778
Hello,

It worked. Thank you!

Best regards
Lizabeth