this issue is for the purpose of settling on a final charting solution for this module, as it will be the one we use with sampler api to generate all of our metrics sparklines for the redesign.

options:

  1. third party solution, currently google chart api. over at #428680: Change usage stats to not use google charts it's been taking some heat for being a black box solution, which we try to avoid on drupal.org.
  2. in house solutions
    1. client-side, like flot module. this will reduce the usage of our server resources, but would not work in all cases as the client has to support whatever we're using. flot uses javascript, which is pretty ubiquitous in the 2010 browser world
    2. server-side, probably some kind of system where we generate sparkline images, cache them, and send them over the wire. would eliminate client-side inconsistencies, but would put more burden on our processor power, storage, and bandwith.

i vote for b.1.

i'd like to get this resolved asap, as our goal is to have some metrics go live for the next sprint demo.

Comments

drumm’s picture

I'm okay with b.1. too. Flot has come up a couple times before, so it should be good.

drumm’s picture

Issue tags: +drupal.org redesign
dww’s picture

I don't have a strong preference. I have a mild preference to use open source, not google. But, existing and working code is better than a pristine design/plan. ;) If it's going to take more than 1 hour to convert from google charts to flot, I'm not sure it's worth it (at least not right now). We can always revisit this later -- if/when it becomes a problem. I'm more concerned about getting some metrics up and sparklines placed than I am about the potential evil of Google-the-black-box.

drumm’s picture

Agreed with dww. Previously it was said this won't tkae long, but the 1hr limit is good.

dww’s picture

Assigned: Unassigned » mikey_p
Status: Active » Fixed
Issue tags: +drupal.org redesign sprint 4, +metrics

mikey_p converted this module to use flot: http://drupal.org/cvs?commit=423792

dww’s picture

Title: Determine best charting solution for the plugin to use » Use open source flot for graphing sparklines instead of Google Chart black box

(better title for posterity)

Status: Fixed » Closed (fixed)
Issue tags: -drupal.org redesign, -drupal.org redesign project, -drupal.org redesign sprint 4, -metrics

Automatically closed -- issue fixed for 2 weeks with no activity.