Chart Legend
BCGControlBar Pro (MFC)
BCGSuite (MFC)
BCGControlBar for .NET
Chart control supports 2 legend types: simple (built-in) or advanced (external).
Legend formatting includes the following customizable elements:
- The legend position and visibility:
- Hidden legend
- A legend takes left, right, top, top-right, and bottom positions.
- A legend can overlap the plot area or take place outside of it.
- Custom legend position
- Legend appearance, which includes outline and fill colors, border width and stroke style, text color, font family and size for legend entries.
- The text appearance for each legend entry can be formatted separately.
A legend can display individual data point values:
- A series can specify what content should be included in a legend entry (it's a series-wide option).
- It's possible to specify a custom string to be displayed in the legend entry for each data point.
The advanced chart legend has the following features:
- Ability to show legend entries from multiple charts.
- Custom entries support.
- Custom legend title.
- Custom legend cell format (including colors and text label formats).
- Custom columns.
- Vertical and horizontal layouts.
- Automatic scrolling.
- Print and print preview support.
- Mouse event support allows you to create interactive legend entries (such as buttons or checkboxes).
- You can display the legend in any window, be it a visual container, docking pane, or any other.
Simple Chart Legend:
Advanced Chart Legend: