Bug: Removing ColorLine tool in WPF TChart
Posted: Fri Apr 02, 2010 1:14 pm
In Windows Forms TChart I can add ColorLine tool with code as
ColorLine line = new ColorLine(TestTeeChart.Chart);
line.Axis = TestTeeChart.Axes.Left;
line.Value = 3;
and remove ColorLine with code as
TestTeeChart.Tools.Remove(line);
It works perfectly. But in WPF TChart after ColorLine removing line stays on the Chart but becomes unmovable with the mouse and moreover sometimes appeares outside TChart! Moreover after it TChart behaviour becomes unpredictable.
What to do?
ColorLine line = new ColorLine(TestTeeChart.Chart);
line.Axis = TestTeeChart.Axes.Left;
line.Value = 3;
and remove ColorLine with code as
TestTeeChart.Tools.Remove(line);
It works perfectly. But in WPF TChart after ColorLine removing line stays on the Chart but becomes unmovable with the mouse and moreover sometimes appeares outside TChart! Moreover after it TChart behaviour becomes unpredictable.
What to do?