Solved

JFreechart: Line Chart

Posted on 2011-09-23
4
329 Views
Last Modified: 2012-05-12
Please let me know how I can create hourly pots (line chart) using JFreeChart.

If possible, please give me some sample code.

Thanks!
0
Comment
Question by:dshrenik
  • 2
  • 2
4 Comments
 
LVL 47

Accepted Solution

by:
for_yan earned 500 total points
Comment Utility
what is hourly pots ?

This is the JFreeChart manual


here (look links at the bootom) are tons of ,links with JFreeChart sample code for line chats:
http://www.java2s.com/Code/Java/Chart/JFreeChartLineChartDemo6.htm
jfreechart-1.0.13-A4.pdf
0
 

Author Comment

by:dshrenik
Comment Utility
Something like this:
http://www.java2s.com/Code/Java/Chart/JFreeChartTimeSeriesDemo4usinghourlydataandincludinganullvalue.htm

But, looks like the code on that link is outdated.
0
 

Author Comment

by:dshrenik
Comment Utility
0
 
LVL 47

Expert Comment

by:for_yan
Comment Utility
Try to use it. Each person deso all things differently, so what didnt work for him may work for you and vice versa.
Besides, do you really need the one second interval. And even he finally solved it thosugh that link does not work.
Start doing it and when you have concrete issues we'll think about it
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
The viewer will learn how to implement Singleton Design Pattern in Java.
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now