Model Index

Types By Namespace

cdo

def

pvc

pvc.data

pvc.options

pvc.options.axes

pvc.options.charts

pvc.options.ext

pvc.options.format

pvc.options.marks

pvc.options.panels

pvc.options.plots

pvc.options.varia

pvc.options.visualRoles

pvc.visual

Class pvc.options.format.CustomFormat

Class Summary
Constructor Attributes Constructor Name and Description
 
The options documentation of the custom format class.
Method Summary
Method Attributes Method Name and Description
 
formatter(value, sourceValue)
The custom formatting function.
Class Detail
pvc.options.format.CustomFormat
The options documentation of the custom format class.

A custom format formats arbitrary values with a custom, user supplied, formatting function: CustomFormat#formatter.

See FormatProvider for more information on inheritance of formatting configurations.

Method Detail
{string} formatter(value, sourceValue)
The custom formatting function.

The signature of this function is that of a dimension formatter.

Context:
{null}
Arguments:
{any} value
The value to format.
{any} sourceValue Optional
The source (or raw) value, when the value was read from a data source, or undefined, otherwise.

In the case where the raw value is a Google-table-like cell, it is the value of its v property that is passed to this argument.

Returns:
{string} The string that is the formatted value. Only the null value should have the empty string as the formatted value.

Documentation generated by JsDoc Toolkit 2.4.0 on Thu Dec 20 2018 15:47:43 GMT-0000 (WET)