new TableColumnStyle(optionsopt)
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
|
- Source:
Members
active :Boolean
Is this column active?
Type:
- Boolean
- Source:
chartLineColor :String
Color for column (css string)
Type:
- String
- Source:
clampDisplayValue :Boolean
Display values that fall outside the display range as min and max colors.
Type:
- Boolean
- Source:
colorBinMethod :String
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
- Source:
colorBins :Integer|Array.<Number>
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>
- Source:
displayDuration :Float
Display duration for each row in the table, in minutes. If not provided, this is estimated from the data.
Type:
- Float
- Source:
featureInfoFields :Object
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
- Source:
format :String|Number
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
- Source:
imageUrl :String
A string representing an image to display at each point, for lat-long datasets.
Type:
- String
- Source:
legendName :String
Display name for the legend for this column (defaults to the column name).
Type:
- String
- Source:
legendTicks :Integer
How many horizontal ticks to draw on the generated color ramp legend, not counting the top or bottom.
Type:
- Integer
- Source:
maxDisplayValue :Float
All data values greater than or equal to this are considered equal for the purpose of display.
Type:
- Float
- Source:
minDisplayValue :Float
All data values less than or equal to this are considered equal for the purpose of display.
Type:
- Float
- Source:
name :String
Display name for this column.
Type:
- String
- Source:
nullColor :String
The css string for the color with which to display null values.
Type:
- String
- Source:
nullLabel :String
The legend label for null values.
Type:
- String
- Source:
replaceWithNullValues :Array
Values to replace with null, eg. ['na', 'NA'].
Type:
- Array
- Source:
replaceWithZeroValues :Array
Values to replace with zero, eg. ['-', null].
Type:
- Array
- Source:
scale :Float
The size of each point or billboard.
Type:
- Float
- Source:
scaleByValue :Boolean
Should points and billboards representing each feature be scaled by the size of their data variable?
Type:
- Boolean
- Source:
type :String|Number
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
- Source:
units :String
The units of this column.
Type:
- String
- Source:
yAxisMax :Float
Maximum y value to display in charts; if not specified, maximum data value will be used.
Type:
- Float
- Source:
yAxisMin :Float
Minimum y value to display in charts; if not specified, minimum data value will be used.
Type:
- Float
- Source: