new TableStyle(optionsopt)
A set of properties that define how a table, such as a CSV file, 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. Options may include all those options found in TableColumnStyle, plus: Properties
|
- Source:
Extends
Members
active :Boolean
Is this column active?
Type:
- Boolean
- Inherited From:
- Source:
chartLineColor :String
Color for column (css string)
Type:
- String
- Inherited From:
- Source:
clampDisplayValue :Boolean
Display values that fall outside the display range as min and max colors.
Type:
- Boolean
- Inherited From:
- 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
- Inherited From:
- 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>
- Inherited From:
- Source:
columns :Object
Column-specific styling, with the format { columnIdentifier1: tableColumnStyle1, columnIdentifier2: tableColumnStyle2, ... }, where columnIdentifier is either the name or the column index (zero-based).
Type:
- Object
- Source:
dataVariable :String
The name of the default variable (column) containing data to be used for scaling and coloring.
Type:
- String
- Source:
displayDuration :Float
Display duration for each row in the table, in minutes. If not provided, this is estimated from the data.
Type:
- Float
- Inherited From:
- 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
- Inherited From:
- 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
- Inherited From:
- Source:
imageUrl :String
A string representing an image to display at each point, for lat-long datasets.
Type:
- String
- Inherited From:
- Source:
legendName :String
Display name for the legend for this column (defaults to the column name).
Type:
- String
- Inherited From:
- Source:
legendTicks :Integer
How many horizontal ticks to draw on the generated color ramp legend, not counting the top or bottom.
Type:
- Integer
- Inherited From:
- Source:
maxDisplayValue :Float
All data values greater than or equal to this are considered equal for the purpose of display.
Type:
- Float
- Inherited From:
- Source:
minDisplayValue :Float
All data values less than or equal to this are considered equal for the purpose of display.
Type:
- Float
- Inherited From:
- Source:
name :String
Display name for this column.
Type:
- String
- Inherited From:
- Source:
nullColor :String
The css string for the color with which to display null values.
Type:
- String
- Inherited From:
- Source:
nullLabel :String
The legend label for null values.
Type:
- String
- Inherited From:
- Source:
regionType :String
The identifier of a region type, as used by RegionProviderList.
Type:
- String
- Source:
regionVariable :String
The name of the variable (column) to be used for region mapping.
Type:
- String
- Source:
replaceWithNullValues :Array
Values to replace with null, eg. ['na', 'NA'].
Type:
- Array
- Inherited From:
- Source:
replaceWithZeroValues :Array
Values to replace with zero, eg. ['-', null].
Type:
- Array
- Inherited From:
- Source:
scale :Float
The size of each point or billboard.
Type:
- Float
- Inherited From:
- Source:
scaleByValue :Boolean
Should points and billboards representing each feature be scaled by the size of their data variable?
Type:
- Boolean
- Inherited From:
- Source:
timeColumn :String|Integer|Array.<String>|Array.<Integer>|null
The column name or index to use as the time column. Defaults to the first one found. Pass null for none. Pass an array of two, eg. [0, 1], to provide both start and end date columns.
Type:
- String | Integer | Array.<String> | Array.<Integer> | null
- 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
- Inherited From:
- Source:
units :String
The units of this column.
Type:
- String
- Inherited From:
- Source:
xAxis :String|Integer
The column name or index to use as the time column. Defaults to the first one found. Pass null for none. Pass an array of two, eg. [0, 1], to provide both start and end date columns.
Type:
- String | Integer
- Source:
yAxisMax :Float
Maximum y value to display in charts; if not specified, maximum data value will be used.
Type:
- Float
- Inherited From:
- Source:
yAxisMin :Float
Minimum y value to display in charts; if not specified, minimum data value will be used.
Type:
- Float
- Inherited From:
- Source: