ChartGroupRule class

An optional setting on the ChartData of the domain of a data source chart that defines buckets for the values in the domain rather than breaking out each individual value.

For example, when plotting a data source chart, you can specify a histogram rule on the domain (it should only contain numeric values), grouping its values into buckets. Any values of a chart series that fall into the same bucket are aggregated based on the aggregate_type.

Constructors

ChartGroupRule({ChartDateTimeRule? dateTimeRule, ChartHistogramRule? histogramRule})
ChartGroupRule.fromJson(Map json_)

Properties

dateTimeRule ChartDateTimeRule?
A ChartDateTimeRule.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
histogramRule ChartHistogramRule?
A ChartHistogramRule
getter/setter pair
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
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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