SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and now iOS Charting & Android Chart Components

Welcome to the SciChart Community Forums!

Please use the forums below to ask questions about SciChart. Take a moment to read our Question asking guidelines on how to ask a good question and our support policy. We also have a tag=SciChart on Stackoverflow.com where you can earn rep for your questions!

Please note: SciChart team will only answer questions from customers with active support subscriptions. Expired support questions will be ignored. If your support status shows incorrectly, contact us and we will be glad to help.

1
0

Is there a way in Sci-Chart to not have the legend inside the chart(plot) but rather have the legend outside as to not to interfere with the plots/charts?

  • You must to post comments
0
0

Yes, you can do pretty much anything with the legend.

Please see WPF Chart Legend Documentation

Alternatively – Binding LegendModifier.LegendData to SciChartLegend

You can alternatively bind LegendModifier.LegendData to a SciChartLegend and place anywhere in your application. You can also bind to an LegendModifier.LegendData to an ItemsControl.ItemsSource and template it as you wish.

Let me know if this helps,

Best regards,
Andrew

  • Samir Shah
    Hi Andrew,Looking at the WPF Chart documentation I see you can see the following:What I want is the LegendPlacement to be outside. First, should it be set LegendPlacement=”Outside”. Second, in my copy of Sci-Chart I do not have this property? What can I do instead? Thank you.
  • You must to post comments
0
0

Hi Andrew,

Looking at the WPF Chart documentation I see you can see the following:

<s:ModifierGroup>                   
         <s:LegendModifier ShowLegend="True" Orientation="Horizontal" Margin="10"
                           LegendPlacement="Inside" GetLegendDataFor="AllSeries"
                       ShowVisibilityCheckboxes="True"/>        
 </s:ModifierGroup>

What I want is the LegendPlacement to be outside. First, should it be set LegendPlacement=”Outside”. Second, in my copy of Sci-Chart I do not have this property? What can I do instead? Thank you.

  • Andrew
    Do what I mentioned “bind LegendModifier.LegendData to a SciChartLegend and place anywhere in your application”. Scroll down to the part in https://www.scichart.com/documentation/v4.x/LegendModifier.html “Alternatively – Binding LegendModifier.LegendData to SciChartLegend”.PS: Please mention what version of scichart you are using when requesting support.
  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.