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

[Solved] Win8 RT 'Application is suspending' when using ChartControl

1 Answer 81 Views
Chart for XAML
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Marek
Top achievements
Rank 1
Marek asked on 11 Dec 2012, 02:41 PM

Dear Telerik,

I have a seriouse problem to get the ChartControl running on an Win8 RT (Surface) device. On a x86/x64 Win8 machine, the ChartControl work without any problems. But when i deploy the app on a surface device (create an appx package for ARM), the app failed everytime i open a view where the ChartControl is used. (I only can see that the app is suspending)

I define a strategy:

<Model:PieLabelStrategy x:Key="Strategy">
           <Model:PieLabelStrategy.Binding>
               <telerik:PropertyNameDataPointBinding PropertyName="Value.Value"/>
           </Model:PieLabelStrategy.Binding>
</Model:PieLabelStrategy>

And the Chart itself

<telerik:RadPieChart Grid.Row="0" Palette="{StaticResource DefaultChartPalette}"  >
      <telerik:PieSeries ItemsSource="{Binding ChartDatas}" RadiusFactor="0.65">
                    <telerik:PieSeries.ValueBinding>
                          <telerik:PropertyNameDataPointBinding PropertyName="Value.Value"></telerik:PropertyNameDataPointBinding>
                                   </telerik:PieSeries.ValueBinding>
                                   <telerik:PieSeries.LabelDefinitions>
 
                                       <telerik:ChartSeriesLabelDefinition Margin="-10" Strategy="{StaticResource Strategy}">
 
                                       </telerik:ChartSeriesLabelDefinition>
                                   </telerik:PieSeries.LabelDefinitions>
                               </telerik:PieSeries>
                           </telerik:RadPieChart>

Are there any known problems with the ChartControls and Win8 RT?

Any sugguestions to solve this problem would be nice.

UPDATE:
With remote debugging i get the exception "The type 'PaletteInitializer' was not found"

UPDATE2:
Also the DateTimePicker throw "The type 'PaletteInitializer' was not found" on in instantiation

Best regards,
Marek

1 Answer, 1 is accepted

Sort by
0
Ivaylo Gergov
Telerik team
answered on 13 Dec 2012, 09:03 AM
Hello Marek,

Thank you for using our RadControls for Windows 8!

I tried to reproduce the issue but with no result - everything is working as expected in our side. The purpose of using PaletteInitializer is only to resolve our predefined brushes. I have prepared you a sample project using the current logic which I have tested on a Surface and it is working properly. Please, find the attached file. Can you check if it is working on your side too, and if it is - can you modify it in order to reproduce the described issue?

I am looking forward to your reply.

 

Greetings,
Ivaylo Gergov
the Telerik team
Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
Tags
Chart for XAML
Asked by
Marek
Top achievements
Rank 1
Answers by
Ivaylo Gergov
Telerik team
Share this question
or