Hi,
I am using XamChart with 2 series one Line and other Area.
<igChart:XamChart.Series>
<igChart:Series ChartType="Area" DataMapping="Value = ActiveNode; Label = TimeStamp"
DataSource="{Binding Path=ChartPointCollection, Mode=OneWay}" Stroke="GreenYellow"
Fill="GreenYellow" StrokeThickness="4" Label="Active Node"/>
<igChart:Series ChartType="Line" DataMapping="Value = AvailableNode; Label = TimeStamp; ToolTip=AvailableNode" DataSource="{Binding Path=ChartPointCollection, Mode=OneWay}"
StrokeThickness="2" Fill="DarkRed" Stroke="DarkRed" Label="Available Node"/>
</igChart:XamChart.Series>
Both series are bind to a ObservableCollection. Everything works fine and I am getting both Line and Area graph but also getting a Binding Error message with every point added to collection
System.Windows.Data Error: 39 : BindingExpression path error: 'AreaPoint1' property not found on 'object' ''AreaChartTemplate' (HashCode=4892154)'. BindingExpression:Path=AreaPoint1; DataItem='AreaChartTemplate' (HashCode=4892154); target element is 'PathFigure' (HashCode=44029393); target property is 'StartPoint' (type 'Point')
How to get rid of this error message?
Thanks,
Deep
I have reported this as a bug (bug #25267). If you want to inquire about the status of the bug please reply back on the forums or contact Developer Support at http://infragistics.com/gethelp at any time.
-Graham