A demo package for the Time2 library was released on September 1. It includes StockChart, a program to create price and volume charts for stocks. For this it relies heavily on JFreeChart, a flexible and powerful Java library for drawing charts. Charts can be saved as PNG images or as vector graphics in SVG files, thanks to Apache Batik.
The demo uses example files from Foo & Bar, Inc (trading symbol FBI), a company invented for the occasion. Here is a PNG chart produced by the demo:
.
Clicking on the image shows the SVG version of the chart. If your browser supports SVG (like Firefox) you will be able to scale the image by resizing the window without reducing the picture quality.
The demo can be downloaded from SourceForge or from the project website.
As noted in the chart title, FBI quotes have not been adjusted for stock splits.
The halving of the price on March 18 looks suspiciously like a 2:1 ("two for one") split. A future version of the demo will take care of this problem.
No comments:
Post a Comment