Socket
Book a DemoInstallSign in
Socket

fusioncharts

Package Overview
Dependencies
Maintainers
2
Versions
77
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fusioncharts

FusionCharts JavaScript charting framework

4.2.0
latest
Source
npmnpm
Version published
Weekly downloads
23K
6.77%
Maintainers
2
Weekly downloads
 
Created
Source

FusionCharts - Build beautiful web & mobile dashboards

FusionCharts jsDelivr Hits FusionCharts Downloads FusionCharts NPM Version

FusionCharts is a JavaScript charting library providing 100+ charts and 2,000+ maps for your web and mobile applications. All the visualizations are interactive and animated, which are rendered in SVG and VML (for IE 6/7/8).

This package also contains FusionTime (timeseries charts), FusionWidgets (gauges, real-time charts), PowerCharts (statistical and advanced charts), and FusionMaps (choropleth geo maps).

What's New – v4.2 – Sept 2025

New Features

  • FusionCharts version 4.2 introduces the ignoredepthforlineplots attribute, which, when set to true, makes the leftover line plot in an mscolumn3dlinedy or stackedcolumn3dlinedy chart act as a 2D line. Otherwise, the line continues to appear in 3D.
  • FusionCharts version 4.2 introduces support for inverse axes in Scatter and Bubble charts. You can now reverse the X and Y axes by setting the new attributes reversexaxis and reverseyaxis to true in the chart configuration.

Improvements

  • Upgraded third-party integrations of C#, Python, and Java support to the latest version of the framework:
    • C#: upgraded and now supports up to .NET 9
    • Python: upgraded and now supports up to Python 3.13.5 and Django 5.2.4.
    • Java: upgraded and now supports up to Java 24
  • Added descriptions and documentation for the legendWidth attribute, which allows managing legend width and avoiding unwanted scrollbars on legendbox.
  • Added an explicit Webpack public path assignment to ensure compatibility in non-browser-like environments such as React Native WebView.
  • Upgraded third-party integrations support to the latest version of the framework:
    • Upgraded react-fusioncharts integration supports up to the latest version of React v19.
    • Upgraded vue-fusioncharts integration supports up to Vue 3.5.17.
    • Upgraded angular-fusioncharts integration supports up toAngular v20.

Fixes

  • Resolved the Accessibility issue where resizing a chart using the Accessibility module changed the focus.
  • Fixed an issue where the Color Range for maps was not working as expected in the latest version.
  • Resolved an issue where the hover effect did not work correctly when having multiple markers in FusionMaps.
  • Fixed the issue where the legend caption exceeded the legend box limit, overlapping with the chart. Also, when using the chartBottomMargin attribute, ensure that the value is set to a value higher than 5px; otherwise, the trial watermark and legend will overlap.
  • Resolved the issue where JS threw an error when opening the popup view in Scroll charts. This issue affected the following chart types: scrollColumn2d, scrollBar2D, scrollcombi2d, and scrollStackedBar2D.
  • FusionCharts version 4.2 resolved an issue where the displayValue was unable to render the ampersand (&) symbol in various chart types.
  • Resolved an issue that prevented the react-fusioncharts component from rendering correctly inside the shadow DOM.
  • Resolved an issue where tooltips did not display upon hovering over values on an Errorline chart. Now, the tooltips are shown as expected.
  • Resolved the issue where ReactJS FusionCharts did not work as expected when using StrictMode. Users using React version 17 can use react-fusioncharts version 4.1, while those using React version 18 or higher should use the latest react-fusioncharts version.


Table of Contents

Installing FusionCharts

There are multiple ways to install FusionCharts. For general instructions, refer to this developer docs page.

Direct Download

All binaries are located on our github repository. You can also download zipped version here.

Using CDN

Instead of downloading, you can also use FusionCharts’s CDN to access files directly. See below for details

<script src="https://cdn.fusioncharts.com/fusioncharts/latest/fusioncharts.js"></script>

Install from NPM

npm install fusioncharts

See npm documentation to know more about npm usage.

Getting Started

Easiest way to start with FusionCharts is to include the JavaScript library in your webpage, create a <div> container and chart instance, configure the data and render. Check this HTML snippet below:

<!doctype html>
<html>
<head>
    <script src="https://cdn.fusioncharts.com/fusioncharts/latest/fusioncharts.js"></script>
</head>
<body>
    <div id="chart-container"></div>
    <script>
        FusionCharts.ready(function () {
            // chart instance
            var chart = new FusionCharts({
                type: "column2d",
                renderAt: "chart-container", // container where chart will render
                width: "600",
                height: "400",
                dataFormat: "json",
                dataSource: {
                    // chart configuration
                    chart: {
                        caption: "Countries With Most Oil Reserves [2017-18]",
                        subcaption: "In MMbbl = One Million barrels"
                    },
                    // chart data
                    data: [
                        { label: "Venezuela", value: "290000" },
                        { label: "Saudi", value: "260000" },
                        { label: "Canada", value: "180000" },
                        { label: "Iran", value: "140000" },
                        { label: "Russia", value: "115000" },
                        { label: "UAE", value: "100000" },
                        { label: "US", value: "30000" },
                        { label: "China", value: "30000" }
                    ]
                }
            }).render();
        });
    </script>
</body>
</html>

Here’re links to quick start guides:

Using FusionCharts as an ES Module

FusionCharts can be loaded as an ES module via transpilers.

The following examples presumes you are using npm to install FusionCharts, see Install FusionCharts for more details.

import FusionCharts from 'fusioncharts/core';

// include chart from viz folder - import ChartType from fusioncharts/viz/[ChartType];
import Column2D from 'fusioncharts/viz/column2d';

// add chart as dependency - FusionCharts.addDep(ChartType);
FusionCharts.addDep(Column2D);

// instantiate the chart.
var chartInstance = new FusionCharts({
  type: 'Column2D',
  renderAt: 'chart-container', // div container where chart will render
  width: '600',
  height: '400',
  dataFormat: 'json',
  dataSource: {
    // chart configuration
    chart: {
      caption: 'Countries With Most Oil Reserves [2017-18]',
      subcaption: 'In MMbbl = One Million barrels',
    },
    // chart data
    data: [
      { label: 'Venezuela', value: '290000' },
      { label: 'Saudi', value: '260000' },
      { label: 'Canada', value: '180000' },
      { label: 'Iran', value: '140000' },
      { label: 'Russia', value: '115000' },
      { label: 'UAE', value: '100000' },
      { label: 'US', value: '30000' },
      { label: 'China', value: '30000' },
    ],
  },
});

// render the chart
chartInstance.render();

Want to render data-driven maps (FusionMaps) - check out this link.

Front-end Integrations

AngularJS (1.x and above)Github RepoDocumentation
Angular (2.x and above)Github RepoDocumentation
jQueryGithub RepoDocumentation
ReactGithub RepoDocumentation
VueGithub RepoDocumentation
EmberGithub RepoDocumentation

Back-end Integrations

ASP.NET (C#)Github RepoDocumentation
ASP.NET (VB)Github RepoDocumentation
Java (JSP)Github RepoDocumentation
DjangoGithub RepoDocumentation
PHPGithub RepoDocumentation
Ruby on RailsGithub RepoDocumentation

Using Themes

FusionCharts provides several out-of-the box themes that can be applied to all the charts to configure the visual appearance of the charts. Below is an example on how to use a theme:

<!DOCTYPE html>
<html>
  <head>
    <script src="https://cdn.fusioncharts.com/fusioncharts/latest/fusioncharts.js"></script>
    <script src="https://cdn.fusioncharts.com/fusioncharts/latest/themes/fusioncharts.theme.fusion.js"></script>
  </head>
  <body>
    <div id="chart-container"></div>
    <script>
      FusionCharts.ready(function () {
        // chart instance
        var chart = new FusionCharts({
          type: 'column2d',
          renderAt: 'chart-container', // container where chart will render
          width: '600',
          height: '400',
          dataFormat: 'json',
          dataSource: {
            // chart configuration
            chart: {
              caption: 'Countries With Most Oil Reserves [2017-18]',
              subcaption: 'In MMbbl = One Million barrels',
              theme: 'fusion', //Specifying which theme to use
            },
            // chart data
            data: [
              { label: 'Venezuela', value: '290000' },
              { label: 'Saudi', value: '260000' },
              { label: 'Canada', value: '180000' },
              { label: 'Iran', value: '140000' },
              { label: 'Russia', value: '115000' },
              { label: 'UAE', value: '100000' },
              { label: 'US', value: '30000' },
              { label: 'China', value: '30000' },
            ],
          },
        }).render();
      });
    </script>
  </body>
</html>

Using themes in ES6

import FusionCharts from 'fusioncharts/core';

// include chart from viz folder - import ChartType from fusioncharts/viz/[ChartType];
import Column2D from 'fusioncharts/viz/column2d';

// include theme from themes folder
import fusionTheme from 'fusioncharts/themes/es/fusioncharts.theme.fusion';

// add chart as dependency - FusionCharts.addDep(ChartType);
FusionCharts.addDep(Column2D);
FusionCharts.addDep(fusionTheme);

// instantiate the chart.
var chartInstance = new FusionCharts({
  type: 'Column2D',
  renderAt: 'chart-container', // container where chart will render
  width: '600',
  height: '400',
  dataFormat: 'json',
  dataSource: {
    // chart configuration
    chart: {
      caption: 'Countries With Most Oil Reserves [2017-18]',
      subcaption: 'In MMbbl = One Million barrels',
      theme: 'fusion',
    },
    // chart data
    data: [
      { label: 'Venezuela', value: '290000' },
      { label: 'Saudi', value: '260000' },
      { label: 'Canada', value: '180000' },
      { label: 'Iran', value: '140000' },
      { label: 'Russia', value: '115000' },
      { label: 'UAE', value: '100000' },
      { label: 'US', value: '30000' },
      { label: 'China', value: '30000' },
    ],
  },
});

// render the chart
chartInstance.render();

See all the themes live here. Check out this link to know more about themes. Want us to build a theme to suit your corporate branding? Request one here!

FusionMaps

FusionMaps is a companion package meant to be used in conjunction with FusionCharts to render choropleth geo maps. FusionMaps provide over 1,400+ geographical maps, including all countries, US states, and regions in Europe for plotting business data like revenue by regions, employment levels by state and office locations. See below links to know more:

Going beyond Charts

  • Explore 20+ pre-built business specific dashboards for different industries like energy and manufacturing to business functions like sales, marketing and operations here.
  • See Data Stories built using FusionCharts’ interactive JavaScript visualizations and learn how to communicate real-world narratives through underlying data to tell compelling stories.

Version History

Contact Support

Fill this form or drop an email to support@fusioncharts.com

Folder Structure

fusioncharts/
  ├── core/ - Contains the FusionCharts core.
  ├── viz/ - Contains all the individual vizualizations (Column2D, SplineArea, AngularGauge etc.)
  ├── charts/ - Contains all the visualizations of the Charts package (similar to fusioncharts.charts.js).
  ├── powercharts/ - Contains all the visualizations of the PowerCharts package.
  ├── timeseries/ - Contains all the visualizations of the FusionTime package.
  ├── widgets/ - Contains all the visualizations of the FusionWidgets package.
  ├── maps/ - Contains the map renderer
  │   └── es/ - Contains the map definition files of World and USA
  └── themes/es - Contains all the theme files.

Keywords

fusioncharts

FAQs

Package last updated on 05 Sep 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.