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,
Creates a FixedAxis.
Implementation
// ignore: use_super_parameters -- `format` is also read by _shapedLabel.
FixedAxis(
super.values, {
pw.GridAxisFormat? format,
super.textStyle,
super.margin,
super.marginStart,
super.marginEnd,
super.color,
super.width,
super.divisions,
super.divisionsWidth,
super.divisionsColor,
super.divisionsDashed,
super.ticks,
super.axisTick,
super.angle,
pw.GridAxisBuildLabel? buildLabel,
}) : super(
format: format,
buildLabel: buildLabel ?? _shapedLabel(format, textStyle),
);