LabelDistributionChart class

Utility for label distribution charts

Constructors

LabelDistributionChart()

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

calculateDistribution(Map<String, int> labelCounts, int total) → Map<String, double>
Calculate label distribution
calculateUsageRates(Map<String, int> labelCounts, int total) → Map<String, double>
Calculate label usage rates
getTopLabels(Map<String, int> labelCounts, int limit) → List<MapEntry<String, int>>
Get top labels