Search found 15 matches

by joelwyland
Fri Jul 16, 2004 6:01 pm
Forum: JFreeChart
Topic: Log Axis value labels inconsistant
Replies: 0
Views: 2011

Log Axis value labels inconsistant

Hi,

I've got an XY scatter plot with both axes using a Log Axis. The strange part is that the X axis is labeled with 0.0001, 0.001, 0.01, etc... but the Y axis is labeled 10^-4, 10^-3, 10^-2, etc.

Is there a way I can control this so they are the same representation?

Kenny
by joelwyland
Wed Jul 14, 2004 7:11 pm
Forum: JFreeChart
Topic: Values less than or equal to zero not allowed on log axis
Replies: 3
Views: 4532

I determined what the problem was. I was using an XYSeriesCollection, which implements the IntervalXYDataset interface. When determining the "minimum" value in the dataset, the XYSeriesCollection would report the minimum value lower than what it really was, because it was including area around the v...
by joelwyland
Tue Jul 13, 2004 11:32 pm
Forum: JFreeChart
Topic: Values less than or equal to zero not allowed on log axis
Replies: 3
Views: 4532

Values less than or equal to zero not allowed on log axis

Hi all, I'm making an XY scatter plot with log axes for X and Y. I'm getting: java.lang.RuntimeException: Values less than or equal to zero not allowed with logarithmic axis at org.jfree.chart.axis.LogarithmicAxis.autoAdjustRange(LogarithmicAxis.java:422)...... I've printed out all of my data points...
by joelwyland
Fri Jul 09, 2004 6:40 pm
Forum: JFreeChart
Topic: Size of actual plot?
Replies: 1
Views: 2772

Found a solution...

The Graphics2D that is used for drawing the plot has its ClipBounds set to the actual size of the plot.
by joelwyland
Fri Jul 09, 2004 6:04 pm
Forum: JFreeChart
Topic: Size of actual plot?
Replies: 1
Views: 2772

Size of actual plot?

I'm trying to write code that will ensure item labels do not overlap, but I'm finding that the 2D space starts at the very edge of the whole chart including the scale and axis labels. Is there a way I can get the dimensions of just the plot area so that I can ensure my labels are visible within the ...
by joelwyland
Mon Jun 28, 2004 10:36 pm
Forum: JFreeChart
Topic: Trying to understand
Replies: 10
Views: 16521

Here are the two sections in my web.xml file referring to DisplayChart: <servlet> <servlet-name>DisplayChart</servlet-name> <servlet-class>org.jfree.chart.servlet.DisplayChart</servlet-class> </servlet> <servlet-mapping> <servlet-name>DisplayChart</servlet-name> <url-pattern>/servlet/org/jfree/char...
by joelwyland
Mon Jun 28, 2004 9:36 pm
Forum: JFreeChart
Topic: XYPlot problem
Replies: 3
Views: 4060

Re: XYPlot problem

When trying to create instance of XYPlot using getXYPlot method of JFreeChart class. We are using ChartPostProcessor tag of Cewolf tag library which has processChart method. public void processChart(Object obj, Map params) { JFreeChart chart = (JFreeChart)obj; XYPlot plot = chart.getXYPlot();//Cann...
by joelwyland
Mon Jun 28, 2004 9:33 pm
Forum: JFreeChart
Topic: Trying to understand
Replies: 10
Views: 16521

gchrt wrote: I have my web.xml file mapped for DisplayChart.
I tried referencing the servlet as suggested but still no image.
Can you post the section of your web.xml that configures the DisplayChart servlet?
by joelwyland
Mon Jun 28, 2004 9:30 pm
Forum: JFreeChart
Topic: Image Map Empty
Replies: 6
Views: 13938

Re: Empty Image Map

Here is a critical section from ImageMapDemo3 that you may have missed. final ChartRenderingInfo info = new ChartRenderingInfo(new StandardEntityCollection()); final File file1 = new File("xychart100.png"); ChartUtilities.saveChartAsPNG(file1, chart, 600, 400, info); Unless you pass ChartRenderingI...
by joelwyland
Fri Jun 25, 2004 6:18 pm
Forum: JFreeChart
Topic: Image Map Empty
Replies: 6
Views: 13938

Image Map Empty

I'm trying to generate an Image Map for an XYPlot. I've looked through ImageMapDemo3.java in the src distribution and I believe I'm doing it right, but my map file is still empty: <MAP NAME="chart"> </MAP> Here is what essentially I'm doing in my chart generator (I had to change the names and stuff ...
by joelwyland
Wed Jun 09, 2004 4:51 pm
Forum: JFreeChart
Topic: ChartPanel -> SVG
Replies: 1
Views: 3593

Re: ChartPanel -> SVG

Does it export a SVG containing a PNG, or a real SVG file using xml??? JFreeChart itself doesn't do the outputing to XML, but it allows you to use other APIs in conjunction with JFreeChart to export real SVG/XML files. Look at the Batik API . It provides an implementation of java.awt.Graphics2D whi...
by joelwyland
Tue Jun 08, 2004 9:34 pm
Forum: JFreeChart
Topic: Control Label Positioning?
Replies: 1
Views: 3070

Control Label Positioning?

Hi all, I've got a scatter plot with labels on the (x,y) points. I know it's not the greatest idea to have labels on a scatter plot, but for now, it's what I have to work with. Several of the points are close together and the labels overlap. I'm trying to figure out a way to keep the labels from ove...
by joelwyland
Mon Jun 07, 2004 7:07 pm
Forum: JFreeChart
Topic: Sorting values in PieChart
Replies: 0
Views: 2040

Sorting values in PieChart

Hi all, I'm making a pie chart and I'd love it if I could get the slices to be in sorted order, so if I went around the circle the slices would consistantly get smaller. Is there any built in way to accomplish this? I can't find anything in the docs, but they are pretty spread out (due to the modula...
by joelwyland
Fri Jun 04, 2004 11:48 pm
Forum: JFreeChart
Topic: How to force labels? Maybe custom renderer?
Replies: 0
Views: 2252

How to force labels? Maybe custom renderer?

Hi all, I've got a dataset of words and some values about those words. I want to make a scatter plot that puts a point on the XYPlot based on the (x,y) values I put in the dataset, but I'd like the word to appear as a label for that point. Does that make sense? For example, I have a word, it's frequ...
by joelwyland
Wed Jun 02, 2004 10:28 pm
Forum: JFreeChart
Topic: JFreeChart 0.9.19
Replies: 4
Views: 5905

Older Javadoc?

Hi,

Where can we find the javadoc for previous distributions? The home page says it can be generated from the older jars, but the jars I have don't contain any source files, so javadoc can't generate the docs for me.

Thanks,
Kenny