PercentInjectorTotalType enum

Describes the type of data total that will be calculated by PercentInjector.

domain calculates the percentage of each datum's measure value out of the total measure values for all data that share the same domain value.

domainBySeriesCategory calculates the percentage of each datum's measure value out of the total measure values for all data that share the same domain value and seriesCategory value. This should be enabled if the data will be rendered by a series renderer that groups data by both domain and series category, such as the "grouped stacked" mode of BarRenderer.

series calculates the percentage of each datum's measure value out of the total measure values for all data in that datum's series.

Inheritance
Available extensions

Values

domain → const PercentInjectorTotalType
domainBySeriesCategory → const PercentInjectorTotalType
series → const PercentInjectorTotalType

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
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

Constants

values → const List<PercentInjectorTotalType>
A constant List of the values in this enum, in order of their declaration.