Module

GoogleColormap

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'

View Source widgets/googleColorMap.js, line 94

# 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'

View Source widgets/googleColorMap.js, line 80

# setDisplaySelectors(bool)

Enable the selectors.

Parameters:
Name Type Description
bool Boolean

Enable or disable.

Default Value:
  • true

View Source widgets/googleColorMap.js, line 144

# setKeys(key)

Ste the column name to representate. It should contain the country code.

Parameters:
Name Type Description
key string

Column name.

View Source widgets/googleColorMap.js, line 32

# setScaleMaxColor(color)

Set the color for the maximun value in the scale.

Parameters:
Name Type Description
color string

Color.

Default Value:
  • '#c25d0c'

View Source widgets/googleColorMap.js, line 114

# setScaleMinColor(color)

Set the color for the minimum value in the scale.

Parameters:
Name Type Description
color string

Color.

Default Value:
  • '#fdea6d'

View Source widgets/googleColorMap.js, line 104

# setStdDevMaxColor(color)

Set the color for the Maximum standard deviation value.

Parameters:
Name Type Description
color String

Color.

Default Value:
  • '#b40000'

View Source widgets/googleColorMap.js, line 134

# setStdDevMinColor(color)

Set the color for the minimun standard deviation value.

Parameters:
Name Type Description
color string

Color.

Default Value:
  • '#7cae2d'

View Source widgets/googleColorMap.js, line 124

# setTitle(title)

Set the title for the chart.

Parameters:
Name Type Description
title string

Title text.

View Source widgets/googleColorMap.js, line 46

# setUnits(unit)

Set the unit of the values.

Parameters:
Name Type Description
unit string

Unit text.

Default Value:
  • 'units'

View Source widgets/googleColorMap.js, line 56

# setValue(value)

Set the column with the value.

Parameters:
Name Type Description
value string

Column name.

View Source widgets/googleColorMap.js, line 39

# setVariable(variable)

Sets the name of the study variable.

Parameters:
Name Type Description
variable string

Text.

Default Value:
  • 'var.'

View Source widgets/googleColorMap.js, line 66