None
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Go to file
lihongxun 2a394feab3 add grunt, see more in README.md about how to use intstall and use grunt 11 years ago
deprecated Issue #68 updated indentedTree model to standard format 12 years ago
examples Merge pull request #112 from ruzz311/development 11 years ago
lib added d3 v3 to lib folder 11 years ago
src add grunt, see more in README.md about how to use intstall and use grunt 11 years ago
.gitignore add grunt, see more in README.md about how to use intstall and use grunt 11 years ago
.jshintrc add grunt, see more in README.md about how to use intstall and use grunt 11 years ago
GruntFile.js add grunt, see more in README.md about how to use intstall and use grunt 11 years ago
LICENSE.md Changing License to Apache v2 12 years ago
Makefile Added lineplusbarwithfocuschart to makefile 11 years ago
README.md add grunt, see more in README.md about how to use intstall and use grunt 11 years ago
build.bat Getting stuff ready to be cleaned, moving stuff that will be deleted into the deprecated folder 12 years ago
nv.d3.js add grunt, see more in README.md about how to use intstall and use grunt 11 years ago
nv.d3.min.js add grunt, see more in README.md about how to use intstall and use grunt 11 years ago
package.json add grunt, see more in README.md about how to use intstall and use grunt 11 years ago

README.md

Please see Novus' official statement on nvd3 with an explanation, apology, and commitment to its permanent status as an open-source project. http://nvd3.org/statement.html

nvd3 - v0.0.1

A reusable chart library for d3.JS.

Currently in an early stage of development, but will be a very active project. It may change quite a bit from its current state, but will always try to follow the style in which d3.js was done.

You can also check out the examples page


Current Improvement focus

Upgrade to d3.v3 in progress!


If one of the existing models doesn't meet your needs, fork the project, implement the model and an example using it, send us a pull request, for consideration for inclusion in the project.

Please do not aggregate pull requests. Aggregated pull requests are actually more difficult to review!

We are currently changing our branch structure so that master will be gauranteed stable. In addition, there is now a "development" branch. This branch reflects the latest changes to nvd3 and is not necessarily stable.


Minifying your fork:

The Makefile requires UglifyJS.

The easiest way to install is to install via npm. Run npm install uglify-js from your home directory, then add the output from npm bin into your path so that you have access to uglifyjs from the command line (remember to restart your terminal window when adding to the path.)

Once you have uglifyjs command available, running make from your fork's root directory will rebuild both nv.d3.js and nv.d3.min.js.

Without UglifyJS, you won't get the minified version when running make.

use grunt

You can use grunt insteadof makefile to build js file. See more about grunt. Nodejs must be installed before you can use grunt. Run npm install in root dir to install grunt and it's dependencies.

Then, you can use these commands:

grunt # build nv.d3.js
grunt production # build nv.d3.js and nv.d3.min.js
grunt watch # watch file changes in src/, and rebuild nv.d3.js, it's very helpful when delevop nvd3
grunt lint # run jshint on src/**/*.js

**We ask that you DO NOT minify pull requests... If you need to minify please build pull request in separate branch, and merge and minify in your master.

(Officially) Supported Browsers

  • Chrome latest version (preferred)
  • Firefox latest version
  • Safari latest version
  • Internet Explorer 9 and 10