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
400
Binding Error 'AreaPoint1' property not found
posted

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