WPF Zoom problem 3.5.3330.21113
Posted: Fri Feb 27, 2009 1:11 pm
Hello
when we try zoom rigth from red point - we crash
private void button4_Click(object sender, RoutedEventArgs e)
{
Line Ser = new Line();
Ser.Pointer.Visible = true;
Ser.Pointer.Style = PointerStyles.Circle;
Ser.Pointer.VertSize = 2;
Ser.Pointer.HorizSize = 2;
tChart1.Series.Add(Ser);
Ser.FillSampleValues(48);
Points Pt = new Points();
Pt.Title = Title;
Pt.ShowInLegend = false;
Pt.Pointer.Style = PointerStyles.Circle;
Pt.Pointer.Brush.Color = Color.FromRgb(255, 0, 0);
Pt.Pointer.VertSize = 5;
Pt.Pointer.HorizSize = 5;
tChart1.Series.Add(Pt);
Pt.Add(Ser.XValues[10],Ser.YValues[10]);
}
when we try zoom rigth from red point - we crash
private void button4_Click(object sender, RoutedEventArgs e)
{
Line Ser = new Line();
Ser.Pointer.Visible = true;
Ser.Pointer.Style = PointerStyles.Circle;
Ser.Pointer.VertSize = 2;
Ser.Pointer.HorizSize = 2;
tChart1.Series.Add(Ser);
Ser.FillSampleValues(48);
Points Pt = new Points();
Pt.Title = Title;
Pt.ShowInLegend = false;
Pt.Pointer.Style = PointerStyles.Circle;
Pt.Pointer.Brush.Color = Color.FromRgb(255, 0, 0);
Pt.Pointer.VertSize = 5;
Pt.Pointer.HorizSize = 5;
tChart1.Series.Add(Pt);
Pt.Add(Ser.XValues[10],Ser.YValues[10]);
}