Class LegendAnnotation
A box containing symbol definitions e.g. meanings for colors in a graph. The 'Key' to the graph
public class LegendAnnotation : IAnnotation
- Inheritance
-
LegendAnnotation
- Implements
- Inherited Members
Constructors
- LegendAnnotation(Rect)
Creates a new empty legend at the given screen coordinates
Properties
- BeforeSeries
Returns false i.e. Lengends render after series
- Border
True to draw a solid border around the legend. Defaults to true. This border will be within the Bounds and so reduces the width/height available for text by 2
- Bounds
Defines the screen area available for the legend to render in
Methods
- AddEntry(GraphCellToRender, string)
Adds an entry into the legend. Duplicate entries are permissable
- Render(GraphView)
Draws the Legend and all entries into the area within Bounds