Cell
class Cell implements JsonSerializable (View source)
DataCell Object
Holds the information for a data point
Methods
Defines a DataCell for a DataTable
Returns the value.
Returns the string format of the value.
Returns the cell customization options.
Custom serialization of the DataCell
Details
        at line 61
                            
    
    __construct(
    string $v = null, 
    string $f = '', 
    array|string $p = array())
    
    Defines a DataCell for a DataTable
Each cell in the table holds a value. Cells optionally can take a "formatted" version of the data; this is a string version of the data, formatted for display by a visualization. A visualization can (but is not required to) use the formatted version for display, but will always use the data itself for any sorting or calculations that it makes (such as determining where on a graph to place a point). An example might be assigning the values "low" "medium", and "high" as formatted values to numeric cell values of 1, 2, and 3.
        at line 81
                            
    mixed
    getValue()
    
    Returns the value.
        at line 91
                            
    string
    getFormat()
    
    Returns the string format of the value.
        at line 101
                            
    array
    getOptions()
    
    Returns the cell customization options.
        at line 111
                            
    array
    jsonSerialize()
    
    Custom serialization of the DataCell