Chart.js icon indicating copy to clipboard operation
Chart.js copied to clipboard

Upgrading steps from 1.02 to 2.16 on existing project

Open zeewelc opened this issue 10 years ago • 2 comments

Hello,

I have a task to upgrade Chart.js on our project from v. 1.02 to the current, which is 2.16... which is a long way, I know :)

So I used the bundle js file (Chart.bundle.js), but not getting the charts loaded. Instead, im getting this error:

http://res.cloudinary.com/jackdenied/image/upload/v1468423122/Screenshot_2016-07-13_16.15.42_ugbas7.png

Is that possible to upgrade from 1.02 to 2.16 with some simple fix (eg syntax above) or changes were that big, so this is just not possible as straight forward file replacement?

thanks, Zee

zeewelc avatar Jul 13 '16 15:07 zeewelc

@zeewelc for the most part, the upgrade will be straightforward. You'll have to translate the old options into the new options, but you should be able to achieve everything.

etimberg avatar Jul 13 '16 22:07 etimberg

Duplicate of #1925

etimberg avatar Jul 16 '16 15:07 etimberg