Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A jQuery-based HTML5 x-y (and time series) graphing library.
branch: master
Failed to load latest commit information.
js Better labels
README first commit Removed usage example as it exists on the gh-pages page


There are many good Javascript/HTML5 graphing libraries already in existence e.g. Flot, D3 and Ico. However they don't make the simple xy data graphs, often used in scientific environments, without extra plugins. I decided to write my own, small, graphing library that could deal with large amounts of data as well as logarithmic axes and page resizing. This was created as part of my work at Las Cumbres Observatory Global Telescope (LCOGT). View demos and usage.


For this library to work it has two dependencies:

  • jquery.js -- your site may already use this excellent library;
  • excanvas.js -- this is used to allow canvas support on Internet Explorer (41.6 kB). If only it wasn't needed.


  • Draws x/y graphs
  • Can include error bars
  • Both axes (or just one) can be logarithmic
  • Multiple data series can be drawn with the following options:
    • Colour
    • Points shown or hidden
    • Points can be joined with lines
    • Line widths can be defined
    • Main plot area background colour can be set
    • Hover text on data points which can include custom text with replacable elements
  • On newer versions of FF/Safari/Chrome the graph can be made full-screen by double clicking
  • The graph inherits the font size/family from its parent elemet in the DOM (i.e. you can set it in the CSS)
  • Can zoom in (click/drag) and zoom out (click)


Some features (e.g. fullscreen) are experimental and will only work in the latest versions of modern browsers.


Stuart Lowe works for the Las Cumbres Observatory Global Telescope. LCOGT is a private operating foundation, building a global network of telescopes for professional research and citizen investigations.

Something went wrong with that request. Please try again.