Playing with sparklines

Submitted by dylan on Sat, 2006-11-11 00:54.

 
Testing out drupal's Sparkline module. Seems like the current version does not work with non-integer data.

 
Some resources:


 
PHP Sparkline test:

  • cat(discoveries, sep=",")
  • paste(round(runif(min=0, max=100, n=100)), collapse=',')

 
All very interesting. It would be great to implment this for soil profile data, however, and use a vertical graph instead. A horizontal profile is a little difficult to understand: percent clay.

 
Implementation would be simple, with a call the GD helper function imagerotate(). Note that the LATEX package would need a different fix.



Sparkline LATEX TestSparkline LATEX Test

( categories: )