{"id":7680,"date":"2015-10-09T03:42:36","date_gmt":"2015-10-09T03:42:36","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2015\/10\/09\/novus-nvd3\/"},"modified":"2015-10-09T03:42:36","modified_gmt":"2015-10-09T03:42:36","slug":"novus-nvd3","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2015\/10\/09\/novus-nvd3\/","title":{"rendered":"novus\/nvd3"},"content":{"rendered":"<p>Inspired by the work of Mike Bostock\u2019s Towards Reusable Charts, and supported by a combined effort of Novus and the NVD3 community.<\/p>\n<p>View Examples | NEW Documentation! | Development build status: <img decoding=\"async\" src=\"http:\/\/travis-ci.org\/novus\/nvd3.svg?branch=development\" \/><\/p>\n<h2>Usage<\/h2>\n<p>Simply add the <code>nv.d3<\/code> assets to your project and include them in your HTML.<\/p>\n<pre><code>\n\n<\/code><\/pre>\n<ul>\n<li><code>nv.d3.js<\/code> should appear after <code>d3.js<\/code> is included.<\/li>\n<li>Prefer minified assets (<code>.min<\/code>) for production.<\/li>\n<\/ul>\n<h3>Dependencies<\/h3>\n<p>NVD3 depends on d3.js, and is tested on version 3.3.13. There is currently a minor bug associated with version 3.5.<\/p>\n<h2>Supported Browsers<\/h2>\n<p>NVD3 runs best on WebKit based browsers.<\/p>\n<ul>\n<li>Google Chrome: latest version<\/li>\n<li>Opera 15+ (i.e. webkit version)<\/li>\n<li>Safari: latest version<\/li>\n<li>Firefox: latest version<\/li>\n<li>Internet Explorer: 10+<\/li>\n<\/ul>\n<h2>Changelog<\/h2>\n<p><strong>1.7.1<\/strong> Changes:<\/p>\n<ul>\n<li>Fixed axis.staggerLabels bug.<\/li>\n<li>Fixed Karma unit tests.<\/li>\n<li>Fixed chart test pages.<\/li>\n<li>Merged in nvd3-community changes and development branch.<\/li>\n<\/ul>\n<p><strong>1.7.0<\/strong> Changes:<\/p>\n<ul>\n<li>Fixes around 20 small bugs.<\/li>\n<li>Fixed the notorious slowness of line charts and scatter plots on chrome<\/li>\n<li>Combined the scatterChart and scatterChartWithLines models<\/li>\n<li>Combined the linePlusBarChart and linePlusBarChartWithFocus models.<\/li>\n<li>renamed some of the options (see the new documentation for what options are available for each chart)<\/li>\n<li>Completed the migration of the option functions to an object format which allows the generation of the documentation in an automated way. Not everything has a description yet, but check it out!<\/li>\n<li>Added extra options to the donut charts based on features that will be in d3 3.5. The donut example page loads the latest d3 from their 3.5 branch so keep that in mind.<\/li>\n<li>Added an example of the parallelCoordinates chart.<\/li>\n<li>Fixed up the half-done OHLC bar chart, and made an example for it as well.<\/li>\n<\/ul>\n<p><strong>1.6.0<\/strong> Changes:<\/p>\n<ul>\n<li>includes about a dozen bug fixes and pull requests I fixed and merged in from the issues\/pulls from the original project.<\/li>\n<li>It also standardized all indention<\/li>\n<\/ul>\n<h2>Current development focus<\/h2>\n<ul>\n<li>Review outstanding pull requests and issues.<\/li>\n<li>Try to find an easy way to actually document usage and all chart options.<\/li>\n<li>Improve the testing framework.<\/li>\n<li>Setup continuous integration.<\/li>\n<\/ul>\n<p>Found a bug? Check out the <code>development<\/code> branch and make sure it\u2019s not already fixed first! If you don\u2019t see a related fix, please open an issue.<\/p>\n<h2>Contributing<\/h2>\n<p>If one of the existing models doesn\u2019t 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.<\/p>\n<p>If you\u2019d like to contribute consistently, show me what you\u2019ve got with some good pull requests and you may get added to the nvd3-community org!<\/p>\n<h3>A few rules for pull requests<\/h3>\n<ol>\n<li>Please commit to the <code>development<\/code> branch<\/li>\n<li>Do NOT check in anything under the <code>build<\/code> directory, it clutters up the commit and just gets overwritten later.<\/li>\n<li>All new features must come with unit test coverage<\/li>\n<li>Bug fixes should come with unit tests that prove their fix<\/li>\n<\/ol>\n<p>If you want to test your changes using the example pages, you\u2019ll have to run <code>grunt production<\/code> to build the items into the <code>build<\/code> directory. You must do this before your changes show up in the examples, as they link to the build directory in order to properly show off the finished product. Please remember to NOT include the build files in your commit though, only include the source files you changed!<\/p>\n<h3>Tips for Testing<\/h3>\n<ul>\n<li>Unit tests were written in Karma and Mocha. Follow instructions in <strong>Building Latest<\/strong> to get npm packages setup. This may not work on Windows machines.<\/li>\n<li>Run <code>grunt<\/code> to start the unit tests.<\/li>\n<li>Also visually inspect the HTML pages in the <strong>examples\/ and test\/ folders<\/strong>. Make sure there are no glaring errors.<\/li>\n<li>Novus now uses Travis CI for continuous integration. Visit our travis build page to see the latest status.<\/li>\n<\/ul>\n<h2>Building latest<\/h2>\n<ol>\n<li>First clone the repository and checkout the \u201cdevelopment\u201d branch<\/li>\n<li>make sure nodejs is installed via your system\u2019s package manager.<\/li>\n<li>Install grunt-cli and bower: npm install -g bower grunt-cli<\/li>\n<\/ol>\n<blockquote>\n<p>have node download it\u2019s required modules with: npm install<\/p>\n<\/blockquote>\n<blockquote>\n<p>install grunt globally: sudo npm install -g grunt<\/p>\n<\/blockquote>\n<blockquote>\n<p>build with: grunt production<\/p>\n<\/blockquote>\n<p>You should now have a <code>build<\/code> directory with the js and css files within.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Inspired by the work of Mike Bostock\u2019s Towards Reusable Charts, and supported by a combined effort of Novus and the NVD3 community. View Examples | NEW Documentation! | Development build status: Usage Simply add the nv.d3 assets to your project and include them in your HTML. nv.d3.js should appear after d3.js is included. Prefer minified [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-7680","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/7680","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=7680"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/7680\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=7680"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=7680"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=7680"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}