Question

i need to create a line graph inside a JPanel using paintComponent. I don't want to use external package.

I have to draw different line graph ( in the same panel ) and user selects the number of graph to draw. The data for every graph are number from 1 to a max ( i can calculate it ). My problem is to create axis and to show good the varius graph with different color. Can someone help me? can someone show me something? thanks you very much!

Was it helpful?

Solution

i think that jfreechart is the better solution..

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top