IndexOutOfRange in new WPF Charts

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
TMac
Newbie
Newbie
Posts: 21
Joined: Mon Mar 10, 2008 12:00 am

IndexOutOfRange in new WPF Charts

Post by TMac » Tue Mar 24, 2009 4:12 pm

I am having an issue with an IndexOutOfRange error with the newest WPF build. This occurs when I scroll the chart to the left of the maximum data point, so that the current view has no points displaying.

Here is a small example to reproduce this, the XAML is just a window with a Grid on it:

Code: Select all

Imports Steema.TeeChart.WPF

Class Window1

    Private _chart As TChart

    Public Sub New()
        InitializeComponent()

        _chart = New TChart
        chartHolder.Children.Add(_chart)

        _chart.Legend.Visible = False
        _chart.Walls.View3D = False
        _chart.Aspect.View3D = False

        Dim series As New Styles.Line()
        series.FillSampleValues(100)

        _chart.Series.Add(series)
    End Sub
End Class
To recreate the error in the sample, just scroll the chart to the right after it loads. Keep scrolling till there are no more points on screen and it will error.

Let me know if there is a workaround for this issue, I need to get this fixed as soon as possible.

Thanks,
T-Mac

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Post by Sandra » Wed Mar 25, 2009 10:36 am

Hello T-Mac,


I could reproduce your problem and I have added to the list of Bug Report with number [TW16014019] we will try to fix it for next versions of WPFTeeChart .NET.

Thanks,
Best Regards,
Sandra Pazos / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

TMac
Newbie
Newbie
Posts: 21
Joined: Mon Mar 10, 2008 12:00 am

Post by TMac » Wed Mar 25, 2009 2:50 pm

If there is no workaround for this issue, I will need to roll back my version to the last version that didn't have the issue until the new dll is released.

Is there a way that I can access older versions of the TChart dlls? If not, can you email me the last version of the TChart.WPF dll that did not have this issue.

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Wed Mar 25, 2009 2:59 pm

Hi TMac,

This has already been fixed for the next maintenance release due out this week.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply