• Stars
    star
    267
  • Rank 153,621 (Top 4 %)
  • Language
    JavaScript
  • Created about 10 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A declarative, efficient, and simple JavaScript library for building responsive charts

ZingChart

Our JavaScript charting library is a commercial product. But the full branded version is free to try, forever.

npm

Install

CDN

We publish our live, dev and ALL previous builds on our CDN. This is the quickest way to get started.

Current Version

Current Version and Modules (https://cdn.zingchart.com/zingchart.min.js | https://cdn.zingchart.com/modules/)

https://cdn.zingchart.com/zingchart.min.js
https://cdn.zingchart.com/modules/
ES6 Version

ES6 Version and Modules (https://cdn.zingchart.com/zingchart-es6.min.js | https://cdn.zingchart.com/modules-es6/)

https://cdn.zingchart.com/zingchart-es6.min.js
https://cdn.zingchart.com/modules-es6/

Package Managers

We have a variety of package managers to download our library, as well as integrations

npm

npm install zingchart

nuget

If you are looking for the ZingChart package and are a .NET user go to nuget package here.

Install-Package ZingChart -Version 2.5.0

Integrations

Installing our integration packages will also install the library for you. ZingChart is wrapped in a variety of ways for easy consumption with popular JS libraries and frameworks. Official releases are shown here. If you have a third party integration please contact us for inclusion.

Angular
npm install zingchart-angular
React
npm install zingchart-react
Vue
npm install zingchart-vue
Web Component
npm install zingchart-web-component
AngularJS
npm install zingchart-angularjs

List of integrations:

Quick Start es5

Include a reference to the zingchart library

<!DOCTYPE html>
<html>
<head>
  <!--Script Reference [1] -->
  <script src="/zingchart/zingchart.min.js"></script>

</head>
<body>
  <!--Chart Component [2] -->
  <div id="myChart"></div>

  <script>
    let chartData = {
      type: 'pareto',
      series: [
        {
          values: [
            4642,
            4345,
            2350,
            1251
          ]
        }
      ]
    };

    // Render Method[3]
    zingchart.render({ 
      id: 'myChart',
      data: chartData,
      height: 400,
      width: '100%'
    });
  </script>
</body>
</html>

Quick Start es6 Imports

A general best practice to use ZingChart in any of your frameworks is used in the following:

import {zingchart, ZC} from 'zingchart/zingchart-es6';

And if you have and modules you want to include you do the following

import {pareto} from 'zingchart/modules-es6/zingchart-pareto.min.js';

Quick Start es6 w/Script Modules

<!DOCTYPE html>
<html>
<head>
  <!-- fallback for no module support -->
  <script nomodule src="/zingchart/zingchart.min.js"></script>
</head>
<body>
  <!-- Chart Component [2] -->
  <div id="myChart"></div>

  <script type="module">
    
    import {zingchart, ZC} from './zingchart/zingchart-es6.js';
    import './zingchart/modules-es6/zingchart-pareto.min.js';
    
    let chartConfig = {
      type: 'pareto',
      series: [
        {
          values: [
            4642,
            4345,
            2350,
            1251
          ]
        }
      ]
    };

    // Render Method[3]
    zingchart.render({ 
      id: 'myChart',
      data: chartConfig,
      height: 400,
      width: '100%'
    });
  </script>
</body>
</html>

Resources:

Package Directory

The package includes the following:

|   README.md
|   zingchart.min.js
|   zingchart-es6.min.js
├── modules
|   ├── zingchart-3d.min.js
|   ├── ...
├── modules-es6
|   ├── zingchart-3d.min.js
|   ├── ...

Support

If you need any assistance or would like to report any bugs found in ZingChart, please contact us at [email protected] or through our chat client on our website www.zingchart.com

More Repositories

1

zingtouch

A JavaScript touch gesture detection library for the modern web
JavaScript
2,120
star
2

awesome-charting

A curated list of the best charting and dataviz resources that developers may find useful, including the best JavaScript charting libraries
1,858
star
3

zingchart-react

Quickly create dynamic JavaScript charts with ZingChart & React.
JavaScript
90
star
4

ZingChart-AngularJS

ZingChart AngularJS Directive
JavaScript
80
star
5

ZingChart-jQuery

Easy ZingChart manipulation and interactivity for jQuery users.
JavaScript
45
star
6

ZingChart-PHP

Wrapper for ZingChart for easy chart manipulation and interactivity for PHP users.
PHP
43
star
7

zingchart-vue

A Vue component to create charts with ZingChart
Vue
24
star
8

ZingChart-Backbone

Turn simple Models and Views into snazzy charts with our Backbone extension for ZingChart
JavaScript
20
star
9

ZingChart-Demos

A collection of tutorials and demos for using ZingChart. Clone, fork, and get started with the best Javascript charting library.
18
star
10

ZingChart-Ember

A ZingChart component for Ember CLI
JavaScript
18
star
11

gitbook-plugin-code-editor

Plugin for Gitbook that displays and runs code from external file. Code is displayed in an Ace editor.
JavaScript
13
star
12

zingchart-locale

This repository contains example locale variables you can include in your ZingChart library. This mostly affects native text in features like context menu text.
JavaScript
6
star
13

google-spreadsheet-plugin

Module to import data from your Google Spreadsheet into ZingChart.
JavaScript
4
star
14

gitbook-plugin-zingchart

ZingChart plugin for Gitbook
JavaScript
2
star
15

selection-tool

Open Source Module to drag and select nodes.
2
star
16

zingchart-web-component

A web component wrapper for ZingChart
JavaScript
1
star
17

export-server

A headless chrome puppeteer export server to generate chart images.
JavaScript
1
star
18

zingchart-angular

Quickly create dynamic JavaScript charts with ZingChart & Angular.
TypeScript
1
star