Search found 49 matches

by enrico
Fri Nov 19, 2004 1:38 pm
Forum: JFreeChart
Topic: some very basic question
Replies: 0
Views: 1674

some very basic question

Does Point2D.Float(1.1, 1) and Point2D.Float(1.2, 1) locate on the same position when draw out?

If not, what does 1.1 pixel mean?
If does, what's the meaning for Point2D.Float? Point(int, int) works well...

Thanks in advance!

Regards,
enrico
by enrico
Wed Nov 10, 2004 12:46 pm
Forum: JFreeChart
Topic: much slow on solaris than on windows
Replies: 5
Views: 6923

Thanks David! But the code is so complexed that I have no idea how to simplify it.(Applet reads data from files in server using RMI, and file has fixed storage format)

So could it be the RMI that slow things down? Is there any other way that is faster than RMI?

Thanks in advance!


Regards,
enrico
by enrico
Wed Nov 10, 2004 12:43 pm
Forum: JFreeChart
Topic: much slow on solaris than on windows
Replies: 5
Views: 6923

Thanks David! But the code is so complexed that I have no idea how to simplify it.(Applet reads data from files in server using RMI, and file has fixed storage format)

So could it be the RMI that slow things down? Is there any other way that is faster than RMI?

Thanks in advance!


Regards,
enrico
by enrico
Mon Nov 01, 2004 5:36 pm
Forum: JFreeChart
Topic: Where can I find MouseZoomDemo?
Replies: 5
Views: 6945

0.9.20 /* =========================================================== * JFreeChart : a free chart library for the Java(tm) platform * =========================================================== * * (C) Copyright 2000-2004, by Object Refinery Limited and Contributors. * * Project Info: http://www.jfr...
by enrico
Mon Nov 01, 2004 5:26 pm
Forum: JFreeChart
Topic: Where can I find MouseZoomDemo?
Replies: 5
Views: 6945

PanScrollZoomDemo.java

Regards,
enrico
by enrico
Mon Nov 01, 2004 5:24 pm
Forum: JFreeChart
Topic: Where can I find MouseZoomDemo?
Replies: 5
Views: 6945

PanScrollZoomDemo.java
by enrico
Thu Oct 28, 2004 6:01 pm
Forum: JFreeChart
Topic: how can I use drawString() on a ChartPanel
Replies: 4
Views: 6397

Here is a solution, it might not be the best... 1. Write a class extends the corresponding Plot you want to use, overwrite the draw() method in order to draw lines. But at the very beginning, there is no mouse action, so the lines should not be drawn... 2. Add a variable(or some variables) or a meth...
by enrico
Wed Oct 27, 2004 11:12 am
Forum: JFreeChart
Topic: fill area between two lines in a graph
Replies: 8
Views: 7557

How about first construct the rectangle, then use java.awt.Graphics2D.fill(java.awt.Shape) ?

I don't know whether I have caught what you said, my poor English... :(


Regards,
enrico
by enrico
Tue Oct 26, 2004 6:43 am
Forum: JFreeChart
Topic: setContantPane
Replies: 3
Views: 4836

setContentPane found in: javax.swing.JApplet.setContentPane(java.awt.Container) javax.swing.JDialog.setContentPane(java.awt.Container) javax.swing.JFrame.setContentPane(java.awt.Container) javax.swing.JInternalFrame.setContentPane(java.awt.Container) javax.swing.JRootPane.setContentPane(java.awt.Con...
by enrico
Sun Oct 24, 2004 4:53 pm
Forum: JFreeChart
Topic: Problem with ChartPanel's print
Replies: 1
Views: 2592

Problem with ChartPanel's print

print() in ChartPanel invokes JFreeChart's draw(java.awt.Graphics2D g2, java.awt.geom.Rectangle2D chartArea, java.awt.geom.Point2D anchor, ChartRenderingInfo info) So if the chartAreas differ much from each other in printer context and screen context, the chart printed out might look not like the on...
by enrico
Sun Oct 24, 2004 4:28 pm
Forum: JFreeChart
Topic: Could I only print the data area?
Replies: 1
Views: 2707

use draw() method of plot
by enrico
Sun Oct 24, 2004 1:55 am
Forum: JFreeChart
Topic: much slow on solaris than on windows
Replies: 5
Views: 6923

Thank you, Magne!

But could you tell me where the "autoAlias" is, I can find it... Besides, I have already setAntiAlias(false) for performance problem.

Regards,
enrico
by enrico
Sat Oct 23, 2004 3:31 am
Forum: JFreeChart
Topic: Could I only print the data area?
Replies: 1
Views: 2707

Could I only print the data area?

titles and legends not included when print

Regards,
enrico
by enrico
Sat Oct 23, 2004 1:22 am
Forum: JFreeChart
Topic: disabled ChartpropertyEditPanel
Replies: 3
Views: 4406

use ChartPanel(JFreeChart chart, boolean properties, boolean save, boolean print, boolean zoom, boolean tooltips) Constructs a JFreeChart panel. or ChartPanel(JFreeChart chart, int width, int height, int minimumDrawWidth, int minimumDrawHeight, int maximumDrawWidth, int maximumDrawHeight, boolean us...
by enrico
Fri Oct 22, 2004 6:44 am
Forum: JFreeChart
Topic: Modifying the mouse right-click menu
Replies: 2
Views: 4948

no API, you have to do it yourself