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

(feat) Chart.js 2.0-dev compatibility - #87

Closed
danmolitor wants to merge 1 commit into
reactjs:masterfrom
danmolitor:chartjs2dev
Closed

danmolitor wants to merge 1 commit into
reactjs:masterfrom
danmolitor:chartjs2dev

Conversation

@danmolitor

Copy link
Copy Markdown

After reading about Chart.js 2.0's performance upgrades, I've updated react-chartjs to be compatible with the Chart.js most up to date 2.0-dev branch, including the new bubble and scatter charts. By moving from 1.0.2 to 2.0, the time it takes a simple line-chart to render has dropped significantly.

Since people may still want to use Chart.js v1.0.2., if you don't want to merge yet people can still use this version by updating their dependencies in their project's package.json to:

"chart.js": "git://github.com/danmolitor/Chart.js.git#v2.0-dev",
"react-chartjs": "git+https://github.com/danmolitor/react-chartjs.git"

I've attached a image showing the original charts using Chart.js v2.0-dev.

react-chartjs2

@danmolitor
danmolitor force-pushed the chartjs2dev branch 3 times, most recently from e1fa37d to 55c0780 Compare March 23, 2016 23:02
@RamonBeast

Copy link
Copy Markdown

+1

@austinpray

Copy link
Copy Markdown
Contributor

Thank you for the PR!

I made a branch here: https://github.com/jhudson8/react-chartjs/tree/chartjs-v2

Can you resubmit this PR against this branch so we can consolidate effort towards v2?

@austinpray austinpray mentioned this pull request Mar 27, 2016
@danmolitor

Copy link
Copy Markdown
Author

Definitely! I'll do that now.

@danmolitor

Copy link
Copy Markdown
Author

Hey Austin!

Just making sure I do this correctly, is the best way to do this by closing this PR, and reopening a new one to the new branch?

@austinpray

Copy link
Copy Markdown
Contributor

Yep, close and recreate the PR.

related: isaacs/github#18

@danmolitor danmolitor closed this Mar 27, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants