getMaxEpoch method

  1. @override
int? getMaxEpoch()
override

Maximum epoch of this ChartData on the chart's X-Axis.

The chart uses it same as getMinEpoch to determine its rightmost scroll limit.

Implementation

@override
int? getMaxEpoch() =>
    input.isNotEmpty ? getEpochOf(input.last, input.length - 1) : null;