Releases: reactchartjs/react-chartjs-2
Releases · reactchartjs/react-chartjs-2
Chart.js defaults
Exports defaults for usage with react-chartjs-2
Usage in README
cuddos @nrdobie
Bubble chart type added
import {Bubble} from 'react-chartjs-2'
Update chart.js dependency to 2.3.0
Merge pull request #36 from dcworldwide/dcworldwide-upgrade-chartjs Update chart.js dependency to 2.3.0
Typescript 2.0 type definitions - imports
Fixes React import declaration
Typescript 2.0 type definitions
1.2.7 1.2.7
DeepEqual implementation improvements
1.2.6 1.2.6
.npmignore
Add src to npmignore to avoid potential issues when compiling lib
Render optimisation - onElementsClick
Avoid comparing onElementsClick
in shouldComponentUpdate
Credits: @lutovich
Chart instance
Chart instance can now be referenced by usage of refs
on the component.
Canvas width/height should match W3C standards
Width 300
Height 150
=> https://www.w3.org/TR/2013/NOTE-html5-author-20130528/the-canvas-element.html#the-canvas-element
Thanks @ledsun for reporting