rewrote it in python, matplotlib seems faster than jfreechart..