new TableColumnStyle(optionsopt)
- Source:
A set of properties that define how a table column should be displayed. If not set explicitly, many of these properties will be given default or guessed values elsewhere, such as in CsvCatalogItem.
Parameters:
Name | Type | Attributes | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object |
<optional> |
The values of the properties of the new instance. Properties
|
Members
active :Boolean
- Source:
Is this column active?
Type:
- Boolean
chartLineColor :String
- Source:
Color for column (css string)
Type:
- String
clampDisplayValue :Boolean
- Source:
Display values that fall outside the display range as min and max colors.
Type:
- Boolean
colorBinMethod :String
- Source:
The method for quantising colors:
- For numeric columns: "auto" (default), "ckmeans", "quantile" or "none" (equivalent to colorBins: 0).
- For enumerated columns: "auto" (default), "top", or "cycle"
Type:
- String
colorBins :Integer|Array.<Number>
- Source:
Either the number of discrete colours that a color gradient should be quantised into (ie. an integer), or an array of values specifying the boundaries between the color bins.
Type:
- Integer | Array.<Number>
displayDuration :Float
- Source:
Display duration for each row in the table, in minutes. If not provided, this is estimated from the data.
Type:
- Float
featureInfoFields :Object
- Source:
An object of { "myCol": "My column" } properties, defining which columns get displayed in feature info boxes (when clicked on), and what label is used instead of the column's actual name.
Type:
- Object
format :String|Number
- Source:
A format string for this column. For numbers, this is passed as options to toLocaleString. See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/toLocaleString .
Type:
- String | Number
imageUrl :String
- Source:
A string representing an image to display at each point, for lat-long datasets.
Type:
- String
legendName :String
- Source:
Display name for the legend for this column (defaults to the column name).
Type:
- String
legendTicks :Integer
- Source:
How many horizontal ticks to draw on the generated color ramp legend, not counting the top or bottom.
Type:
- Integer
maxDisplayValue :Float
- Source:
All data values greater than or equal to this are considered equal for the purpose of display.
Type:
- Float
minDisplayValue :Float
- Source:
All data values less than or equal to this are considered equal for the purpose of display.
Type:
- Float
name :String
- Source:
Display name for this column.
Type:
- String
nullColor :String
- Source:
The css string for the color with which to display null values.
Type:
- String
nullLabel :String
- Source:
The legend label for null values.
Type:
- String
replaceWithNullValues :Array
- Source:
Values to replace with null, eg. ['na', 'NA'].
Type:
- Array
replaceWithZeroValues :Array
- Source:
Values to replace with zero, eg. ['-', null].
Type:
- Array
scale :Float
- Source:
The size of each point or billboard.
Type:
- Float
scaleByValue :Boolean
- Source:
Should points and billboards representing each feature be scaled by the size of their data variable?
Type:
- Boolean
type :String|Number
- Source:
The variable type of this column. Converts strings, which are case-insensitive keys of VarType, to numbers. See TableStructure for further information.
Type:
- String | Number
units :String
- Source:
The units of this column.
Type:
- String
yAxisMax :Float
- Source:
Maximum y value to display in charts; if not specified, maximum data value will be used.
Type:
- Float
yAxisMin :Float
- Source:
Minimum y value to display in charts; if not specified, minimum data value will be used.
Type:
- Float