title: javascript flot threshold with positive and negative limits (+/-)
body: <p>I need to highlight in red any values that are more than 100% higher or 100% lower than the nominal value, i.e 0 +/- 100.</p>
  
  <pre><code>$.plot($("#right"),[{
      data:tot.fdat,
      color:'red',
      threshold:{below:100,color:'green'},
    }]
   })
  </code></pre>
  
  <p>The above works to highlight values higher than +100, but how do I also make it highlight values less than -100 ?</p>
  
  <h1>edit</h1>
  
  <p>As suggested by @Kasyx - this works with a slight mod:</p>
  
  <pre><code>$.plot($("#right"),[{
      data:tot.fdat,
      color:'red',
      threshold:[
        {below:100,color:'green'},
        {below:-100,color:'red'},
      ]
    }]
   })
  </code></pre>