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

Pie3DSeriesDefinition throws System.NotSupportedException

1 Answer 57 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Maulik Patel
Top achievements
Rank 1
Maulik Patel asked on 27 Sep 2010, 01:03 PM
Hi,

We have started facing an error of "Method Not Supported" after we upgraded to version of Telerik.Windows.Controls.Charting.dll - 2010.2.917.1040 (Runtime Version - v2.0.50727). I am not sure what we are missing. Here is the more information on error and code. Please reply if anyone has faced such error.

Exception Details:
Line: 56
Error: Unhandled Error in Silverlight Application
Code: 4004   
Category: ManagedRuntimeError      
Message: System.NotSupportedException: Specified method is not supported.
   at Telerik.Windows.Controls.Charting.RadialSeries3DDefinition.get_LabelOffset()  

Code:
private void SetMappings(RadChart chart)
{
    SeriesMapping seriesMapping = new SeriesMapping();
    seriesMapping.SeriesDefinition = new Pie3DSeriesDefinition();            
      
    ItemMapping itemMapping = new ItemMapping();
    itemMapping.DataPointMember = DataPointMember.YValue;
    itemMapping.FieldName = "Column1";            
    seriesMapping.ItemMappings.Add(itemMapping);
    itemMapping = new ItemMapping();
    itemMapping.DataPointMember = DataPointMember.LegendLabel;
    itemMapping.FieldName = "Country";            
    seriesMapping.ItemMappings.Add(itemMapping);
    chart.SeriesMappings.Add(seriesMapping);
}


Regards,
Maulik

1 Answer, 1 is accepted

Sort by
0
Giuseppe
Telerik team
answered on 27 Sep 2010, 01:51 PM
Hello Maulik,

Indeed we must confirm that this problem was introduced with one of the previous weekly internal builds. However, our developers have already managed to address the issue accordingly and the fix will be included in the official service pack release that is due later today.

Hope this helps.


Sincerely yours,
Freddie
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Chart
Asked by
Maulik Patel
Top achievements
Rank 1
Answers by
Giuseppe
Telerik team
Share this question
or