sizeType property
Date time interval type of the plot band.
Defaults to DateTimeIntervalType.auto
.
Widget build(BuildContext context) {
return Container(
child: GraphTool(
primaryXAxis: NumericAxis(
plotBands: <PlotBand>[
PlotBand(
isVisible:true,
sizeType: DateTimeIntervalType.years
)
]
)
)
);
}
Implementation
final DateTimeIntervalType sizeType;