NmShareSeries class

One stacked-bar series (shares in percent per category id).

Annotations

Constructors

NmShareSeries({required String label, required Map<String, double> shares, String? totalLabel})
Creates an NmShareSeries.
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
label → String
Series name ("Competitor", "You").
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
shares → Map<String, double>
Category id → share in percent.
final
totalLabel → String?
e.g. "≈ 14 200 visits/mo".
final

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