Page 1 of 1

bug in demo Bar Size example V3.2.289.29191

Posted: Sun Jan 13, 2008 12:01 am
by 13047134
On the demo go
Welcome !\Chart styles\Standard\Bar\Bar Size example
Double click the yellow bit to get the editor and click Series tab, the following results
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
at System.ThrowHelper.ThrowArgumentOutOfRangeException()
at Steema.TeeChart.Editors.SeriesEditor.ShowSeriesForm(Int32 index)
at Steema.TeeChart.Editors.SeriesEditor.SetSeries(Series s, Control parent)
at Steema.TeeChart.Editors.SeriesEditor..ctor(Series s, Control parent)
at Steema.TeeChart.Editors.ChartEditor.CBSeries_SelectedIndexChanged(Object sender, EventArgs e)
at System.Windows.Forms.ComboBox.OnSelectedIndexChanged(EventArgs e)
at System.Windows.Forms.ComboBox.set_SelectedIndex(Int32 value)
at Steema.TeeChart.Editors.ChartEditor.tabControl1_SelectedIndexChanged(Object sender, EventArgs e)
at System.Windows.Forms.TabControl.OnSelectedIndexChanged(EventArgs e)
at System.Windows.Forms.TabControl.WmSelChange()
at System.Windows.Forms.TabControl.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Posted: Mon Jan 14, 2008 11:08 am
by narcis
Hi Adrian,

This is because BarSize series is a custom series derived from Bar series and doesn't have any editor associated. To solve this issue you can use RegisterSeries method as I showed in one of the examples here.

Posted: Mon Jan 14, 2008 10:25 pm
by 13047134
Thanks Narcis,
Thats fine but it probably should work in the demo!

Posted: Tue Jan 15, 2008 8:43 am
by narcis
Hello Adrian,

Ok, I'll add your request to the wish-list to be considered for inclusion in future releases.

Posted: Tue Jan 15, 2008 8:48 am
by 13047134
it's not really a wish list thing... there is a bug in your demo. When I use the demo as described it crashes... it should be fixed....

Posted: Tue Jan 15, 2008 8:53 am
by narcis
Hi Adrian,

Ok. I changed it's status to a bug.

Posted: Thu Jan 24, 2008 10:33 pm
by 13047134
Tested with V 3.2.2945.19736, not fixed

Posted: Fri Jan 25, 2008 12:40 pm
by narcis
Hi Adrian,

This defect was assigned a bug-tracking number (TF02012724) before the release of version 3.2.2945.19736. Therefore, if the defect had been fixed for this release then mention of it together with its reference number would have appeared in the release notes. As you can see in the release notes here:

http://www.steema.com/files/public/teec ... elease.txt

No mention of the defect being resolved is made. As a general rule of thumb, and to save you time, one can consider defects which are not stated as resolved in the release notes as still being a problematic issue. In this sense, there is little need for you to check that they are still there.