RangeTickRendererSpec<D> class
Displays individual ticks and range ticks and with a shade for ranges. Sample ticks looks like:
| | | | | | (Individual tick) | (Individual tick) | |///////Range Label/////////|///////////Range Label///////////|
- Inheritance
-
- Object
- BaseRenderSpec<
D> - SmallTickRendererSpec<
D> - RangeTickRendererSpec
- Annotations
-
- @immutable
Constructors
- RangeTickRendererSpec({TextStyleSpec? labelStyle, LineStyleSpec? lineStyle, TickLabelAnchor? labelAnchor, TickLabelJustification? labelJustification, int? labelOffsetFromAxisPx, int? labelCollisionOffsetFromAxisPx, int? labelOffsetFromTickPx, int? labelCollisionOffsetFromTickPx, int? rangeShadeHeightPx, int? rangeShadeOffsetFromAxisPx, LineStyleSpec? rangeShadeStyle, int? rangeTickLengthPx, int? rangeTickOffsetPx, TextStyleSpec? rangeLabelStyle, int? tickLengthPx, int? minimumPaddingBetweenLabelsPx, int? labelRotation, int? labelCollisionRotation})
Properties
- axisLineStyle → LineStyleSpec?
-
finalinherited
- defaultLabelStyleSpec → TextStyleSpec
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- labelAnchor → TickLabelAnchor?
-
finalinherited
- labelCollisionOffsetFromAxisPx → int?
-
Distance from the axis line in px when a collision between ticks has
occurred.
finalinherited
- labelCollisionOffsetFromTickPx → int?
-
Absolute distance from the tick to the text when a collision between ticks
has occurred.
finalinherited
- labelCollisionRotation → int?
-
Angle of rotation for tick labels, in degrees when a collision between
ticks has occurred.
finalinherited
- labelJustification → TickLabelJustification?
-
finalinherited
- labelOffsetFromAxisPx → int?
-
Distance from the axis line in px.
finalinherited
- labelOffsetFromTickPx → int?
-
Absolute distance from the tick to the text if using start/end
finalinherited
- labelRotation → int?
-
Angle of rotation for tick labels, in degrees. When set to a non-zero
value, all labels drawn for this axis will be rotated.
finalinherited
- labelStyle → TextStyleSpec?
-
finalinherited
- lineStyle → LineStyleSpec?
-
finalinherited
- minimumPaddingBetweenLabelsPx → int?
-
finalinherited
- rangeLabelStyle → TextStyleSpec?
-
final
- rangeShadeHeightPx → int?
-
final
- rangeShadeOffsetFromAxisPx → int?
-
final
- rangeShadeStyle → LineStyleSpec?
-
final
- rangeTickLengthPx → int?
-
final
- rangeTickOffsetPx → int?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- tickLengthPx → int?
-
finalinherited
Methods
-
createDrawStrategy(
ChartContext context, GraphicsFactory graphicsFactory) → TickDrawStrategy< D> -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Constants
- defaultLabelOffsetFromAxis → const int
- defaultLabelOffsetFromTick → const int