Page 1 of 1

Crash when use Map series

Posted: Sat Jun 10, 2006 11:42 am
by 9640767
Hello All,

unpleasant crash with "Map serier" (teechart 2.0.2306.26232):

1) add chart to winform
2) create pie serier
3) fill that serier with sample values
pie1.FillSampleValues();

4) raise teechart property
Steema.TeeChart.Editor editor = new Steema.TeeChart.Editor(tChart1);
editor.ShowModal();

5) Press "Change" button to change the serier's type. Select "Extended" tab, after that press SINGLE click on "Map serier". As you can see the button is highlighted and a small arrow appeared in the left bottom corner. After that press on this arrow, as you can see the crash appears.

System.NullReferenceException: Object reference not set to an instance of an object.
Stack Trace
"at Steema.TeeChart.Styles.Map.Dispose(Boolean disposing)
at System.ComponentModel.Component.Finalize()"

Any ideas to eliminate that?

Thanks.

Posted: Mon Jun 12, 2006 11:15 am
by narcis
Hello,

Thanks for the information.

I've been able to reproduce the problem here and I've added it to our wish-list to be enhanced. Changing from pie to map series shouldn't be allowed as they have different structures, their value lists are different.