FixedAxis<T extends num> constructor
FixedAxis<T extends num> (
- 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,
Implementation
FixedAxis(
this.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,
}) : assert(_isSortedAscending(values)),
super(
format: format,
textStyle: textStyle,
margin: margin,
marginStart: marginStart,
marginEnd: marginEnd,
color: color,
width: width,
divisions: divisions,
divisionsWidth: divisionsWidth,
divisionsColor: divisionsColor,
divisionsDashed: divisionsDashed,
ticks: ticks,
axisTick: axisTick,
angle: angle,
buildLabel: buildLabel,
);