new Formatter(options)
Creates a new style Formatter.
Parameters:
Name | Type | Description |
---|---|---|
options |
object | The options parameter is a JSON object containing several optional
|
Methods
-
getNumClasses()
-
Gets the desired classes or buckets for dividing the data item values.
-
getScale()
-
gets the scale (such as linear or logarithmic) used to classify data item
values. -
getStyle()
-
Gets the original style for which this Formatter might be affecting one
of its visual attributes.