extracted jfreechart extension