diff --git a/examples/errorbars.html b/examples/errorbars.html index 0d59e68..ec177ae 100644 --- a/examples/errorbars.html +++ b/examples/errorbars.html @@ -1,13 +1,22 @@ - - - - - - - -
+ + + Flot Examples + + + + + + + + + +

Flot Examples

+ +
+ +

With the errorbars plugin you can plot error bars to show standard deviation and other useful statistical properties.

- + diff --git a/examples/index.html b/examples/index.html index 39a13be..7cfb77a 100644 --- a/examples/index.html +++ b/examples/index.html @@ -38,6 +38,7 @@
  • Using filled areas to plot percentiles (with fillbetween plugin)
  • Tracking curves with crosshair (with crosshair plugin)
  • Plotting prerendered images (with image plugin)
  • +
  • Plotting error bars (with errorbars plugin)
  • Pie charts (with pie plugin)
  • diff --git a/jquery.flot.errorbars.js b/jquery.flot.errorbars.js index ba5f114..8e7b335 100644 --- a/jquery.flot.errorbars.js +++ b/jquery.flot.errorbars.js @@ -1,5 +1,15 @@ /* -Flot plugin for error-bars +Flot plugin for plotting error bars, i.e. to show standard deviation +and other statistical properties in a plot. + +* Created by Rui Pereira - rui (dot) pereira (at) gmail (dot) com + +This plugin allows you to plot error-bars over points. Set "errorbars" +inside the points series to the axis name over which there will be +error values in your data array (*even* if you do not intend to plot +them later, by setting "show: null" on xerr/yerr). + +Options for the plugin are series: { points: { @@ -14,11 +24,6 @@ Flot plugin for error-bars } } -This plugin allows you to plot error-bars over points. Set "errorbars" -inside the points series to the axis name over which there will be -error values in your data array (*even* if you do not intend to plot -them later, by setting "show: null" on xerr/yerr). - Each data point array is expected to be of the type "x" [x,y,xerr] @@ -51,8 +56,6 @@ the interconnecting points (with radius: 0), and still showing end caps on the error-bars. shadowSize and lineWidth are derived as well from the points series. -Rui Pereira -rui (dot) pereira (at) gmail (dot) com */ (function ($) {