Members
(private) getAudioContext
Ensures that there is only one Web Audio context per page.
Sets up a new AudioContext the first time it's called; then re-uses it.
- Source:
Methods
(private) c3VisualCallbackMaker(chart) → {VisualCallback}
Generates a function that moves the cursor on a C3 Chart
Parameters:
Name | Type | Description |
---|---|---|
chart |
Object | the in-memory C3 chart object |
- Source:
- To Do:
-
- define C3 chart type?
Returns:
the callback
- Type
- VisualCallback
(private) googleVisualCallbackMaker(chart) → {VisualCallback}
Generates a function that moves the cursor on a Google Chart
Parameters:
Name | Type | Description |
---|---|---|
chart |
GoogleChart | the in-memory GoogleChart object |
- Source:
Returns:
the callback
- Type
- VisualCallback
(private) htmlTableVisualCallbackMaker(table, className) → {VisualCallback}
Generate a function that can be used to highlight table cells
Parameters:
Name | Type | Description |
---|---|---|
table |
HTMLTableElement | The in-DOM table element |
className |
string | Name of the CSS highlight class |
- Source:
Returns:
The highlighting function
- Type
- VisualCallback