FVANCOP/ChartNew.js — pull request #210 by FVANCOP (2014-12-20 21:24:31+00:00)
Title: Chart new v2

ChartNew.js version 2 is now available !!!!!!

Most of the code has been rewritten, lot of bugs have been fixed (I hope so). Probably new bugs will be detected. Do not hesitate to open an issue when a new bug is found.

This version is compatible with the previous one except for the color function. I think that color functions are not widely used, so this upgrade will not be a problem for 99% of the users. For the other ones, it will not be a huge amount of work to migrate to the new version : the parameters for the function are slightly differents.

In the new version, lot of options can now be associated to an array of value or even to a function. This brings flexibility to the charts. I will document this big change in the wiki documentation in the next days. This change is the core reason why the code has been rewritten.

New options are also available in the new version (will also be documented in the coming days).
- AnimationByData for Pie/Doughnut/PolarArea charts - authorized values : true, false or "ByArc"
see Samples/animation_pie.html, Samples/animation_doughnut.html, Samples/animation_poloararea.html
- valueZero (0.000000...1)
- bezierCurveTension (default value 0.4)
- markerShape (you can now draw other shapes on points)
- responsiveMinWidth, responsiveMaxWidth, responsiveMinHeight, responsiveMaxHeight