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
40
StackedFragmentSeries Title
posted

Hello,

I have a Problem with the StackedFragmentSeries. I want to bind the title to a string in the ViewModel:

<ig:StackedColumnSeries.Series>
     <ig:StackedFragmentSeries ValueMemberPath="Values" Title="{Binding SeriesTitleValues}"/>
     <ig:StackedFragmentSeries ValueMemberPath="Errors" />
</ig:StackedColumnSeries.Series>

Unfortunatly, this does not work. It will still display "Series Title" in the legend and I get the error:

System.Windows.Data Error: 2 : Cannot find governing FrameworkElement or FrameworkContentElement for target element. BindingExpression:Path=SeriesTitleValues; DataItem=null; target element is 'StackedFragmentSeries' (HashCode=32244734); target property is 'Title' (type 'Object')

Is there a way to solve this problem? I have attached the example.

Thanks,

Michael

StackedColumnSeriesHelp.zip