Methods
# setDataOperation(operation)
Set the operation to apply to the data.
The following values are supported:
- linear
- logarithmic
Parameters:
Name | Type | Description |
---|---|---|
operation |
string
|
Operation name. |
- Default Value:
- 'linear'
# setDiscardMethod(method)
Set the operation method to discard events.
The following values are supported:
- none
- stdDev
Parameters:
Name | Type | Description |
---|---|---|
method |
string
|
Method name. |
- Default Value:
- 'none'
# setDisplaySelectors(bool)
Enable the selectors.
Parameters:
Name | Type | Description |
---|---|---|
bool |
Boolean
|
Enable or disable. |
- Default Value:
- true
# setKeys(key)
Ste the column name to representate. It should contain the country code.
Parameters:
Name | Type | Description |
---|---|---|
key |
string
|
Column name. |
# setScaleMaxColor(color)
Set the color for the maximun value in the scale.
Parameters:
Name | Type | Description |
---|---|---|
color |
string
|
Color. |
- Default Value:
- '#c25d0c'
# setScaleMinColor(color)
Set the color for the minimum value in the scale.
Parameters:
Name | Type | Description |
---|---|---|
color |
string
|
Color. |
- Default Value:
- '#fdea6d'
# setStdDevMaxColor(color)
Set the color for the Maximum standard deviation value.
Parameters:
Name | Type | Description |
---|---|---|
color |
String
|
Color. |
- Default Value:
- '#b40000'
# setStdDevMinColor(color)
Set the color for the minimun standard deviation value.
Parameters:
Name | Type | Description |
---|---|---|
color |
string
|
Color. |
- Default Value:
- '#7cae2d'
# setTitle(title)
Set the title for the chart.
Parameters:
Name | Type | Description |
---|---|---|
title |
string
|
Title text. |
# setUnits(unit)
Set the unit of the values.
Parameters:
Name | Type | Description |
---|---|---|
unit |
string
|
Unit text. |
- Default Value:
- 'units'
# setValue(value)
Set the column with the value.
Parameters:
Name | Type | Description |
---|---|---|
value |
string
|
Column name. |
# setVariable(variable)
Sets the name of the study variable.
Parameters:
Name | Type | Description |
---|---|---|
variable |
string
|
Text. |
- Default Value:
- 'var.'