mirror of
https://github.com/chartjs/Chart.js.git
synced 2025-12-08 20:36:08 +00:00
Fix controller specific animations (#8444)
This commit is contained in:
parent
c96c167074
commit
d8ecf8bae5
@ -173,7 +173,12 @@ export default class Config {
|
||||
*/
|
||||
datasetScopeKeys(datasetType) {
|
||||
return cachedKeys(datasetType,
|
||||
() => [`datasets.${datasetType}`, `controllers.${datasetType}.datasets`, '']);
|
||||
() => [
|
||||
`datasets.${datasetType}`,
|
||||
`controllers.${datasetType}`,
|
||||
`controllers.${datasetType}.datasets`,
|
||||
''
|
||||
]);
|
||||
}
|
||||
|
||||
/**
|
||||
@ -186,6 +191,7 @@ export default class Config {
|
||||
return cachedKeys(`${datasetType}.animation`,
|
||||
() => [
|
||||
`datasets.${datasetType}.animation`,
|
||||
`controllers.${datasetType}.animation`,
|
||||
`controllers.${datasetType}.datasets.animation`,
|
||||
'animation'
|
||||
]);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user