@robocoder opened this Issue on February 13th 2012 Contributor

This is a planning ticket.

Phase 1

  • We're currently using jqplot (to replace OpenFlashCharts). There is ~460K of unminified JavaScript in libs/jqplot.
  • We should use a concatenated & minified version, instead of deferring this to the AssetManager. (YUIcompressed to about 180K.)
  • We should sync up with upstream version of jqplot

Phase 2

  • greg has indicated that the new map implementation will use Raphal (v2.0.2 is 86K minified).
  • Since Raphal partially overlaps jqplot, I propose we investigate replacing jqplot with gRaphal (v0.5.0 would add 29K minified). (A net reduction of 65K.)
@robocoder commented on February 15th 2012 Contributor

(In [5845]) fixes #2934, refs #2921 - pre-concatenate & minify jqplot library and plugins

  • a single 164K file (yuicompressed) vs 460K spread over 18 files
  • this will improve initial Dashboard loading time by reducing the AssetManager's workload
  • deferring sync up with upstream jqplot to next milestone
@mattab commented on December 14th 2012 Owner

If we need to update jqplot, let's crete a new ticket, work seems done on this one (Change of plans, the SVG Maps use https://github.com/gka/piwik-map-widget/blob/master/js/vendor/raphael-min.js ) -- please reopen if you can think of any problem here. Thanks!

This Issue was closed on December 14th 2012
Powered by GitHub Issue Mirror