Skip to content

Customizable chart-update #57

@Joelius300

Description

@Joelius300

Describe the feature request

If I wanted to change how long it takes for the chart-update to render, I cannot do that because it's hardcoded without options in the ts-file (here).

Which charts does this feature request apply to?

All charts

Describe the solution you'd like

I'd like to be able to call Update on the chart-components with some additional, optional parameters like the duration, if the update should be lazy (can be interrupted) and which easing style. These should be optional parameters so

  1. you don't have to supply them
  2. you can only supply one or two if you want
  3. you can see the default values
  4. backwards-compatibility

However, since we'll have to implement a new string-enum, we won't be able to do it without an overload because an instance of that string-enum won't be a compile-time constant but that's not an issue.

These options are described here.

Describe alternatives you've considered

Change the js/ts on your own and link it statically but that's not desirable.

Additional context

Here are the easing options and some more information we might need.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestfrom migrationThese issues were migrated from Joelius300s repository and more information can be found theregood first issueGood for newcomers

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions