FixedAxis<T extends num> class

A chart axis with fixed values, whose labels have Bangla shaped correctly.

Mirrors pw.FixedAxis. It supplies a buildLabel that shapes Bangla; pass your own to override it, exactly as with pw.FixedAxis.

Inheritance

Constructors

FixedAxis(List<T> values, {GridAxisFormat? format, TextStyle? textStyle, double? margin, double? marginStart, double? marginEnd, PdfColor? color, double? width, bool? divisions, double? divisionsWidth, PdfColor? divisionsColor, bool? divisionsDashed, bool? ticks, bool? axisTick, double angle = 0, GridAxisBuildLabel? buildLabel})
Creates a FixedAxis.

Properties

angle double
finalinherited
axisPosition double
getter/setter pairinherited
box ↔ PdfRect?
The bounding box of this widget, calculated at layout time
getter/setter pairinherited
buildLabel GridAxisBuildLabel?
finalinherited
color → PdfColor
finalinherited
crossAxisPosition double
getter/setter pairinherited
direction Axis
getter/setter pairinherited
divisions bool
finalinherited
divisionsColor → PdfColor
finalinherited
divisionsDashed bool
finalinherited
divisionsWidth double
finalinherited
format GridAxisFormat
finalinherited
hashCode int
The hash code for this object.
no setterinherited
margin double?
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
textStyle TextStyle?
finalinherited
ticks bool
finalinherited
values List<T>
finalinherited
width double
finalinherited

Methods

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
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
inherited
paintBackground(Context context) → void
inherited
toChart(num? input) double
inherited
toString() String
A string representation of this object.
inherited
transfer(num input) double
inherited

Operators

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

Static Methods

fromStrings(List<String> values, {TextStyle? textStyle, double? margin, double? marginStart, double? marginEnd, PdfColor? color, double? width, bool? divisions, double? divisionsWidth, PdfColor? divisionsColor, bool? divisionsDashed, bool? ticks, bool? axisTick, double angle = 0, GridAxisBuildLabel? buildLabel}) FixedAxis<int>
Builds an axis from values, mirroring pw.FixedAxis.fromStrings.