This widget is a graphical representation of data where the individual values contained in a matrix are represented as colors base on date y time.
This widget use D3 library.
Methods
# setDataOperation(str)
Sets the operation to be applied to the data.
The following values are supported:
- none: No operation.
- log: Logarithmic operation.
- arctag: Arctangent operation.
Parameters:
Name | Type | Description |
---|---|---|
str |
string
|
Operation name. |
# setDisplaySelectors(bool)
Enable selectors.
Parameters:
Name | Type | Description |
---|---|---|
bool |
boolean
|
Indicates if it's enabled. |
# setHeadBackgroundColor(color)
Se the header background color.
Parameters:
Name | Type | Description |
---|---|---|
color |
String
|
Background color. |
# setPeriod(period)
Set the period.
Parameters:
Name | Type | Description |
---|---|---|
period |
number
|
Time in milliseconds. |
# setShowFirstEvent(bool)
Shows the first data event.
Parameters:
Name | Type | Description |
---|---|---|
bool |
boolean
|
Indicates if it's showed. |
# setShowLastEvent(bool)
Shows the last data event.
Parameters:
Name | Type | Description |
---|---|---|
bool |
boolean
|
Indicates if it's showed. |
# setValue(value)
Set the value to show.
Parameters:
Name | Type | Description |
---|---|---|
value |
string
|
Value to show. |