Enable accessing input json data from callbacks
Open
- Dominant language
- JavaScript
- Stars
- 9.3k
- Forks
- 1.4k
- Avg merge
- 6d 16h
- Merged PRs (30d)
- 1
Description
The issue is that my json contains plenty of metadata I need to access in various callbacks (tooltip, point size, color, etc.).
ATM, there is no way to do that. It would be awesome if targets contained some ID which could be used to access `config.data_json`, e.g.:
``` javascript
function get_tooltip(d, defaultTitleFormat, defaultValueFormat, color) {
var json_item = this.config.data_json[d.input_index];
...
```
Contributor guide
Assessment
This issue has not been assessed yet.