Trouble grabbing data from list

Oct 1, 2009 at 5:19 PM

I have a list called 'Accident Report' and within that list is various columns, one of which is called 'Department' which is a drop down menu, where they can select up to 5 departments.

Im trying to display a chart based on this information but struggling.

I have so far installed Chart Setup 1.0 beta2 and thats it.

Im getting the following error message;


Value does not fall within the expected range.

Details: System.ArgumentException: Value does not fall within the expected range. at Microsoft.SharePoint.SPListCollection.GetListByName(String strListName, Boolean bThrowException) at Microsoft.SharePoint.SPListCollection.get_Item(String strListName) at SmartTools.Charts.ChartWebPart.RenderContents(HtmlTextWriter writer)


Under chart data I have the following info:

List or Document Libary: Accident Report

View: 2007 (this is a view ive created)

Label Field: Department

Value Field: Department


This is the only date ive entered, so if anyone can tell me where im going wrong, it would be most apprecaited.