Hi,
I am using a xamDataChart and a SplineSeries. But unfortunately I am not able to bind my data with that.Could you please see whether it will work with code which I have written?
Thanks
<Style TargetType="{x:Type ig:SplineSeries}" BasedOn="{StaticResource {x:Type ig:SplineSeries}}"> <Setter Property="ItemsSource" Value="{Binding Items}"/> <Setter Property="ValueMemberPath" Value="SCurveValue" /> <Setter Property="XAxis" Value="{Binding ElementName=XAxis}"/> <Setter Property="YAxis" Value="{Binding ElementName=YAxis}"/> </Style>
<ig:NumericYAxis x:Name="YAxis" MinimumValue="21" MaximumValue="29" ></ig:NumericYAxis>
<Style x:Name="XAxis" TargetType="{x:Type ig:CategoryXAxis}" BasedOn="{StaticResource {x:Type ig:CategoryXAxis}}"> <Setter Property="ItemsSource" Value="{Binding Path=AllSeries[0].Items, Mode=OneWay}" /> <Setter Property="Label" Value="{}" /> </Style>
Hi Akhil,
I answered your question on the following page.
https://es.infragistics.com/community/forums/f/ultimate-ui-for-wpf/121405/binding-issue-with-spline-series-in-xaml
Please confirmed the page.