GithubHelp home page GithubHelp logo

rlugojr / zingchart Goto Github PK

View Code? Open in Web Editor NEW

This project forked from zingchart/zingchart

0.0 3.0 0.0 18.04 MB

:bar_chart: ZingChart is a powerful library that provides users with the ability to quickly create beautiful charts, dashboards, and infographics. Choose from hundreds of chart types with nearly limitless chart design and customization options. Connect your data and take granular control of your charts with our powerful API.

Home Page: http://www.zingchart.com

JavaScript 100.00%

zingchart's Introduction

ZingChart

Build v2.4.0

For more info on using ZingChart, see the docs: http://www.zingchart.com/docs

Note : The new default theme for v2.2.0 will break charts created using previous builds.
A 'classic' theme is provided for backwards compatibility.
The new theme can be set in three different ways:
    1. Global (ex : zingchart.THEME = 'light';)
    2. In the render object with the 'theme' parameter
    3. In the chart object.

Install

bower

bower install zingchart

npm

npm install zingchart

cdn

http://cdn.zingchart.com/zingchart.min.js

cdn on cdnjs

https://cdnjs.com/libraries/zingchart

Quick Start

Include a reference to the zingchart library

<script src="zingchart.min.js"></script>

The zingchart object is now accessible. Happy charting!

<div id="chart"></div>
<script>
window.onload = function() {
zingchart.render({
    id: "chart",
    data: {
        type: "line",
        series: [{ values: [5,10,15,5,10,5] }]
    }
    });
};
</script>

Browserify

This package supports the CommonJS module format to be used with bundlers such as Browserify when being used with NPM.

Usage : var zingchart = require('zingchart');

Package Directory

The package includes the following:

|   README.md
├── client
│   ├── zingchart.min.js
│   ├── modules
├── custom
│   ├── build.js
|   ...

Custom Build

(requires Node.js)

The zingchart.min.js file in the root directory is a fully functional build which includes the majority of functionality within the library. If you wanted to slim down the library and only provide functionality that you need, we have included a build tool that allows you to create a custom library build for the client side version. The /modules folder contains a complete collection of dependencies for the zingchart library.

For example, if you wanted to create a build that only contained functionality for line and pie charts, you would run the command

$ node build.js <configPath> <modules>
  • configPath (optional) - The path to the .cnf file to provide module options
  • modules (optional) -The module arguments to provide the build tool without using a .cnf file.

Both examples will provide the same functionality for the line/pie example.

Example 1

$ node build.js zingchart.cnf

Inside zingchart.cnf:

{"modules":["line","pie"]}

Example 2

$ node build.js line pie

Integrations

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.

Contextual Demos

We're always working on new demos to help users get started using ZingChart with their framework or database. Take a look at our Demo repo to see if we've covered your toolset. Let us know if we haven't or if you need help with an existing implementation.

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

zingchart's People

Contributors

mike-schultz avatar jbogartpint avatar nmastracchio avatar peterdavehello avatar dspint avatar zingchart-bot avatar bsitruk avatar animaldna avatar tpowell avatar

Watchers

James Cloos avatar Ray Lugo, Jr. avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.