0.1.0 • Published 8 years ago

ngplot v0.1.0

Weekly downloads
4
License
MIT
Repository
github
Last release
8 years ago

ngPlot

Pure JavaScript plotting plugin for jQuery with AngularJS support, based on jqPlot.

Home page: http://ngPlot.github.io/ngPlot/

Examples: http://ngPlot.github.io/ngPlot/examples/

Documentation: http://ngPlot.github.io/ngPlot/docs/

Project page and source code: https://github.com/ngPlot/ngPlot/

Bugs, issues, feature requests: http://github.com/ngPlot/ngPlot/issues/

Install:

Direct download:

https://github.com/ngPlot/ngPlot/releases/

curl -L https://github.com/ngPlot/ngPlot/tarball/master -o ngPlot.tar.gz
tar -zxf ngPlot.tar.gz

Bower:

bower install ngplot

NPM:

npm install ngplot

Building from source:

  1. Clone the repository into the folder of your choice.
  2. Install NodeJS
  3. ngPlot is a NPM module so you can run npm install to install the necessary "npm" dependencies like "grunt".
  4. Grunt is used to build the application and documentation from source. What is Grunt Run grunt to build the application for local use. Or run grunt build to create the documentation, plus create the zip file, ready for distribution.
git clone https://github.com/ngPlot/ngPlot.git
npm install
grunt

Basic Usage Instructions:

ngPlot requires jQuery (1.4+ required for certain features). To use ngPlot, include jQuery, the ngPlot jQuery plugin, the ngPlot css file in your web page:

<script language="javascript" type="text/javascript" src="jquery-1.9.1.min.js"></script>
<script language="javascript" type="text/javascript" src="ngplot.min.js"></script>
<link rel="stylesheet" type="text/css" href="ngplot.css" />

For more information, see the documentation and examples.

Browser support:

IE: 9+

Firefox: TBD

Chrome: TBD

Safari: TBD

Legal Notices:

Copyright (c) 2015 Christoph Möke

ngPlot is a plotting and charting plugin for the jQuery Javascript framework with AngularJS support, based on jqPlot. ngPlot is currently available for use in all personal or commercial projects under both the MIT and GPL version 2.0 licenses. This means that you can choose the license that best suits your project and use it accordingly.

ngPlot is based on jqPlot and it includes date instance methods and printf/sprintf functions by other authors.

jqPlot:

Copyright (c) 2009-2015 Chris Leonello
date 2015-12-02
version 1.0.8 (http://www.jqplot.com/)
jqPlot is currently available for use in all personal or commercial projects
under both the MIT and GPL version 2.0 licenses.

Date instance methods:

author Ken Snyder (ken d snyder at gmail dot com)
date 2008-09-10
version 2.0.2 (http://kendsnyder.com/sandbox/date/)
license Creative Commons Attribution License 3.0 (http://creativecommons.org/licenses/by/3.0/)

JavaScript printf/sprintf functions:

version 2007.04.27
author Ash Searle
http://hexmen.com/blog/2007/03/printf-sprintf/
http://hexmen.com/js/sprintf.js
The author (Ash Searle) has placed this code in the public domain:
"This code is unrestricted: you are free to use it however you like."

included jsDate library by Chris Leonello:

author Chris Leonello
Copyright (c) 2010-2015 jsDate is currently available for use in all personal or commercial projects
under both the MIT and GPL version 2.0 licenses.

jsDate borrows many concepts and ideas from the Date Instance
Methods by Ken Snyder along with some parts of Ken's actual code.

jqplotToImage function based on Larry Siden's export-jqplot-to-png.js.

author Larry Siden
https://github.com/lsiden/export-jqplot-to-png
Larry has generously given permission to adapt his code for inclusion into jqPlot.
jqplotToImage is currently available for use in all personal or commercial projects
under both the MIT and GPL version 2.0 licenses.