GridAxis constructor
GridAxis({
- 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
GridAxis({
GridAxisFormat? format,
this.textStyle,
this.margin,
double? marginStart,
double? marginEnd,
PdfColor? color,
double? width,
bool? divisions,
double? divisionsWidth,
PdfColor? divisionsColor,
bool? divisionsDashed,
bool? ticks,
bool? axisTick,
this.angle = 0,
this.buildLabel,
}) : format = format ?? _defaultFormat,
color = color ?? PdfColors.black,
width = width ?? 1,
divisions = divisions ?? false,
divisionsWidth = divisionsWidth ?? .5,
divisionsColor = divisionsColor ?? PdfColors.grey,
_marginStart = marginStart ?? 0,
_marginEnd = marginEnd ?? 0,
ticks = ticks ?? false,
_axisTick = axisTick,
divisionsDashed = divisionsDashed ?? false,
direction = Axis.horizontal;