Skip to content

[FEATURE] Charts as modules #4461

@jeantoledo

Description

@jeantoledo

I think that a modern chart library should work in the following way:

import PieChart from 'chart/pie';
new PieChart(/necessary stuff/);

Prós:

  • The page only requests js for a specific chart.
  • Better use of single responsibility pattern.
  • Better IntelliSense??
  • ...

What you think guys?

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions