-
Notifications
You must be signed in to change notification settings - Fork 756
Closed
Description
In attempting to set default colours via setOptions() in the .config module the colours are not respected. I can, however, use Chart.defaults.global.colours. Looking at the code, in the getColours() it would seem that colours have precedence based on where they are set.
- scope
- Chart.defaults.global.colours
- via setOptions.
To me this seems slightly out of order. I would think the would be
- setOptions
- scope
- default
That way if someone needs to default all charts they can in one place, however, if colors are defined on the scope for an individual chart, they could be respected, and finally everything would fallback to the default colours.
What are your thoughts?
Metadata
Metadata
Assignees
Labels
No labels