I am using TeeChart v7 and have been working on this issue all morning. I am checking my data points on the chart against a set of control limits. When the data point is outside of the limits I want to change the point color to RED.
I have drop down box that allows the user to select different variables and the data is displayed for that variable. The chart is displayed initially for the first variable in the list and the data points that are out of limits show in RED.
But when a different variable is selected the data points are not shown in RED for the ones that are out of limits. But when I double click the chart, the points are shown in RED.
What am I missing? I have ColorEachPoint set to True.
Vince
TeeChart v7 Point Color does not change until double click
-
- Newbie
- Posts: 7
- Joined: Thu Oct 07, 2004 4:00 am
- Location: Leesburg, Georgia
- Contact:
Hi Vince,
As you probably are doing, you should use OnGetSeriesPointerStyle event to check your conditions and set the according color to your points.
What you may be forgetting is to force entering to this event when one of this conditions has changed. So, could you verify that you are repainting the chart after changing a condition?
As you probably are doing, you should use OnGetSeriesPointerStyle event to check your conditions and set the according color to your points.
What you may be forgetting is to force entering to this event when one of this conditions has changed. So, could you verify that you are repainting the chart after changing a condition?
Code: Select all
TChart1.Environment.InternalRepaint
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
-
- Newbie
- Posts: 7
- Joined: Thu Oct 07, 2004 4:00 am
- Location: Leesburg, Georgia
- Contact: