Jump to content
Software FX Community

Problem with the legend box visibility


beltrams

Recommended Posts

Dear Forum

I can make the legend box visibility to work, I think it is because of the legend box datacontext or something.

 In my view model I have a property

public System.Windows.Visibility LegendVisibility

{

get { return System.Windows.Visibility.Collapsed; }}

and I have this binding:

<cfx:Chart.LegendBox>

<cfx:LegendBox Visibility="{Binding Path=LegendVisibility}"></cfx:LegendBox>

</cfx:Chart.LegendBox>

The binging fils because LegendVisibility is not found but I cannot understand why.

I have attached a demo app.

Thanks for any help.

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...