LineDataSet<T extends PointChartValue> class

Inheritance

Constructors

LineDataSet({required List<T> data, String? legend, PdfColor? pointColor, double pointSize = 3, PdfColor color = PdfColors.blue, double lineWidth = 2, bool drawLine = true, PdfColor? lineColor, bool drawPoints = true, BuildCallback? shape, Widget buildValue(Context context, T value)?, ValuePosition valuePosition = ValuePosition.auto, bool drawSurface = false, double surfaceOpacity = .2, PdfColor? surfaceColor, bool isCurved = false, double smoothness = 0.35})

Properties

borderColor PdfColor?
finalinherited
borderWidth double
finalinherited
box PdfRect?
The bounding box of this widget, calculated at layout time
getter/setter pairinherited
buildValue → (Widget Function(Context context, T value)?)
finalinherited
color PdfColor?
finalinherited
data List<T>
finalinherited
delta double
no setterinherited
drawLine bool
final
drawPoints bool
finalinherited
drawSurface bool
final
hashCode int
The hash code for this object.
no setterinherited
isCurved bool
final
legend String?
finalinherited
lineColor PdfColor?
final
lineWidth double
final
pointSize double
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shape BuildCallback?
finalinherited
smoothness double
final
surfaceColor PdfColor?
final
surfaceOpacity double
final
valuePosition ValuePosition
finalinherited

Methods

automaticValuePosition(PdfPoint point, PdfPoint size, PdfPoint? previous, PdfPoint? next) ValuePosition
override
debugPaint(Context context) → void
inherited
layout(Context context, BoxConstraints constraints, {bool parentUsesSize = false}) → void
First widget pass to calculate the children layout and bounding box
override
legendShape(Context context) Widget
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
paint(Context context) → void
Draw itself and its children, according to the calculated box.offset
override
paintBackground(Context context) → void
override
paintForeground(Context context) → void
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited