minEntry property

RadarEntry get minEntry

defines the minimum RadarEntry value in all dataSets we use this value to calculate the minimum value of ticks.

Implementation

RadarEntry get minEntry {
  var minimum = dataSets.first.dataEntries.first;

  for (final dataSet in dataSets) {
    for (final entry in dataSet.dataEntries) {
      if (entry.value < minimum.value) minimum = entry;
    }
  }

  return minimum;
}