Asked By
Ava larry
10 points
N/A
Posted on - 12/16/2012
Hi techyv,
I need to sample codes for charting applet.
I am not that good at researching but I was told by my office group mates to research about charting applet.
We are going to create an applet design graphical user interface for our clients.
We are going to create a system that is related to a simple event organizer to be installed in Linux operating system.
I wish you can give me a solution for this problem.
Hoping for your help.
Thanks.
I need sample codes for charting applet.
Hello Ava,
As I understand from your question, you want to know how to make charts in a Java Applet.
If so, then I found a very good tutorial for you.
This is a basic tutorial which shows you how to implement bar charts. It's using simple data so it can be a good guideline for your system you are planning to make.
This is the tutorial:Â
Cheers.
I need sample codes for charting applet.
Hallow Ava Larry,
I am happy to get your interesting problems.
I am telling you about some software which can generate code for charting applets for Java Server.
First of all we go to "Chart FX".
-
It's awesome functionality can manipulate graphs within a moment in the Java platform.
-
It has Ajax driven engine.
-
It is best suited for Web Applications.
-
It is user friendly and light program.
Now I will talk about JFreeChartApplet. Its fantastic function can be enjoyed from the following code:
Public class JFreeChartApplet extends JApplet
{
Public void init ()
{
JFreeChart chart = createChart();
//Â fullscreen
Dimension fullScreen = Toolkit.getDefaultToolkit().getScreenSize();
getContentPane().setBounds( 0, 0, fullScreen.width, fullScreen.height );
ChartPanel chartPanel = new ChartPanel(chart);
chartPanel.setPreferredSize(fullScreen);
chartPanel.setVisible(true);
setContentPane(chartPanel);
}
}
Here createChart() is created to create a chart.Then This chart is inserted into the document by ChartPanel(chart)Â
Thanks.
Shifflett Laurel