chartjs / chartjs/Chart.js

Enable animation on inner nodes of the options

Open
#11,172 0 comments 0 reactions 0 assignees View on GitHub
type: enhancement
Dominant language
JavaScript
Stars
67.7k
Forks
11.9k
Avg merge
7h 39m
Merged PRs (30d)
5

Description

### Feature Proposal

Currently the animation properties can be defined only at base level of an element or its options.
When you want to animate properties which are belonging to an inner object of the element or options, is not possible.
Use case could be font or padding of elements.

### Possible Implementation

Manage the properties to configure the `animations` which are representing the path where the properties are located.

```javascript
animations: {
numbers: {
properties: ['font.size'],
type: 'number'
},
},
```

With above config, the animation will be applied to the inner object `font` and its property `size`.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.