Global datasets options for existing custom chart extension
See original GitHub issueDocumentation Is:
- Missing or needed
- Confusing
- Not Sure?
Global datasets options for existsing custom chart extension
There is a new structure to configure the datasets options at global level for each chart type.
In the documentation where it’s explained how to extend existing charts, it’s reported:
// Sets the default config for ‘derivedBubble’ to be the same as the bubble defaults. // We look for the defaults by doing Chart.defaults[chartType] // It looks like a bug exists when the defaults don’t exist Chart.defaults.derivedBubble = Chart.defaults.bubble;
It looks like that you don’t have to create any global dataset options, even if I think it should, like all other default options, something like:
Chart.defaults.derivedBubble = Chart.defaults.bubble;
Chart.defaults.global.datasets.derivedBubble = Chart.defaults.global.datasets.bubble;
Is this part missing into New Charts documentation?
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Plugins | Chart.js
Plugins are the most efficient way to customize or change the default behavior of a chart. They have been introduced at version 2.1....
Read more >Create Custom Charts with the Extensions API | A Slice of Keesh
In this tutorial, I'll be showing you how to use Chart.js to build your own custom charts. Of course, this tutorial can be...
Read more >Datawrapper: Create charts, maps, and tables
Product. Datawrapper lets you show your data as beautiful charts, maps or tables with a few clicks. Find out more about all the...
Read more >How to use Chart.js for Dataset Visualization? - DevTeam.Space
There are options of global configuration and dataset type configuration. Read more details here. Chart.js API: It enlists all the global methods for...
Read more >A Complete Overview of the Best Data Visualization Tools
Tableau has a variety of options available, including a desktop app, server and hosted online versions, and a free public option. There are...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Closing as #6649 is merged
@benmccann created PR #6649. Hopefully it is ok