設置後,在直方圖上呈現向最終用戶指示重要或有意義的值的線條。
-
類型 說明 value Number將呈現線條的直方圖數據軸上的值。
可選的 與行關聯的標簽。
屬性:
例子:
// will render lines at the 25th, 50th, 75th, and 99th percentiles histogram.dataLines = [{ value: 30, label: "25 pctl" }, { value: 45, label: "50 pctl" }, { value: 65, label: "75 pctl" }, { value: 89, label: "99 pctl" }];
// calculate standard deviations from mean using stats // returned from smart mapping statistic methods const stddevs = smartMappingUtils.getDeviationValues(stats.stddev, stats.avg, 2); histogram.dataLines = stddevs.map(function(stddev){ return { value: stddev }; });
-
基本信息
以下是所在類或對象的基本信息。
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.dataLines
函數(或屬性)的定義如下:
相關用法
- JavaScript ArcGIS HistogramRangeSlider.dataLineCreatedFunction用法及代碼示例
- JavaScript ArcGIS HistogramRangeSlider.rangeType用法及代碼示例
- JavaScript ArcGIS HistogramRangeSlider.labelFormatFunction用法及代碼示例
- JavaScript ArcGIS HistogramRangeSlider.container用法及代碼示例
- JavaScript ArcGIS HistogramRangeSlider.bins用法及代碼示例
- 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.max用法及代碼示例
- JavaScript ArcGIS HistogramRangeSlider.generateWhereClause用法及代碼示例
- JavaScript ArcGIS HistogramRangeSlider.barCreatedFunction用法及代碼示例
- JavaScript ArcGIS Histogram.layout用法及代碼示例
- JavaScript ArcGIS Histogram.on用法及代碼示例
- JavaScript ArcGIS Histogram.container用法及代碼示例
- JavaScript ArcGIS Histogram.average用法及代碼示例
- JavaScript ArcGIS Histogram.labelFormatFunction用法及代碼示例
注:本文由純淨天空篩選整理自arcgis.com大神的英文原創作品 HistogramRangeSlider.dataLines。非經特殊聲明,原始代碼版權歸原作者所有,本譯文未經允許或授權,請勿轉載或複製。