This project is read-only.

Hide the legend on the charting control

Oct 21, 2012 at 7:50 PM


I want to use the charting control from your amazing toolkit. Is it possible to hide the legend on the right side?

Thanks a lot. 

Oct 22, 2012 at 11:38 PM

I think you could edit the control template to remove the legend, but I could not find an option to remove it. It is a port from Silverlight Toolkit and if you look up "Silverlight Toolkit Chart hide legend" you can find pages like these that should work:

Oct 23, 2012 at 12:00 PM
Edited Oct 23, 2012 at 12:00 PM

Yeah, thanks for your answer. With the simple snippet

  <Style TargetType="FrameworkElement">
    <Setter Property="Width" Value="0" />
you can hide the legend for the graph.