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 |
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 |
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 |
preview(reset)
Calls a method to calculate the preview of the chart
- Source:
Parameters:
Name | Type | Description |
---|---|---|
reset |
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:
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:
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:
update()
Calls methods to update the chart and the statistics
- 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 |
updateStatistic()
Updates the statistics of the chart
- Source: