Apexcharts.js: Make apexcharts pluginable

Created on 6 Apr 2019  路  3Comments  路  Source: apexcharts/apexcharts.js

Is your feature request related to a problem? Please describe.
Apexcharts is huge > 410ko and will continue to grow

Describe the solution you'd like
Split differents parts of the lib into plugins:

  • Core
  • Bar chart
  • Line chart
  • ...
  • toolbar
  • other features

Most helpful comment

I wanted to keep ApexCharts as simple as possible in the beginning, but with time - codebase grew to > 410kb minified which is huge indeed.
But, with some refactoring, this size can be reduced. As you can see on https://codeclimate.com/github/apexcharts/apexcharts.js, there are a lot of improvements with regard to duplication/complexity which will be addressed soon.
I will try to squeeze the overall size first before trying to split each module into different plugins.

All 3 comments

I wanted to keep ApexCharts as simple as possible in the beginning, but with time - codebase grew to > 410kb minified which is huge indeed.
But, with some refactoring, this size can be reduced. As you can see on https://codeclimate.com/github/apexcharts/apexcharts.js, there are a lot of improvements with regard to duplication/complexity which will be addressed soon.
I will try to squeeze the overall size first before trying to split each module into different plugins.

Related to #567

Closed as they are more followers on the newest issue

Was this page helpful?
0 / 5 - 0 ratings

Related issues

drew-dulgar picture drew-dulgar  路  3Comments

rcoundon picture rcoundon  路  3Comments

georgehardy picture georgehardy  路  3Comments

Bilge picture Bilge  路  3Comments

piyushSinghalDemo picture piyushSinghalDemo  路  3Comments