react-chartjs-2
Advanced tools
Comparing version 1.6.2 to 2.0.0
@@ -35,3 +35,3 @@ require=(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){ | ||
'div', | ||
{ style: {} }, | ||
null, | ||
_react2.default.createElement( | ||
@@ -44,6 +44,5 @@ 'h2', | ||
data: data, | ||
width: 300, | ||
height: 500, | ||
width: 100, | ||
height: 50, | ||
options: { | ||
responsive: true, | ||
maintainAspectRatio: false | ||
@@ -754,3 +753,2 @@ } | ||
},{"./components/bar":1,"./components/bubble":2,"./components/doughnut":3,"./components/dynamic-doughnut":4,"./components/horizontalBar":5,"./components/line":6,"./components/mix":7,"./components/pie":8,"./components/polar":9,"./components/radar":10,"./components/randomizedLine":11,"react":undefined,"react-dom":undefined}]},{},[12]) | ||
//# sourceMappingURL=data:application/json;charset:utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIm5vZGVfbW9kdWxlcy9icm93c2VyLXBhY2svX3ByZWx1ZGUuanMiLCJleGFtcGxlL3NyYy9jb21wb25lbnRzL2Jhci5qcyIsImV4YW1wbGUvc3JjL2NvbXBvbmVudHMvYnViYmxlLmpzIiwiZXhhbXBsZS9zcmMvY29tcG9uZW50cy9kb3VnaG51dC5qcyIsImV4YW1wbGUvc3JjL2NvbXBvbmVudHMvZHluYW1pYy1kb3VnaG51dC5qcyIsImV4YW1wbGUvc3JjL2NvbXBvbmVudHMvaG9yaXpvbnRhbEJhci5qcyIsImV4YW1wbGUvc3JjL2NvbXBvbmVudHMvbGluZS5qcyIsImV4YW1wbGUvc3JjL2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J1YmJsZUV4YW1wbGUgLz5cblx0XHRcdFx0PGhyIC8+XG5cdFx0XHRcdDxNaXhlZERhdGFFeGFtcGxlIC8+XG5cdFx0XHRcdDxociAvPlxuXHRcdFx0XHQ8UmFuZG9taXplZERhdGFMaW5lRXhhbXBsZSAvPlxuXHRcdFx0PC9kaXY+XG5cdFx0KTtcblx0fVxufVxuXG5SZWFjdERPTS5yZW5kZXIoPEFwcCAvPiwgZG9jdW1lbnQuZ2V0RWxlbWVudEJ5SWQoJ2FwcCcpKTtcbiJdfQ== | ||
},{"./components/bar":1,"./components/bubble":2,"./components/doughnut":3,"./components/dynamic-doughnut":4,"./components/horizontalBar":5,"./components/line":6,"./components/mix":7,"./components/pie":8,"./components/polar":9,"./components/radar":10,"./components/randomizedLine":11,"react":undefined,"react-dom":undefined}]},{},[12]); |
{ | ||
"name": "react-chartjs-2", | ||
"version": "1.6.2", | ||
"version": "2.0.0", | ||
"description": "react-chartjs-2", | ||
@@ -16,3 +16,2 @@ "main": "lib/index.js", | ||
"dependencies": { | ||
"chart.js": "~2.3.0", | ||
"lodash.isequal": "^4.4.0" | ||
@@ -31,2 +30,3 @@ }, | ||
"chai": "^3.5.0", | ||
"chart.js": "^2.3.0", | ||
"debug": "^2.4.1", | ||
@@ -46,2 +46,3 @@ "enzyme": "^2.6.0", | ||
"peerDependencies": { | ||
"chart.js": "^2.3", | ||
"react": "^0.14 || ^15.0.0-rc || ^15.0", | ||
@@ -68,4 +69,6 @@ "react-dom": "^0.14 || ^15.0.0-rc || ^15.0" | ||
"chart-js", | ||
"chart.js" | ||
"chart.js", | ||
"react-chartjs-2", | ||
"react chart.js" | ||
] | ||
} |
@@ -8,6 +8,9 @@ [![build status]( https://img.shields.io/travis/gor181/react-chartjs-2.svg?branch=master&style=flat-square)](https://travis-ci.org/gor181/react-chartjs-2) | ||
React wrapper for [Chart.js 2](http://www.chartjs.org/docs/#getting-started) | ||
React wrapper for [Chart.js 2](http://www.chartjs.org/docs/#getting-started) | ||
Open for PR's and contributions! | ||
# UPDATE | ||
# UPDATE to 2.x | ||
As of 2.x we have made chart.js a peer dependency for greater flexibility. Please add chart.js as a dependency on your project to use 2.x. Currently, 2.4.x is the recommended version of chart.js to use. | ||
# Looking for Contributors! | ||
Actively looking for contributors as for the moment I do not have enough time to dedicate for maintaining this lib. | ||
@@ -74,3 +77,3 @@ All contributors can add themselves to Contributors section at the bottom of README. | ||
### Chart.js instance | ||
### Chart.js instance | ||
Chart.js instance can be accessed by placing a ref to the element as: | ||
@@ -175,3 +178,3 @@ | ||
## Thanks | ||
## Thanks | ||
@@ -182,3 +185,3 @@ Jed Watson for making react-component yo builder! | ||
MIT Licensed | ||
MIT Licensed | ||
Copyright (c) 2016 Goran Udosic | ||
@@ -185,0 +188,0 @@ |
@@ -7,3 +7,3 @@ import React from 'react'; | ||
import Chart from '../../src/index'; | ||
import Chart, { Chart as ChartConstructor } from '../../src/index'; | ||
@@ -31,2 +31,10 @@ const noop = () => {}; | ||
ChartConstructor.plugins.register({ | ||
afterInit: function (chartInstance) { | ||
chartInstance.getDatasetAtEvent = function (e) { | ||
return ChartConstructor.Interaction.modes.dataset(this, e, this.options); | ||
}; | ||
} | ||
}); | ||
const mountComponent = props => mount( | ||
@@ -33,0 +41,0 @@ <Chart data={data} {...props} />, |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
187
2606181
23
69711
+ Addedchart.js@2.9.4(transitive)
- Removedchart.js@~2.3.0
- Removedchart.js@2.3.0(transitive)