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

GroupingSettings.GroupDescriptors error in designer

3 Answers 67 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Cedric
Top achievements
Rank 1
Cedric asked on 11 Oct 2010, 09:29 PM

Hi, when i use this piece of code, i ve got an error "Error 1 TestTelerik The property 'GroupingSettings.GroupDescriptors' cannot be set because it does not have an accessible set accessor. Line 62 Position 34. D:\VStudio\TestTelerik\TestTelerik\MainWindow.xaml" in the VS 2010 designer 

the code:

01.<telerik:RadChart  DockPanel.Dock="Top" x:Name="radChart">
02.   <telerik:RadChart.SeriesMappings>
03.     <charting:SeriesMapping>
04.       <charting:SeriesMapping.SeriesDefinition>
05.         <charting:BarSeriesDefinition />
06.       </charting:SeriesMapping.SeriesDefinition>
07.       <charting:SeriesMapping.GroupingSettings>
08.         <charting:GroupingSettings x:Name="GroupingSetting" ShouldCreateSeriesForLastGroup="True">
09.           <charting:GroupingSettings.GroupDescriptors>
10.             <charting:ChartGroupDescriptor Member="Level"/>
11.             <charting:ChartGroupDescriptor Member="Name"/>
12.           </charting:GroupingSettings.GroupDescriptors>
13.         </charting:GroupingSettings>
14.       </charting:SeriesMapping.GroupingSettings>
15.     <charting:SeriesMapping.ItemMappings>
16.       <charting:ItemMapping FieldName="Status" DataPointMember="YValue" />
17.     </charting:SeriesMapping.ItemMappings>
18.   </charting:SeriesMapping>
19. </telerik:RadChart.SeriesMappings>
20.</telerik:RadChart>

Any clue ?

Thx in advance

3 Answers, 1 is accepted

Sort by
0
Cedric
Top achievements
Rank 1
answered on 13 Oct 2010, 10:40 AM
Any help ?
0
Velin
Telerik team
answered on 14 Oct 2010, 04:13 PM
Hello Cedric,

It seems that the SeriesMapping.GroupingSettings.GroupDescriptors property setter is private and this causes this issue in design time. The problem has been logged and you can expect a fix in one of the upcoming internal builds.

Please, accept our apologies for this inconvenience. 

Regards,
Ryan
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
0
Cedric
Top achievements
Rank 1
answered on 15 Oct 2010, 10:12 AM

Thanks for the information.

Tags
Chart
Asked by
Cedric
Top achievements
Rank 1
Answers by
Cedric
Top achievements
Rank 1
Velin
Telerik team
Share this question
or