Issue with adding vertical range

Sep 2, 2009 at 12:08 PM

Hi Mikhail,

I found one issue with adding verical range.

 private void Button_Click(object sender, RoutedEventArgs e)
        {
            VerticalRange verticalRange = new VerticalRange();
            verticalRange.Value1 = dateAxis.ConvertToDouble(this.date1); // some data 
            verticalRange.Value2 = dateAxis.ConvertToDouble(this.date2); // some data
            verticalRange.Fill = Brushes.Red;
            this.plotter.Children.Add(verticalRange);

            verticalRange = new VerticalRange();
            verticalRange.Value1 = dateAxis.ConvertToDouble(this.date3); // some data
            verticalRange.Value2 = dateAxis.ConvertToDouble(this.date4); // some data
            verticalRange.Fill = Brushes.Red;
            this.plotter.Children.Add(verticalRange);
        }
But this vertical range visible only when I resize the chart or when I change view  port. 
This issue may be repainting or refreshing issue.
Thanks and Regards
Ravi.

 

 

Editor
Sep 3, 2009 at 6:07 PM

Thanks, Ravi, I've fixed this bug and next changeset will not contain it.

Regards,

Mikhail.

Editor
Sep 8, 2009 at 9:33 AM

Hi Ravi,

this bug is fixed in changeset 28688.

Regards,

Mikhail.

Nov 9, 2011 at 9:39 AM
Edited Nov 9, 2011 at 11:11 AM

This bug is back in the latest source code (31108).

How can I force a chart refresh?

RESOLVED: I was using the stable release, not the nightly build! Thanks.