By shweta jain - 4 Years Ago
|
Hello,
I want to show legend for multiple bar series (which is shown as in different color) like in attached snapshot. How can I show legend for bar series?
|
By Nevron Support - 4 Years Ago
|
Hi Shweta, You can position the legend using legend docking as shown in the following example: C# Examples \ All Examples \ Panels \ Legend \ Docking
As for the layout of the legend you need to set the legend expand mode to columns only (so that it grows horizontally): legend.Data.ExpandMode = LegendExpandMode.ColsOnly; You can also take a look at the following topics in the users guide: http://helpdotnetvision.nevron.com/#UsersGuide_Legend_Legend_Overview.html We hope this helps - let us know if you have any questions.
|
By Nevron Support - 4 Years Ago
|
One more thing - you can use: someLegend.SetPredefinedLegendStyle(PredefinedLegendStyle.Bottom); which will position the legend at the bottom and also switch the legend expand mode....
|