Sunday, 4 December 2011

New Chart Plugin

Hi There,

We've given a sincere farewell to our old Protovis Javascript API. It was a very good chart plugin but there were some things we decided to replace.




Some of them:

  • A bit oldish look
  • Difficult configuration
  • Hard to create bar chart that has negative value
The new choice was the Highcharts API. Rewiring the code took less than a day. It's a very handy plugin. With Drupal the interaction works amazing. We're using a default configuration array and pass it through drupal_alter()  to allow all modules to implement their own logic. This way we can decouple the functionality to domain modules (such as the total limit plugin). It makes the code cleaner and easier to maintain. Also less monster functions and modules :)

Other advantages are the built-in animation, lot's of chart types, very nice look, automatic labels, etc... I hope you also will like it just as much as we do.

No comments:

Post a Comment