Method Overview
Name | Return Type | Summary | Object |
---|---|---|---|
String | Formats a UNIX timestamp to a basic date string. more details | utils | |
String | Formats a numeric value for display as a label based on the current locale. more details | utils | |
Number[] | Computes and returns standard deviation values based on the given average and standard deviation. more details | utils |
Method Details
-
formatDateLabel(value){String}Since: ArcGIS Maps SDK for JavaScript 4.14
-
Formats a UNIX timestamp to a basic date string. This function is only intended for convenience in formatting thumb values in slider widgets and does not include additional formatting options.
Parametervalue NumberThe UNIX timestamp to convert to a formatted date string.
ReturnsType Description String Returns a formated date string.
-
formatNumberLabel(value){String}Since: ArcGIS Maps SDK for JavaScript 4.19
-
Formats a numeric value for display as a label based on the current locale.
Parametervalue NumberThe value to convert to a formatted label.
ReturnsType Description String Returns a formatted label based on the current locale.
-
Computes and returns standard deviation values based on the given average and standard deviation.
ParametersstandardDeviation NumberThe standard deviation from the given
average
.average NumberThe average of the dataset from which to compute standard deviation values.
count NumberThe number of standard deviations from the mean to compute.
ReturnsType Description Number[] Returns the standard deviation values from the given average.