Comparing version 0.6.3 to 0.6.4
@@ -104,2 +104,3 @@ 'use strict'; | ||
xAxisTickValues: props.xAxisTickValues, | ||
xAxisTickCount: props.xAxisTickCount, | ||
xAxisTickInterval: props.xAxisTickInterval, | ||
@@ -106,0 +107,0 @@ xAxisOffset: props.xAxisOffset, |
@@ -28,2 +28,3 @@ 'use strict'; | ||
xOrient: React.PropTypes.oneOf(['top', 'bottom']), | ||
xScale: React.PropTypes.func, | ||
yAccessor: React.PropTypes.func, | ||
@@ -37,3 +38,4 @@ yAxisFormatter: React.PropTypes.func, | ||
yAxisOffset: React.PropTypes.number, | ||
yOrient: React.PropTypes.oneOf(['default', 'left', 'right']) | ||
yOrient: React.PropTypes.oneOf(['default', 'left', 'right']), | ||
yScale: React.PropTypes.func | ||
}, | ||
@@ -62,2 +64,3 @@ | ||
xOrient: 'bottom', | ||
// xScale: no predefined value right now | ||
// yAxisFormatter: no predefined value right now | ||
@@ -73,2 +76,3 @@ yAxisLabel: '', | ||
}, | ||
// yScale: no predefined value right now | ||
getYOrient: function getYOrient() { | ||
@@ -75,0 +79,0 @@ var yOrient = this.props.yOrient; |
{ | ||
"name": "rd3", | ||
"version": "0.6.3", | ||
"version": "0.6.4", | ||
"description": "ReactJS charts using d3", | ||
@@ -5,0 +5,0 @@ "author": "Lim Yang Wei", |
@@ -1,3 +0,3 @@ | ||
## rd3 (forked from [react-d3](https://github.com/esbullington/react-d3)) | ||
Modular ReactJS charts made using d3 chart utilities. Work on project documentation has started [here](https://github.com/esbullington/react-d3/wiki). A few examples of the available charts can be seen below, the others can be [viewed here](https://reactiva.github.io/react-d3-website/), side-by-side with the React code that generates the charts. | ||
## [rd3](https://github.com/yang-wei/rd3) (forked from [react-d3](https://github.com/esbullington/react-d3)) | ||
Modular ReactJS charts made using d3 chart utilities. | ||
@@ -16,6 +16,21 @@ [![npm version](https://badge.fury.io/js/rd3.svg)](https://badge.fury.io/js/rd3) | ||
Note: rd3 depends on react and d3, you will need to include those scripts if you aren't yet. | ||
* https://npmcdn.com/react/dist/react.min.js | ||
* https://npmcdn.com/react-dom/dist/react-dom.min.js | ||
* https://npmcdn.com/d3 | ||
You can refer to [fiddle example](https://yang-wei.github.io/rd3/docs/new/charts/areaChart.html) too. | ||
### NPM | ||
Or via `npm`: | ||
If you havn't installed `react` and `d3` then: | ||
``` | ||
npm install react react-dom | ||
npm install d3 | ||
``` | ||
``` | ||
npm install rd3 | ||
@@ -32,3 +47,3 @@ ``` | ||
The charts are then available under the `rd3` namespace, which you can then use as shown on the [demonstration page](https://reactiva.github.io/react-d3-website/): | ||
The charts are then available under the `rd3` namespace, which you can then use as shown on the [documentation](https://yang-wei.github.io/rd3/): | ||
@@ -47,3 +62,3 @@ ### Available Charts | ||
For usage, please see [here](https://reactiva.github.io/react-d3-website/). [API documentation](https://github.com/esbullington/react-d3/wiki/API) is also coming online over the coming days. | ||
For usage, please see [here](https://yang-wei.github.io/rd3). | ||
@@ -53,4 +68,3 @@ ### Support | ||
* Chat: [![Join the chat at https://gitter.im/esbullington/react-d3](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/esbullington/react-d3?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) | ||
* Issues: [react-d3 issues](https://github.com/esbullington/react-d3/issues) on Github | ||
* Support: [react-d3 Google Groups email list](https://groups.google.com/forum/#!forum/react-d3) | ||
* Issues: [rd3 issues](https://github.com/yang-wei/rd3/issues) on Github | ||
@@ -65,2 +79,2 @@ ### Background | ||
Copyright (c) 2014-2015 Eric. S Bullington, Lim Yang Wei, and project [contributors](https://github.com/esbullington/react-d3/graphs/contributors) | ||
Copyright (c) 2014-2016 Eric. S Bullington, Lim Yang Wei, and project [contributors](https://github.com/yang-wei/rd3/graphs/contributors) |
{ | ||
"name": "rd3", | ||
"version": "0.6.3", | ||
"version": "0.6.4", | ||
"description": "ReactJS charts using d3", | ||
@@ -74,3 +74,8 @@ "author": "Lim Yang Wei", | ||
"lint": "./node_modules/eslint/bin/eslint.js --ext .jsx --ext .js src", | ||
"lint:fix": "./node_modules/eslint/bin/eslint.js --fix --ext .jsx --ext .js src" | ||
"lint:fix": "./node_modules/eslint/bin/eslint.js --fix --ext .jsx --ext .js src", | ||
"docs:clean": "rm -rf _book", | ||
"docs:prepare": "gitbook install", | ||
"docs:build": "npm run docs:prepare && gitbook build", | ||
"docs:watch": "npm run docs:prepare && gitbook serve", | ||
"docs:publish": "npm run docs:clean && npm run docs:build && cd _book && git init && git commit --allow-empty -m 'update book' && git checkout -b gh-pages && touch .nojekyll && git add . && git commit -am 'update book' && git push git@github.com:yang-wei/rd3 gh-pages --force" | ||
}, | ||
@@ -77,0 +82,0 @@ "browserify": { |
@@ -1,3 +0,3 @@ | ||
## rd3 (forked from [react-d3](https://github.com/esbullington/react-d3)) | ||
Modular ReactJS charts made using d3 chart utilities. Work on project documentation has started [here](https://github.com/esbullington/react-d3/wiki). A few examples of the available charts can be seen below, the others can be [viewed here](https://reactiva.github.io/react-d3-website/), side-by-side with the React code that generates the charts. | ||
## [rd3](https://github.com/yang-wei/rd3) (forked from [react-d3](https://github.com/esbullington/react-d3)) | ||
Modular ReactJS charts made using d3 chart utilities. | ||
@@ -16,6 +16,21 @@ [![npm version](https://badge.fury.io/js/rd3.svg)](https://badge.fury.io/js/rd3) | ||
Note: rd3 depends on react and d3, you will need to include those scripts if you aren't yet. | ||
* https://npmcdn.com/react/dist/react.min.js | ||
* https://npmcdn.com/react-dom/dist/react-dom.min.js | ||
* https://npmcdn.com/d3 | ||
You can refer to [fiddle example](https://yang-wei.github.io/rd3/docs/new/charts/areaChart.html) too. | ||
### NPM | ||
Or via `npm`: | ||
If you havn't installed `react` and `d3` then: | ||
``` | ||
npm install react react-dom | ||
npm install d3 | ||
``` | ||
``` | ||
npm install rd3 | ||
@@ -32,3 +47,3 @@ ``` | ||
The charts are then available under the `rd3` namespace, which you can then use as shown on the [demonstration page](https://reactiva.github.io/react-d3-website/): | ||
The charts are then available under the `rd3` namespace, which you can then use as shown on the [documentation](https://yang-wei.github.io/rd3/): | ||
@@ -47,3 +62,3 @@ ### Available Charts | ||
For usage, please see [here](https://reactiva.github.io/react-d3-website/). [API documentation](https://github.com/esbullington/react-d3/wiki/API) is also coming online over the coming days. | ||
For usage, please see [here](https://yang-wei.github.io/rd3). | ||
@@ -53,4 +68,3 @@ ### Support | ||
* Chat: [![Join the chat at https://gitter.im/esbullington/react-d3](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/esbullington/react-d3?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) | ||
* Issues: [react-d3 issues](https://github.com/esbullington/react-d3/issues) on Github | ||
* Support: [react-d3 Google Groups email list](https://groups.google.com/forum/#!forum/react-d3) | ||
* Issues: [rd3 issues](https://github.com/yang-wei/rd3/issues) on Github | ||
@@ -65,2 +79,2 @@ ### Background | ||
Copyright (c) 2014-2015 Eric. S Bullington, Lim Yang Wei, and project [contributors](https://github.com/esbullington/react-d3/graphs/contributors) | ||
Copyright (c) 2014-2016 Eric. S Bullington, Lim Yang Wei, and project [contributors](https://github.com/yang-wei/rd3/graphs/contributors) |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
626813
76
7201
76