Examples

If there are no graphs in the examples, it means your browser does not support the canvas tag. You can test your browser's support of the canvas tag here.

Below are basic example graphs that can be plotted by CanvasGraph. Note that you need a compatible browser to view them.

Unit Tests Page

Here is a constantly updated Unit tests page to prevent regressions between versions, and also demonstrate some basic plotting.

Dynamic Graph Page

Dynamic Graph Generation using Javascript and Tables.

Simple line plot of two data sets: square numbers and 2 * square numbers

View Source: LinePlotDemo.js

Simple bar chart of 1 data set with custom labels

View Source: BarChartDemo.js

Simple pie chart of powers of 2.

View Source: PieChartDemo.js

Data from a table

xx2x!sqrt(x)
0000
1111
2421.414
3961
416242
5251202.23

View Source: TableBarChartDemo.js