Hi there,
how can I change the color of only one point in a pointSeries during runtime, for exsample if I click on this point?
thank you for your help.
regards helmut
change color of point one point onclick, c#.NET
-
- Newbie
- Posts: 7
- Joined: Mon Nov 06, 2006 12:00 am
- Contact:
Hi Helmut
You can do it with the "tChart1_ClickSeries" event of the point series, you can do somthing as below code:
You can do it with the "tChart1_ClickSeries" event of the point series, you can do somthing as below code:
Code: Select all
private void tChart1_ClickSeries(object sender, Steema.TeeChart.Styles.Series s, int valueIndex, MouseEventArgs e)
{
s[valueIndex].Color = Color.Red;
}
-
- Newbie
- Posts: 7
- Joined: Mon Nov 06, 2006 12:00 am
- Contact:
change color of point one point onclick, c#.NET
Thank you for your help.
It was necessary to to set the property "colorEach = true;". But after that everything works as expected.
regards helmut
It was necessary to to set the property "colorEach = true;". But after that everything works as expected.
regards helmut