Search found 1087 matches

by skunk
Wed Dec 29, 2010 3:15 pm
Forum: JFreeChart
Topic: Mutiple Charts Generation
Replies: 6
Views: 6381

Re: Mutiple Charts Generation

Save the png image to a file on the server and return a reference to the file in the response.
by skunk
Mon Dec 27, 2010 2:47 pm
Forum: JFreeChart
Topic: Automatic scalling (zoom)
Replies: 1
Views: 3439

Re: Automatic scalling (zoom)

Code: Select all

axe2.setAutoRange(true);
by skunk
Thu Dec 23, 2010 3:03 pm
Forum: JFreeChart
Topic: setting gap on y axis
Replies: 2
Views: 3939

Re: setting gap on y axis

Extra space in pixels is not supported. You can define margins as a percentage of the value and then call

Code: Select all

public void setRangeWithMargins(double lower, double upper)
by skunk
Wed Dec 22, 2010 9:55 pm
Forum: JFreeChart
Topic: Use of StackedBarRenderer and getting CategoryItemEntity
Replies: 2
Views: 3979

Re: Use of StackedBarRenderer and getting CategoryItemEntity

It is supposed to.

What is the type of entity you are getting

Code: Select all

System.out.println(chartEntity.getClass().getSimpleName());
by skunk
Wed Dec 22, 2010 9:21 pm
Forum: JFreeChart
Topic: Pie Chart Label Link Lines
Replies: 3
Views: 6506

Re: Bar Chart Label Link Lines

Code: Select all

public void setLabelLinkStyle(PieLabelLinkStyle style)
by skunk
Wed Dec 22, 2010 7:07 pm
Forum: JFreeChart
Topic: Tasks in TaskSeries must have unique description!?!
Replies: 1
Views: 2823

Re: Tasks in TaskSeries must have unique description!?!

Dunno about a bug. add(...) does not check that the descriptions are unique, but the presence of methods like this

Code: Select all

public Task get(java.lang.String description)
in TaskSeries suggest that some parts of the code expect the descriptions to be unique.
by skunk
Wed Dec 22, 2010 7:02 pm
Forum: JFreeChart
Topic: Stacked Area Chart With Continous Values
Replies: 2
Views: 4044

Re: Stacked Area Chart With Continous Values

Assuming you are using an XYPlot with a DateAxis, you can use:

Code: Select all

dateAxis.setTimeline(SegmentedTimeLine.newMondayThroughFridayTimeline());
by skunk
Wed Dec 22, 2010 2:51 pm
Forum: JFreeChart
Topic: A smoother drawing of XYSplineRenderer?
Replies: 2
Views: 4060

Re: A smoother drawing of XYSplineRenderer?

Code: Select all

public void setBaseShapesVisible(boolean flag)
by skunk
Tue Dec 21, 2010 9:52 pm
Forum: JFreeChart
Topic: CombinedDomainXYPlot Renderer Bug?
Replies: 3
Views: 4626

Re: CombinedDomainXYPlot Renderer Bug?

Did you try creating a DateAxis and passing it to the CombinedDomainXYPlot() constructor?
by skunk
Tue Dec 21, 2010 5:29 pm
Forum: JFreeChart
Topic: Quick Question - Is this normal
Replies: 3
Views: 4451

Re: Quick Question - Is this normal

Either roll back or patch the library source
by skunk
Tue Dec 21, 2010 3:53 pm
Forum: JFreeChart
Topic: Quick Question - Is this normal
Replies: 3
Views: 4451

Re: Quick Question - Is this normal

You didn't give us much info, but perhaps this bug is affecting you
http://www.jfree.org/phpBB2/viewtopic.php?f=3&t=26926
by skunk
Tue Dec 21, 2010 1:54 am
Forum: JFreeChart
Topic: dots without connection to other dots
Replies: 5
Views: 5721

Re: dots without connection to other dots

Try inserting this before your code: plot.setRenderer(new LineAndShapeRenderer() { public boolean getItemShapeVisible(int series, int item) { if (!getSeriesShapesVisible(series).booleanValue()) return false; Number prev = null; if (item > 0) prev = getPlot().getDataset().getValue(series, item-1); Nu...
by skunk
Mon Dec 20, 2010 2:55 am
Forum: JFreeChart
Topic: dots without connection to other dots
Replies: 5
Views: 5721

Re: dots without connection to other dots

In order to be plotted at the correct point, the shape needs to be centered. Try

Code: Select all

new Ellipse2D.Double(-1.0, -1.0, 2.0, 2.0)
by skunk
Sun Dec 19, 2010 2:36 am
Forum: JFreeChart
Topic: handling missing data
Replies: 3
Views: 4117

Re: handling missing data

Try using Double.NaN for missing data
by skunk
Sat Dec 18, 2010 4:49 pm
Forum: JFreeChart
Topic: How to remove Intermediate Intervals in Y aixs of Step Chart
Replies: 17
Views: 16397

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

I thought he was asking how to display 10¹ ... 10² ... 10³ instead of 10^1 ... 10^2 ... 10^3 as that was the only difference between the axis you displayed and the one he linked to