Skip to content
This repository was archived by the owner on Jul 19, 2019. It is now read-only.

Commit 5806d20

Browse files
committed
v0.6.0
1 parent afac2df commit 5806d20

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-chartjs",
3-
"version": "0.5.0",
3+
"version": "0.6.0",
44
"description": "react charting components using the chartjs lib",
55
"main": "index.js",
66
"scripts": {

release-notes.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,19 @@
11
# Release Notes
22

3+
## v0.6.0 - March 25th, 2015
4+
- [#12](https://github.com/jhudson8/react-chartjs/pull/12) - Allow custom chart types. ([@tcard](https://api.github.com/users/tcard))
5+
- [#11](https://github.com/jhudson8/react-chartjs/pull/11) - fix failed to update points for doughnut chart ([@neoalienson](https://api.github.com/users/neoal
6+
ienson))
7+
8+
a ```createChart``` method is exposed
9+
10+
description from associated PR
11+
12+
This changeset exposes the createClass method in lib/core, and adds a third argument to it so that you can pass the dataKey value that was previously fixed in the dataKeys variable.
13+
14+
E. g. if you want to use https://github.com/Regaddi/Chart.StackedBar.js, you would do something like var StackedBarChart = require('react-chartjs').createClass('StackedBar', ['getBarsAtEvent'], 'bars'); (provided you previously registered StackedBar with Chart.js, of course).
15+
16+
317
## v0.5.0 - February 23rd, 2015
418
- Added a ```getChart``` method on the chart components to return the chartjs object
519
- Added a ```getCanvass``` method on the chart components to return the canvass DOM element

0 commit comments

Comments
 (0)