ExtraLinesData class
Draws some straight horizontal or vertical lines in the LineChart
Constructors
-
ExtraLinesData({List<
HorizontalLine> horizontalLines = const [], List<VerticalLine> verticalLines = const [], bool extraLinesOnTop = true}) -
LineChart draws some straight horizontal or vertical lines,
you should set LineChartData.extraLinesData.
Draws horizontal lines using horizontalLines,
and vertical lines using verticalLines.
const
Properties
- extraLinesOnTop → bool
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
horizontalLines
→ List<
HorizontalLine> -
final
-
props
→ List<
Object?> -
Used for equality check, see
EquatableMixin
.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stringify → bool?
-
If set to
true
, the toString method will be overridden to output this instance's props.no setterinherited -
verticalLines
→ List<
VerticalLine> -
final
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
Static Methods
-
lerp(
ExtraLinesData a, ExtraLinesData b, double t) → ExtraLinesData -
Lerps a ExtraLinesData based on
t
value, check Tween.lerp.