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
130
XamDataChart LegendItem Visibility
posted

I have a XamDataChart in a ContentPane and a Legend in another ContentPane. When the chart is visible (and on startup) the LegendItems show, when the chart is not visible they do not show. I have a LegendItemTemplate to override the Series.Visibility binding but I am unable to make the LegendItems visible when the chart is not.

I used Snoop to identify that while the Visibility property on the ContentControl of each LegendItem is set to Visible the IsVisible readonly property is set to false. The Legend is still visible but the LegendItems are not.