This is a migrated thread and some comments may be shown as answers.

'SelfDrawingSeries' TargetType does not match type of element 'Line'.

1 Answer 90 Views
Chart
This is a migrated thread and some comments may be shown as answers.
David
Top achievements
Rank 1
David asked on 10 Nov 2009, 04:30 PM
I am trying to change the chart type used in the Grouping and Aggregation demo from a Bar to a Line and recieve the following error. 'SelfDrawingSeries' TargetType does not match type of element 'Line' when I try to run it.

The only change I have made to the example code is on this line:
mapping1.SeriesDefinition = new BarSeriesDefinition(); 
 
Changed to 
 
mapping1.SeriesDefinition = new LineSeriesDefinition(); 

This also happens with the SplineSeries as well.

Am I missing something or is this a bug?

Thanks

Edit: I should have mentioned I am using the 10/23 Beta 2 build

1 Answer, 1 is accepted

Sort by
0
David
Top achievements
Rank 1
answered on 11 Nov 2009, 05:03 AM
Issue appears to be resolved using the 1109 build. Thanks.
Tags
Chart
Asked by
David
Top achievements
Rank 1
Answers by
David
Top achievements
Rank 1
Share this question
or