表示直方图中每个 bin 的对象数组。此信息通常从histogram 函数返回。
例子:
// sets the bins of the histogram from the bins in the histogram() result histogram.bins = histogramResult.bins;
// Creates a histogram with 7 bins. histogram.bins = [ { minValue: 0, maxValue: 10, count: 4 }, { minValue: 10.1, maxValue: 20, count: 14 }, { minValue: 20.1, maxValue: 30, count: 9 }, { minValue: 30.1, maxValue: 40, count: 34 }, { minValue: 40.1, maxValue: 50, count: 351 }, { minValue: 50.1, maxValue: 60, count: 100 }, { minValue: 60.1, maxValue: 70, count: 1 } ];
基本信息
以下是所在类或对象的基本信息。
AMD:
require(["esri/widgets/HistogramRangeSlider"], (HistogramRangeSlider) => { /* code goes here */ });
ESM:
import HistogramRangeSlider from "@arcgis/core/widgets/HistogramRangeSlider";
类:
esri/widgets/HistogramRangeSlider
继承: HistogramRangeSlider > Widget > Accessor
自从:用于 JavaScript 4.12 的 ArcGIS API
用法说明
HistogramRangeSlider.bins
函数(或属性)的定义如下:
相关用法
- JavaScript ArcGIS HistogramRangeSlider.barCreatedFunction用法及代码示例
- JavaScript ArcGIS HistogramRangeSlider.rangeType用法及代码示例
- JavaScript ArcGIS HistogramRangeSlider.labelFormatFunction用法及代码示例
- JavaScript ArcGIS HistogramRangeSlider.container用法及代码示例
- JavaScript ArcGIS HistogramRangeSlider.excludedBarColor用法及代码示例
- JavaScript ArcGIS HistogramRangeSlider.min用法及代码示例
- JavaScript ArcGIS HistogramRangeSlider.standardDeviation用法及代码示例
- JavaScript ArcGIS HistogramRangeSlider.precision用法及代码示例
- JavaScript ArcGIS HistogramRangeSlider.average用法及代码示例
- JavaScript ArcGIS HistogramRangeSlider.on用法及代码示例
- JavaScript ArcGIS HistogramRangeSlider.classes用法及代码示例
- JavaScript ArcGIS HistogramRangeSlider.visible用法及代码示例
- JavaScript ArcGIS HistogramRangeSlider.when用法及代码示例
- JavaScript ArcGIS HistogramRangeSlider.standardDeviationCount用法及代码示例
- JavaScript ArcGIS HistogramRangeSlider.includedBarColor用法及代码示例
- JavaScript ArcGIS HistogramRangeSlider.values用法及代码示例
- JavaScript ArcGIS HistogramRangeSlider.dataLines用法及代码示例
- JavaScript ArcGIS HistogramRangeSlider.max用法及代码示例
- JavaScript ArcGIS HistogramRangeSlider.dataLineCreatedFunction用法及代码示例
- JavaScript ArcGIS HistogramRangeSlider.generateWhereClause用法及代码示例
- JavaScript ArcGIS Histogram.layout用法及代码示例
- JavaScript ArcGIS Histogram.on用法及代码示例
- JavaScript ArcGIS Histogram.container用法及代码示例
- JavaScript ArcGIS Histogram.average用法及代码示例
- JavaScript ArcGIS Histogram.labelFormatFunction用法及代码示例
注:本文由纯净天空筛选整理自arcgis.com大神的英文原创作品 HistogramRangeSlider.bins。非经特殊声明,原始代码版权归原作者所有,本译文未经允许或授权,请勿转载或复制。