1
votes

Whenever I use a chart with a Line series of column series (any series other than Pie Series), I have this error:

Could not find any resources appropriate for the specified culture or the neutral culture. Make sure WinRTXamlToolkit.Controls.DataVisualization.Properties.Resources.resources was correctly embedded or linked into assembly "WinRTXamlToolkit.Controls.DataVisualization" at compile time, or that all the satellite assemblies required are loadable and fully signed

what can be wrong here ?

here's the XAML:

<charting:Chart Name="columnChart"  Grid.Row="1"  Width="400" Height="400"   >
                            <charting:Chart.Series>
                                <charting:ColumnSeries  ItemsSource="{Binding items}"
                             IndependentValueBinding="{Binding Name}"
                        DependentValueBinding="{Binding Value}"
                        IsSelectionEnabled="True">

                                </charting:ColumnSeries>
                            </charting:Chart.Series>
                        </charting:Chart>
2
Seems like a bug in NuGet packaging. Are you using it with NuGet?Filip Skakun
Yes, I added reference to the toolkit with NuGet, is there any workaround ?Mina Wissa
You can simply download the source code and add the project to your solution. I'll see if I can find a moment tonight to look into fixing the NuGet package, but for now - the workaround should work perfectly.Filip Skakun
I updated the toolkit on NuGet and CodePlex but I don't think I changed anything related to your issue. I tested the NuGet package and it seemed to work fine. Could you share a sample project? Also - are you using your Windows with non-English-US locale? I never had a chance to test it with different locales and there is no localization code that I am aware of. Perhaps I do miss a default locale setting somewhere in the project.Filip Skakun
I removed the references and added them again with NuGet, the error disappeared, but can't navigate to the page, it throws some exception, I updated the question with the sourceMina Wissa

2 Answers

1
votes

I had the same problem. Adding the source to my own solution did not help by itself. I did manage to fix it by changing the Build Action of the resources file to Embedded Resource.

1
votes

OK removing the references and adding again using NuGet solved the initial problem, the solution to the Column Chart in this link WinRT Xaml Toolkit Column Series Error?