Page 1 of 1

IndexOutOfRangeException when using Bands

Posted: Thu Aug 28, 2014 8:29 am
by jrvdboom
If I add a band to ViewXY.Bands and then call SetSubNodeOwners on the Band, it throws an IndexOutOfRangeException when the axis with the assigned axis index doesn't exist yet.

This can easily be prevented by creating the axes before the bands, BUT when working with the Visual Studio designer the generated XAML can define the bands before the axes. Other SeriesBaseXY subtypes don't suffer from this problem, so I would like to suggest that Bands also take into account that an axis might not exist yet.

Thanks,
Joost

Re: IndexOutOfRangeException when using Bands

Posted: Mon Sep 01, 2014 6:36 pm
by ArctionPasi
Hi Joost,

this problem was fixed in v.6.1.0 today. It's now downloadable with full installer.

Our apologies for the trouble.