dileep502 / flot

Automatically exported from code.google.com/p/flot
MIT License
0 stars 0 forks source link

[patch]: threshold plugin & differentiating data below or above a threshold #252

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I needed to do the opposite of the current threshold plugin: color values
*above* a certain value. 

Attached is a a modified jquery.flot.threshold.js (and a diff) that
supports this: it adds logic to support the property setting "above":

   series: {
     threshold: {
       below: number
       above: number
       color: colorspec
     }
   }

Original issue reported on code.google.com by jason.sw...@gmail.com on 30 Oct 2009 at 4:23

Attachments:

GoogleCodeExporter commented 8 years ago
Thank you very much for this patch!

Original comment by dice...@gmail.com on 11 Feb 2010 at 11:12

GoogleCodeExporter commented 8 years ago
Can this possibly be extended to support above and below at the same time? 
Would be very useful to display an 
allowed range in a plot and to point out the values that shouldn't be there.

Original comment by gustaf.h...@gmail.com on 15 Apr 2010 at 6:49

GoogleCodeExporter commented 8 years ago
@gustaf.hansen: Issue 265 [1] privides a patch that allows you to use "above" 
and "below" at the same time

[1] http://code.google.com/p/flot/issues/detail?id=265

Original comment by bergmann...@gmail.com on 14 Dec 2010 at 9:43

GoogleCodeExporter commented 8 years ago

Original comment by dnsch...@gmail.com on 8 May 2012 at 8:17

GoogleCodeExporter commented 8 years ago
Muchas gracias! es justo lo que necesitaba

Original comment by jlngarib...@gmail.com on 24 Jul 2013 at 4:48