Skip to content

[FEATURE] Charts as modules #4461

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions