Module

TimeHeatmap

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.

Tutorials:
See:

View Source widgets/timeHeatmap.js, line 7

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.

View Source widgets/timeHeatmap.js, line 86

# setDisplaySelectors(bool)

Enable selectors.

Parameters:
Name Type Description
bool boolean

Indicates if it's enabled.

View Source widgets/timeHeatmap.js, line 54

# setFontColor(color)

Set the font color.

Parameters:
Name Type Description
color String

Font color

View Source widgets/timeHeatmap.js, line 116

# setHeadBackgroundColor(color)

Se the header background color.

Parameters:
Name Type Description
color String

Background color.

View Source widgets/timeHeatmap.js, line 107

# setPeriod(period)

Set the period.

Parameters:
Name Type Description
period number

Time in milliseconds.

View Source widgets/timeHeatmap.js, line 45

# setShowFirstEvent(bool)

Shows the first data event.

Parameters:
Name Type Description
bool boolean

Indicates if it's showed.

View Source widgets/timeHeatmap.js, line 63

# setShowLastEvent(bool)

Shows the last data event.

Parameters:
Name Type Description
bool boolean

Indicates if it's showed.

View Source widgets/timeHeatmap.js, line 72

# setShowZero(bool)

If true show zero values

Parameters:
Name Type Description
bool Boolean

View Source widgets/timeHeatmap.js, line 125

# setValue(value)

Set the value to show.

Parameters:
Name Type Description
value string

Value to show.

View Source widgets/timeHeatmap.js, line 36