Plotr 0.3.0 released
Tagged charts, Javascript, Plotr
Today I release the new version of Plotr, version 0.3.0. It took a little longer than expected, but there where some problems with the plotr configurator. Sorry I kept you waiting. The Plotr code is almost the same as the svn version from July, I made just a few adjustments.
Version 0.3.0
In July I told everyone 0.3.0 was coming up in a few weeks, but because I’ve very little time, and some other interesting projects, this version is released with a delay of two months. In the meantime I’ve fixed lots of bugs, and created the plotr configurator. This is a tool you can use to draw charts, take the configuration, and use it elsewhere. Also very important:
Version 0.3.0 is not backwards compatible! The options object’s changed dramatically.
Coming up next…
In the next few months I’m going to write some proper documentation. The reason I haven’t written any is because I want to install a Trac svn browser, so I can manage all the code and docs on this domain, without using the Google Code project hosting. Anyway, this will be my todo list for the rest of 2007.
- Write documentation.
- Fix bugs, especially PieChart and colorscheme bugs.
Repair SVN (at the time of writing SVN is broken).- Add mouse interactivity, code donated by Joshua Gross…
Download & usage
Grab your download here. Included in the package: all separate files, a concatenated uncompressed version of plotr, a compressed plotr, and three example files for BarChart, PieChart and LineChart. To use plotr, just add the following code between the head tags:
<script src=\"lib/prototype/prototype.js\" type=\"text/javascript\"></script>
<script src=\"lib/excanvas/excanvas.js\" type=\"text/javascript\"></script>
<script src=\"plotr.js\" type=\"text/javascript\"></script>
So first include Prototype 1.5.1 (didn’t test with other versions, but might work), then ExplorerCanvas and then plotr.
Hi there,
I downloaded the 0.3.0 release just now, before you even had this page up. Was lucky enough to see it in the google code list. Anyways, I downloaded and set it up, using the pie chart. I have multiple charts on one page, so I’ve called each one pie1, pie2, pie3 etc. Using the code from the example piechart page included, everything displays. using the output from your plotr configurator, none of the charts display. I’m using FF2.0.0.7.
This is how I have it implemented atm:
The thing is just a counter to give each chart it’s own ID.
I tried messing around with the chart = new PieChart(’pie’); stuff, like changing it into chart = newPlotr.PieChart (as per example btw), but to no avail :/
Any ideas or suggestions?