Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Need help in pointing 2 Y values for a single date(X-axis) in JFreeChart

 
Kushi Gadiparthi
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Experts,

Can somebody help me for drawing a Line Graph in which Y-axis has time in Hours and the X-axis has Date.
I was able to draw the graph for the values which has one to one relationship.

But now I wanted to draw line for 2 Y values for the same date on the X value

I am placing my code here, Can anybody give some ideas for how to succeed it. This code is not pointing to the 2 Y values, It is taking only one value into account.




Thanks in Advance
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic