BarDataSet<T extends PointChartValue> class

Inheritance

Constructors

BarDataSet({required List<T> data, String? legend, PdfColor? borderColor, double borderWidth = 1.5, PdfColor color = PdfColors.blue, bool? drawBorder, bool drawSurface = true, double surfaceOpacity = 1, double width = 10, double offset = 0, Axis axis = Axis.horizontal, PdfColor? pointColor, double pointSize = 3, bool drawPoints = false, BuildCallback? shape, Widget buildValue(Context context, T value)?, ValuePosition valuePosition = ValuePosition.auto})

Properties

axis Axis
final
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
drawBorder bool
final
drawPoints bool
finalinherited
drawSurface bool
final
hashCode int
The hash code for this object.
no setterinherited
legend String?
finalinherited
offset double
final
pointSize double
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shape BuildCallback?
finalinherited
surfaceOpacity double
final
valuePosition ValuePosition
finalinherited
width double
final

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
inherited
paintForeground(Context context) → void
inherited
toString() String
A string representation of this object.
inherited

Operators

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