DomainAxis class
Constructors
- DomainAxis({bool showLine = true, LineStyle lineStyle = const LineStyle(), LabelStyle labelStyle = const LabelStyle(), int? gapAxisToLabel = 5, LabelAnchor labelAnchor = LabelAnchor.centered, int tickLength = 3, OrdinalViewport? ordinalViewport, NumericViewport? numericViewport, TimeViewport? timeViewport, String tickLabelFormatterN(num? domain)?, String tickLabelFormatterT(DateTime domain)?, int minimumPaddingBetweenLabels = 0, int labelRotation = 0, NumericTickProvider? numericTickProvider, bool noRenderSpec = false, bool useGridLine = false, LineStyle gridLineStyle = const LineStyle(), LineStyle tickLineStyle = const LineStyle()})
-
const
Properties
- gapAxisToLabel → int?
-
default: 5
final
- gridLineStyle → LineStyle
-
styling of lines perpendicular to the axis line
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- labelAnchor → LabelAnchor
-
label position based on tick axis
default:LabelAnchor.centered
final - labelRotation → int
-
starting point at center right.
final
- labelStyle → LabelStyle
-
styling for domain label
final
- lineStyle → LineStyle
-
styling for domain line
final
- minimumPaddingBetweenLabels → int
-
can be use as space beetween label.
final
- noRenderSpec → bool
-
disable label and tick axis
finalinherited
- numericTickProvider → NumericTickProvider?
-
manage tick
final
- numericViewport → NumericViewport?
-
set limit view for domain axis
final
- ordinalViewport → OrdinalViewport?
-
set limit view for domain axis
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- showLine → bool
-
show domain line
default: truefinal - tickLabelFormatterN → String Function(num? domain)?
-
tick label format
final
- tickLabelFormatterT → String Function(DateTime domain)?
-
tick label format for time series
final
- tickLength → int
-
tick axis length
default: 3final - tickLineStyle → LineStyle
-
styling of tick line on axis
finalinherited
- timeViewport → TimeViewport?
-
set limit view for domain axis
final
- useGridLine → bool
-
default: false
finalinherited
Methods
-
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.
inherited