early version using JFreeChart.