I am creating a graph for 10 data series using Scichart, with the most optimal legend placement for the graph being “Top” with Horizontal Orientation as shown in the code below. I would like to keep the spacing compact so all the data series can be visible without the need for the scrollbar, however because of the checkboxes for selecting each series being enabled I cannot compress the spaces to make all the data series visible. I did try using a custom legend with the typical binding but to no avail. I have attached an image of the current legend as well.
<s:LegendModifier Name="legendModifier" Margin="1" Width="1" ShowLegend="True" Orientation="Horizontal"
HorizontalAlignment="Left" VerticalAlignment="Top"
LegendPlacement="Top" ScrollViewer.HorizontalScrollBarVisibility="Auto"
Visibility="Visible"/>
Is it possible to format the legend so as to keep all the series names visible while maintaining the checkboxes for displaying or hiding individual data series?
- Gil Owu asked 1 month ago
- You must login to post comments
Hi Gil,
Thanks for your inquiry.
You can set ShowVisibilityCheckboxes property for the LegendModifier to False to hide them.
Hope this helps.
With best regards,
Lex
SciChart Technical Support Engineer
- Lex S. answered 1 month ago
- You must login to post comments
Please login first to submit.