HistogramChartSpec class

A histogram chart.

A histogram chart groups data items into bins, displaying each bin as a column of stacked items. Histograms are used to display the distribution of a dataset. Each column of items represents a range into which those items fall. The number of bins can be chosen automatically or specified explicitly.

Constructors

HistogramChartSpec({double? bucketSize, String? legendPosition, double? outlierPercentile, List<HistogramSeries>? series, bool? showItemDividers})
HistogramChartSpec.fromJson(Map json_)

Properties

bucketSize double?
By default the bucket size (the range of values stacked in a single column) is chosen automatically, but it may be overridden here.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
legendPosition String?
The position of the chart legend. Possible string values are:
getter/setter pair
outlierPercentile double?
The outlier percentile is used to ensure that outliers do not adversely affect the calculation of bucket sizes.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
series List<HistogramSeries>?
The series for a histogram may be either a single series of values to be bucketed or multiple series, each of the same length, containing the name of the series followed by the values to be bucketed for that series.
getter/setter pair
showItemDividers bool?
Whether horizontal divider lines should be displayed between items in each column.
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