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"
Brush="Black"
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..?
I'm using Infragistics NetAdvantage 2010.2 Silverlight DV
InfragisticsSL4.Controls.Charts.XamDataChart.v10.2.dll
Thanks & Regards,
Sandip
Hi,
Could you please either provide the stack trace from that exception or a sample project that replicates the issue. There are a bit too many moving parts to make any conclusions from your description alone.
Thanks,
Graham