Aristochart

General

Aristochart works by rendering graph data onto the canvas element. Canvas is fast and requires very little resources to render. This brings up the question of browser compatibility. Currently all major browsers support the canvas element but IE 6, 7 and 8 are left out in the cold. There are no plans to support these browsers in the near future.

Themeing

Aristochart itself is more of a data manager, it's the theme that takes control of rendering the data on screen. Aristochart comes with a default set of render functions, each of which can be overridden by a theme. Below is a list of features that can be implemented by the theme and the data that is sent to each feature's render function.

FeatureDescriptionParameters
Point

A point on the graph.

style Style object, rx Raster coord x, ry Raster coord y, x Data x, y Data y, graph Line Name

Axis

The graph's axis lines

style Style object, x Start of the line x coord, y Start of the line y coord, x1 End of the line x coord, y1 End of the line y coord, type Axis type

Line

The graph's lines

style Style object, points An array of Points {rx, ry, x, y}

Roadmap

  • Expand to pie charts, histograms etc.

Changelog

Upcoming release: v0.2 (download)

  • Data is handled better on negative axes.
  • Fluid axes.

Initial Release: v0.1