LegendRenderer class
Constructors
- LegendRenderer(ViewPortHandler? viewPortHandler, Legend? legend)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- legend → Legend?
-
no setter
- legendFormPaint ↔ Paint?
-
getter/setter pair
- legendLabelPaint ↔ TextPainter?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- viewPortHandler ↔ ViewPortHandler?
-
getter/setter pairinherited
Methods
-
computeLegend(
ChartData< IDataSet< ? data) → voidEntry> > - Prepares the legend and calculates all needed forms, labels and colors.
-
drawForm(
Canvas c, double? x, double y, LegendEntry entry, Legend? legend) → void - Draws the Legend-form at the given position with the color at the given index.
-
drawLabel(
Canvas c, double x, double y, String? label) → void -
getLabelPainter(
) → TextPainter -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
renderLegend(
Canvas c) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited