We are using the semibindable library v 7, but we are getting some errors in the log when disposing the chart.
I have tried modifying the sampe ExamplePointLineSeriesXY to bind the title of the x axis to a viewmodel string.
When the m_chart.Dispose() is called (when switching to a different window), I get this error in the debug log:
Code: Select all
System.Windows.Data Error: 2 : Cannot find governing FrameworkElement or FrameworkContentElement for target element. BindingExpression:Path=Title; DataItem=null; target element is 'AxisXTitle' (HashCode=53412038); target property is 'Text' (type 'String')
The thread 0x3514 has exited with code 259 (0x103).
In our real application, we have many, many lines of this, since we have many bindings. Is there an easy fix?
We are a bit new at wpf, so it might be something really stupid we are missing.
Regards, Niels
BTW, it is a bit surprising that your discussion forum don't allow attaching .xaml and .cs files