Sometimes in a chart appears a red cross. The chart is running over a long time, but after hours or days the red cross will be drawn.
Theres is no exception, the software is still running, but the chart does not work after this red-cross-error.
It seems, that the chart will be drawn two times, one time on right position on the underlying tabcontrol, and one time it moved a little bit outside the tabcontrol.
Description of the chart:
The chart contains 5 fast line series and 1 point series. The fast lines series will be drawn only one time and will never be updated.
The point series will be updated every 3 seconds and includes only 1 point. The point will be deleted with .Clear() and then a new point will be added with .add(x, y).
The left axis is a logaritmic axis.
This is the code for the point update:
Code: Select all
series_PC_cross.Clear();
if ((MCR_RPM_min > 0) & (MCR_power_kW > 0))
{
RPM_Percent = RPM / MCR_RPM_min * 100;
kW_Percent = Power_kW / MCR_power_kW * 100;
series_PC_cross.Add(RPM_Percent, kW_Percent);
}
On 1 PC we get this error since last week.
Is it possible that the error will be caused outside the update procedure?