| « Memorial Day weekend | Charts and Graphcs in HTML » |
Graphs via perl
Today I made a copy of the php program and coverted it to perl. I can now pass in an array, with the first element being the pixel height of the graph. The width is then determined by the number of elements, and the data itself is scaled based on the largest data element.
This program can output directly and make a graph on the screen, or generate a PNG file.