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 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.


I need a legend that don’t show particular serieses. I used the following example:

<sci_chart:SciChartSurface Name="sciChart" >

                <sci_chart:LegendModifier x:Name="legendModifier" ShowLegend="False" Orientation="Vertical" Background="#FFA6A7AC"
                                      ShowVisibilityCheckboxes="False"  GetLegendDataFor="AllVisibleSeries"
                                      HorizontalAlignment="Right" VerticalAlignment="Top" Margin="10" FontSize="10" />

                <local:SimpleLegendModifier x:Name="simpleLegendModifier" HorizontalAlignment="Right" Margin="10"/>



    <sci_chart:SciChartLegend Name="chartLegend"  FontSize="10"
                    Margin="10" HorizontalAlignment="Right"
                    LegendData="{Binding ElementName=simpleLegendModifier, Path=LegendData}"/>

I want chartLegend to be inside the chart, but I can’t find how to do it…
The legend modifier have the placement property, but the SciChartLegend don’t. Is there a way to do it?

  • You must to post comments

Hi there,

You should set the LegendTemplate property on the LegendModifier instead. For more details, please see our documentation article about LegendModifier.

Hope this helps!

Best regards,

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.