-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Size of the bundle has grown to 1.3 MB #11
Comments
This message serves as confirmation that you are now successfully registered in our support center.
Registered Email: reply@reply.github.com
Password: xu0e6mhy0a
You can visit the Support Desk at any time by going to http://help.fusioncharts.com/
Please do let us know if you have any questions.
Regards,
FusionCharts Team
------------------------------------------------------
Support Center: http://help.fusioncharts.com/index.php?
|
@ayanonly1 |
This message serves as confirmation that you are now successfully registered in our support center.
Registered Email: reply@reply.github.com
Password: tcsiwxkkqx
You can visit the Support Desk at any time by going to http://help.fusioncharts.com/
Please do let us know if you have any questions.
Regards,
FusionCharts Team
------------------------------------------------------
Support Center: http://help.fusioncharts.com/index.php?
|
To reduce the bundle size you can use modular ES6 approach and include those chart type files that you are looking to render, here is a link for reference - https://github.com/fusioncharts/fusioncharts-dist#using-fusioncharts-as-an-es-module However, if you are still looking to reduce its size, you can use the concept like gzip on the compiler of your app, to make it more optimized - https://betterexplained.com/articles/how-to-optimize-your-site-with-gzip-compression/ |
Just started to test fusioncharts. I am working on the react framework and import the chart modules as follows: import FusionCharts, { ChartObject } from "fusioncharts";
import Area2D from "fusioncharts/fusioncharts.charts";
import FusionTheme from "fusioncharts/themes/fusioncharts.theme.fusion";
import { Component } from "react";
import ReactFC from "react-fusioncharts"; This generates me the following production bundle for the chart:
I think that 762kb is a bit too much for a chart. To understand if I do anything wrong, is there any overview of the bundle size or the size of the chars library? |
https://bundlephobia.com/result?p=fusioncharts@3.15.1
Size of the fusioncharts npm bundle is 1.3MB due to which the whole application bundle has become very big.
The text was updated successfully, but these errors were encountered: