This should be very simple but I can't figure out how to do it. I have spent hours looking for a solution and trying different options.
I have a sql datasource with data as:
Period | Avg_Total
1/1/2011 | $1000
2/1/2011 | $1500
3/1/2011 | $2000
...
...
12/1/2011 | $ 1200
I set my Chart's properties as:
- PlotArea.XAxis.AxisLabel.DataLabelsColumn = Period
- Series collection with DataYColumn = Avg_Total
I keep getting the error message. Unable to cast object of type 'System.DataTime' to type 'System.String'. All I want is a line chart with X-Axis with date value and Y-Axis for the avg_total. I even upgraded to the latest version, Telerik Q1 2012, and is still getting the same issue.
Help??
I have a sql datasource with data as:
Period | Avg_Total
1/1/2011 | $1000
2/1/2011 | $1500
3/1/2011 | $2000
...
...
12/1/2011 | $ 1200
I set my Chart's properties as:
- PlotArea.XAxis.AxisLabel.DataLabelsColumn = Period
- Series collection with DataYColumn = Avg_Total
I keep getting the error message. Unable to cast object of type 'System.DataTime' to type 'System.String'. All I want is a line chart with X-Axis with date value and Y-Axis for the avg_total. I even upgraded to the latest version, Telerik Q1 2012, and is still getting the same issue.
Help??