Search found 1087 matches

by skunk
Thu Dec 16, 2010 11:00 pm
Forum: JFreeChart
Topic: Row Keys Font size
Replies: 1
Views: 2164

Re: Row Keys Font size

This is untested. Just reading through the code suggests this should work

Code: Select all

multiPiePlot.getPieChart().getTitle().setFont(myFont);
by skunk
Thu Dec 16, 2010 8:33 pm
Forum: JFreeChart
Topic: Trouble Compiling
Replies: 9
Views: 7483

Re: Trouble Compiling

Another thought, if the classpath is wrong, I would expect the first compiler error to occur on this line

Code: Select all

import org.jfree.data.xy.XYSeriesCollection;
and not this one

Code: Select all

private XYSeriesCollection dataset6;
Are those import statements actually present in FileIOTestView.java?
by skunk
Thu Dec 16, 2010 6:46 pm
Forum: JFreeChart
Topic: Trouble Compiling
Replies: 9
Views: 7483

Re: Trouble Compiling

Weird. I'm sure you have checked that the two jar files are located in a directory called

Code: Select all

C:\Program Files\jfreechart1.0.13\lib
by skunk
Thu Dec 16, 2010 6:27 pm
Forum: JFreeChart
Topic: How to remove Intermediate Intervals in Y aixs of Step Chart
Replies: 17
Views: 16602

Re: How to remove Intermediate Intervals in Y aixs of Step Chart

The method that actually draws the tick labels is called protected AxisState drawTickMarksAndLabels(Graphics2D g2, double cursor, Rectangle2D plotArea, Rectangle2D dataArea, RectangleEdge edge) If you look at the supplied source code, you will see that a utility method from org.jfree.text.TextUtilit...
by skunk
Thu Dec 16, 2010 6:09 pm
Forum: JFreeChart
Topic: Trouble Compiling
Replies: 9
Views: 7483

Re: Trouble Compiling

Did you remove the space? Perhaps it would help to post the command you are running
by skunk
Thu Dec 16, 2010 5:13 pm
Forum: JFreeChart
Topic: HTML in label?
Replies: 1
Views: 2205

Re: HTML in label?

Not supported
by skunk
Thu Dec 16, 2010 3:18 pm
Forum: JFreeChart
Topic: How to remove Intermediate Intervals in Y aixs of Step Chart
Replies: 17
Views: 16602

Re: How to remove Intermediate Intervals in Y aixs of Step Chart

Subscripts and superscripts are not supported without writing some code.
by skunk
Wed Dec 15, 2010 10:23 pm
Forum: JFreeChart
Topic: Trouble Compiling
Replies: 9
Views: 7483

Re: Trouble Compiling

The .java files are all also supposed to be in a package called fileiotest. It looks like your source files are not in the right place. In Java, the package structure must have a corresponding directory structure. Your source files must be located in a directory called fileiotest. For example, if y...
by skunk
Wed Dec 15, 2010 8:06 pm
Forum: JFreeChart
Topic: Trouble Compiling
Replies: 9
Views: 7483

Re: Trouble Compiling

Firstly, remove "C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\Common Files\Adaptec Shared\System;C:\Program Files\System Center Operations Manager 2007\;" from the string as path != classpath. Secondly, try removing the space character...
by skunk
Mon Dec 13, 2010 9:22 pm
Forum: JFreeChart
Topic: Step Chart Label customization
Replies: 1
Views: 2453

Re: Step Chart Label customization

Code: Select all

axis.setNumberFormatOverride(new DecimalFormat("#E0")); // or whatever pattern you like
Depending on the number of observations on the domain axis, you might also want to try replacing your NumberAxis with one of these instead

Code: Select all

org.jfree.chart.axis.LogAxis
org.jfree.chart.axis.LogarithmicAxis
by skunk
Sat Dec 11, 2010 11:03 pm
Forum: JFreeChart
Topic: Zoom in Bar chart
Replies: 2
Views: 3221

Re: Zoom in Bar chart

Code: Select all

plot.getRangeAxis().setRange(0, 10);
by skunk
Fri Dec 10, 2010 8:27 pm
Forum: JFreeChart
Topic: line to connect bar
Replies: 3
Views: 3561

Re: line to connect bar

Add a second dataset to the plot containing the desired values. Associate that dataset with a *LineAndShapeRenderer.
by skunk
Tue Dec 07, 2010 9:37 pm
Forum: JFreeChart
Topic: trend line on barchart
Replies: 1
Views: 2731

Re: trend line on barchart

Add one of these to your plot

Code: Select all

org.jfree.chart.annotations.CategoryLineAnnotation
by skunk
Tue Dec 07, 2010 3:05 pm
Forum: JFreeChart
Topic: Russian characters in labels
Replies: 9
Views: 7695

Re: Russian characters in labels

Did you try what I suggested in my previous post? What did your axis label display when you changed the font and text? Three dots? Or something else? Normally you would see "square boxes" for each character if the font did not contain glyphs for the character being displayed. The reason for the elli...
by skunk
Mon Dec 06, 2010 8:05 pm
Forum: JFreeChart
Topic: Spacing of SymbolAxis Tick Marks
Replies: 6
Views: 5622

Re: Spacing of SymbolAxis Tick Marks

Glad it works. When you explicitly set the bounds of the axis, the margins are ignored so the tick marks are aligned because the number of items is identical.