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
295
DataChart Error with RIA Services
posted

Guys,

I'm getting following error when I'm trying to Implement xamDataChart with RIA Services

Here is my xaml code

<Grid x:Name="LayoutRoot" Background="White">

        <riaControls:DomainDataSource AutoLoad="True" d:DesignData="{d:DesignInstance my:vwTranDtl, CreateList=true}" Height="0" LoadedData="vwTranDtlDomainDataSource_LoadedData" Name="vwTranDtlDomainDataSource" QueryName="GetVwTranDtlsQuery" Width="0">

            <riaControls:DomainDataSource.DomainContext>

                <my:CSFContext />

            </riaControls:DomainDataSource.DomainContext>

        </riaControls:DomainDataSource>

        <igChart:XamDataChart

                            DataContext="{Binding ElementName=vwTranDtlDomainDataSource, Path=Data}"

                            Name="xamDataChart1">

            <igChart:XamDataChart.Axes>

                <igChart:CategoryDateTimeXAxis x:Name="XAxis1" VerticalAlignment="Top"

                                               ItemsSource="{Binding}" DateTimeMemberPath="TransactionDate"

                                               Label="{}{Date:d}">

                    

                </igChart:CategoryDateTimeXAxis>

            </igChart:XamDataChart.Axes>

            <igChart:XamDataChart.Series>

                <igChart:LineSeries

                                    Title="277"

                                    Legend="{Binding ElementName=Legend1}"

                                    XAxis="{Binding ElementName=XAxis1}"

                                    YAxis="{Binding ElementName=YAxis1}"

                                    MarkerType="None"

                                    Brush="Aqua"

                                    BorderThickness="2"

                                    ItemsSource="{Binding}"

                                    ValueMemberPath="C277"/>

                <igChart:LineSeries Title="278"

                                    Legend="{Binding ElementName=Legend1}"

                                    XAxis="{Binding ElementName=XAxis1}"

                                    YAxis="{Binding ElementName=YAxis1}"

                                    MarkerType="None"

                                    Brush="Black"

                                    ItemsSource="{Binding}"

                                    ValueMemberPath="C278"/>

            </igChart:XamDataChart.Series>

        </igChart:XamDataChart>

    </Grid>

When I'm executing this I'm getting error as follows

I'm using following references to my silverlight project.

InfragisticsSL4.Controls.Charts.XamDataChart.v10.2

InfragisticsSL4.DataVisualization.v10.2

InfragisticsSL4.v10.2

Silverlight Toolkit Common Controls.Toolkit

Please let me know what's wrong with this..?

 

Parents Reply Children
No Data