HistogramChartData class
Immutable equal-width bins prepared from continuous numeric samples.
The result renders with an ordinary BarChartSeries. Binning remains a data transformation so histogram data can also be inspected in tables, exported, or composed with other Cartesian series.
- Annotations
Constructors
-
HistogramChartData({required Iterable<
double> samples, HistogramBinningMethod method = HistogramBinningMethod.freedmanDiaconis, int requestedBinCount = 10, int maxBinCount = 100}) -
factory
Properties
-
bins
→ List<
HistogramBin> -
final
- binWidth → double
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- maximum → double?
-
no setter
- method → HistogramBinningMethod
-
final
- minimum → double?
-
no setter
- requestedBinCount → int
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sampleCount → int
-
no setter
-
samples
→ List<
double> -
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
pointsFor(
HistogramValueMode mode) → List< ChartDataPoint> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited