Extends
Methods
checkIfDataIsFiltered()
Checks if the data has been filtered
- Overrides:
- Source:
draw()
Calls methods to draw the chart and the statistics
- Source:
filterDimensionOnDescriptionKey(index, match)
Set filter on crossfilter dimension
- Overrides:
- Source:
Parameters:
Name | Type | Description |
---|---|---|
index |
of data because dimension is unsorted => index == -1 no array available for dimension | |
match |
filterOnExtent(extent, type, _this)
Filter depending on the extent of the brush
- Source:
Parameters:
Name | Type | Description |
---|---|---|
extent |
defines the extent | |
type |
defines the type | |
_this |
reference to this |
handleLabelMouseClick(d, i, _this)
Event handler for when clicking on an element with the mouse
- Source:
Parameters:
Name | Type | Description |
---|---|---|
d |
element | |
i |
index | |
_this |
reference to this |
handleLabelMouseOut(d, i, _this)
Event handler for when the mouse is out of an element
- Source:
Parameters:
Name | Type | Description |
---|---|---|
d |
element | |
i |
index | |
_this |
reference to this |
handleLabelMouseOver(d, i, _this)
Handles events when hovering over an element with the mouse
- Source:
Parameters:
Name | Type | Description |
---|---|---|
d |
element | |
i |
index | |
_this |
reference to this |
hideBrush(_this)
Hides the brush
- Source:
Parameters:
Name | Type | Description |
---|---|---|
_this |
reference of this |
initMargins(data)
Initializes the sizes of the margins of the chart
- Source:
Parameters:
Name | Type | Description |
---|---|---|
data |
initSVGDimensions(data)
Initializes the SVG dimensions
- Source:
Parameters:
Name | Type | Description |
---|---|---|
data |
previewChart(reset)
Shows the preview information when hovering above the elements of the chart
- Source:
Parameters:
Name | Type | Description |
---|---|---|
reset |
resetAllFilterDimensions()
Resets all the filter dimensions for all charts
- Overrides:
- Source:
resetFilter(type, _this)
Resets the filter
- Source:
Parameters:
Name | Type | Description |
---|---|---|
type |
defines the type | |
_this |
reference to this |
resetFilterDimensionOnDescriptionKey(index)
Reset filter on crossfilter dimension
- Overrides:
- Source:
Parameters:
Name | Type | Description |
---|---|---|
index |
of data because dimension is unsorted index index of dimension if chart is cat list |
resetFiltered()
Resets filtered status of entry
- Overrides:
- Source:
setBrush(startLabel, endLabel, _this)
Set brush to extent of start label and end label
- Source:
Parameters:
Name | Type | Description |
---|---|---|
startLabel |
defines the start label | |
endLabel |
defines the end label | |
_this |
reference of this |
setFilteredData()
Resets value if selected
- Overrides:
- Source:
showFilterButton(show)
Show filter button
- Overrides:
- Source:
Parameters:
Name | Type | Description |
---|---|---|
show |
true || false |
sortData()
Sorts the data labels in lexicographical order
- Source:
sortDataByReference()
Sorts data by a reference array of keys
- Overrides:
- Source:
updateData(preview, reset_preview)
Updates the data when filtering over the charts
- Overrides:
- Source:
Parameters:
Name | Type | Description |
---|---|---|
preview |
true when the preview data has to be updated | |
reset_preview |
true when the updated preview data has to be reset |