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: )

Reply

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <div> <img> <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Copy the characters (respecting upper/lower case) from the image.