Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
60
XamlParseException With xamChart, VS2010, .Net 4.0
posted

Has anyone had any issues with getting the charts to work in Visual Studio 2010 going against .Net 4.0?

Im having a problem where i get the following error:
"Missing Key value on ChartParameter object".

I seem to have narrowed it down the the theme property. If I set the theme then I get this error, if I do not include the theme property then it renders.

Also worth nothing is that I can take the code below, put it into VS 2008 and it renders fine.

Here is the code for the chart that I am using. This came straight from the sample browser. Again Remove the Theme tag and it renders a very basic chart:

<igCA:XamChart  MaxHeight="500" MaxWidth="700" Theme="Neon" >
            <igCA:XamChart.Series>
                <igCA:Series Label="Series 1">
                    <igCA:Series.DataPoints>
                        <igCA:DataPoint Label="2001" Value="3"/>
                        <igCA:DataPoint Label="2002" Value="5"/>
                        <igCA:DataPoint Label="2003" Value="4"/>
                        <igCA:DataPoint Label="2004" Value="7"/>
                        <igCA:DataPoint Label="2005" Value="5"/>
                    </igCA:Series.DataPoints>
                </igCA:Series>
                <igCA:Series Label="Series 2">
                    <igCA:Series.DataPoints>
                        <igCA:DataPoint Label="2001" Value="5"/>
                        <igCA:DataPoint Label="2002" Value="2"/>
                        <igCA:DataPoint Label="2003" Value="7"/>
                        <igCA:DataPoint Label="2004" Value="2"/>
                        <igCA:DataPoint Label="2005" Value="6"/>
                    </igCA:Series.DataPoints>
                </igCA:Series>
            </igCA:XamChart.Series>
        </igCA:XamChart>

 

Any Ideas?

Parents Reply Children
No Data