LabelLayoutStrategy class abstract
Base class for layout strategies.
A Layout strategy is a pluggable class which achieves that labels, (or more generally, some adjustable content) "fit" in a container.
Strategy defines a zero or more sequences of steps, each performing a specific code to achieve labels fit, for example:
- Skip every 2nd label
- Tilt all labels
- Decrease label font size
- Implementers
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isRotateLabelsReLayout → bool
-
Should return true if the layout strategy rotates labels during the
current reLayout.
This is needed by paint methods to rotate canvas.
no setter
- labelFontSize → double
-
no setter
- labelTiltMatrix → Matrix2
-
Rotation matrix corresponding to the angle by which labels are tilted.
no setter
- labelTiltRadians → double
-
In addition to the rotation matrices, hold on radians for canvas rotation.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- showEveryNthLabel → int
-
Always showing first label, and after, label on every nth dimension point.
Allows to "thin" labels to fit.
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onContainer(
AdjustableLabelsChartAreaContainer adjustableLabelsContainer) → void -
reLayout(
LayoutExpansion parentLayoutExpansion) → void - Core of the auto layout strategy.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited