* Returns the option scopes for resolving chart options * @return {object[]}
()
| 329 | * @return {object[]} |
| 330 | */ |
| 331 | chartOptionScopes() { |
| 332 | const {options, type} = this; |
| 333 | |
| 334 | return [ |
| 335 | options, |
| 336 | overrides[type] || {}, |
| 337 | defaults.datasets[type] || {}, // https://github.com/chartjs/Chart.js/issues/8531 |
| 338 | {type}, |
| 339 | defaults, |
| 340 | descriptors |
| 341 | ]; |
| 342 | } |
| 343 | |
| 344 | /** |
| 345 | * @param {object[]} scopes |
no outgoing calls
no test coverage detected