Class pvc.options.marks.QuantitativeScaleExtensionPoint
Constructor Attributes | Constructor Name and Description |
---|---|
The class of protovis quantitative scales' extension points.
|
Field Attributes | Field Name and Description |
---|---|
A fixed protovis date format mask to use to format date tick values.
|
|
<deprecated> |
A fixed precision to generate date tick values, in milliseconds, or the name of a standard precision multiple.
|
The start day of the week for date ticks of
week precision.
|
See the associated protovis documentation at http://mbostock.github.io/protovis/jsdoc/symbols/pv.Scale.quantitative.html.
By default, the tick format is determined dynamically to match the range of the data. Specify this extension point if the automatically determined format does not suit your needs.
See the date format protovis documentation at http://mbostock.github.io/protovis/jsdoc/symbols/pv.Format.date.html.
If you need to adapt the format based on the chosen precision, you should use the axis option, pvc.options.axes.CartesianAxis#tickFormatter, instead.
For more information, see pvc.options.axes.AnyContinuousCartesianAxis#tickUnit.
The precision measures the distance between tick values. By default, the tick precision is determined dynamically to match the range of the data. Specify this extension point if the automatically determined precision does not suit your needs.
You can use the pvc.time.intervals enumeration to specify standard time intervals. For more information see pvc.options.axes.CartesianAxis#tickFormatter.
- Deprecated:
- Use pvc.options.axes.AnyContinuousCartesianAxis#tickUnit instead.
The possible values are:
- 0, or 'sunday'
- 1, or 'monday'
- 2, or 'tuesday'
- 3, or 'wednesday'
- 4, or 'thursday'
- 5, or 'friday'
- 6, or 'saturday'
- Default Value:
- 0