ScorecardChartSpec class

A scorecard chart.

Scorecard charts are used to highlight key performance indicators, known as KPIs, on the spreadsheet. A scorecard chart can represent things like total sales, average cost, or a top selling item. You can specify a single data value, or aggregate over a range of data. Percentage or absolute difference from a baseline value can be highlighted, like changes over time.

Constructors

ScorecardChartSpec({String? aggregateType, ChartData? baselineValueData, BaselineValueFormat? baselineValueFormat, ChartCustomNumberFormatOptions? customFormatOptions, ChartData? keyValueData, KeyValueFormat? keyValueFormat, String? numberFormatSource, double? scaleFactor})
ScorecardChartSpec.fromJson(Map json_)

Properties

aggregateType ↔ String?
The aggregation type for key and baseline chart data in scorecard chart.
getter/setter pair
baselineValueData ↔ ChartData?
The data for scorecard baseline value.
getter/setter pair
baselineValueFormat ↔ BaselineValueFormat?
Formatting options for baseline value.
getter/setter pair
customFormatOptions ↔ ChartCustomNumberFormatOptions?
Custom formatting options for numeric key/baseline values in scorecard chart.
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
keyValueData ↔ ChartData?
The data for scorecard key value.
getter/setter pair
keyValueFormat ↔ KeyValueFormat?
Formatting options for key value.
getter/setter pair
numberFormatSource ↔ String?
The number format source used in the scorecard chart.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scaleFactor ↔ double?
Value to scale scorecard key and baseline value.
getter/setter pair

Methods

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

Operators

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