thanks CEHJ, i thought of doing that, actually i am getting data from database....to use int as index, i'll have to write the dataset myself..i don't think of any easier way, i guess thats the only way to go, i was wondering if there is a better way, the source code of jfreechart is by no means object oriented and not extensible but after all its free, so i've no right to complain :)
Main Topics
Browse All Topics





by: CEHJPosted on 2008-11-06 at 00:07:38ID: 22893019
You would properly have to override a paint/paintComponent method. Try using the int as a index into a map-like structure