Search found 1087 matches
- Wed Dec 29, 2010 3:15 pm
- Forum: JFreeChart
- Topic: Mutiple Charts Generation
- Replies: 6
- Views: 13589
Re: Mutiple Charts Generation
Save the png image to a file on the server and return a reference to the file in the response.
- Mon Dec 27, 2010 2:47 pm
- Forum: JFreeChart
- Topic: Automatic scalling (zoom)
- Replies: 1
- Views: 5293
Re: Automatic scalling (zoom)
Code: Select all
axe2.setAutoRange(true);
- Thu Dec 23, 2010 3:03 pm
- Forum: JFreeChart
- Topic: setting gap on y axis
- Replies: 2
- Views: 6900
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)
- Wed Dec 22, 2010 9:55 pm
- Forum: JFreeChart
- Topic: Use of StackedBarRenderer and getting CategoryItemEntity
- Replies: 2
- Views: 6430
Re: Use of StackedBarRenderer and getting CategoryItemEntity
It is supposed to.
What is the type of entity you are getting
What is the type of entity you are getting
Code: Select all
System.out.println(chartEntity.getClass().getSimpleName());
- Wed Dec 22, 2010 9:21 pm
- Forum: JFreeChart
- Topic: Pie Chart Label Link Lines
- Replies: 3
- Views: 11299
Re: Bar Chart Label Link Lines
Code: Select all
public void setLabelLinkStyle(PieLabelLinkStyle style)
- Wed Dec 22, 2010 7:07 pm
- Forum: JFreeChart
- Topic: Tasks in TaskSeries must have unique description!?!
- Replies: 1
- Views: 4729
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 in TaskSeries suggest that some parts of the code expect the descriptions to be unique.
Code: Select all
public Task get(java.lang.String description)
- Wed Dec 22, 2010 7:02 pm
- Forum: JFreeChart
- Topic: Stacked Area Chart With Continous Values
- Replies: 2
- Views: 7693
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());
- Wed Dec 22, 2010 2:51 pm
- Forum: JFreeChart
- Topic: A smoother drawing of XYSplineRenderer?
- Replies: 2
- Views: 7220
Re: A smoother drawing of XYSplineRenderer?
Code: Select all
public void setBaseShapesVisible(boolean flag)
- Tue Dec 21, 2010 9:52 pm
- Forum: JFreeChart
- Topic: CombinedDomainXYPlot Renderer Bug?
- Replies: 3
- Views: 9052
Re: CombinedDomainXYPlot Renderer Bug?
Did you try creating a DateAxis and passing it to the CombinedDomainXYPlot() constructor?
- Tue Dec 21, 2010 5:29 pm
- Forum: JFreeChart
- Topic: Quick Question - Is this normal
- Replies: 3
- Views: 7813
Re: Quick Question - Is this normal
Either roll back or patch the library source
- Tue Dec 21, 2010 3:53 pm
- Forum: JFreeChart
- Topic: Quick Question - Is this normal
- Replies: 3
- Views: 7813
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
http://www.jfree.org/phpBB2/viewtopic.php?f=3&t=26926
- Tue Dec 21, 2010 1:54 am
- Forum: JFreeChart
- Topic: dots without connection to other dots
- Replies: 5
- Views: 11962
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...
- Mon Dec 20, 2010 2:55 am
- Forum: JFreeChart
- Topic: dots without connection to other dots
- Replies: 5
- Views: 11962
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)
- Sun Dec 19, 2010 2:36 am
- Forum: JFreeChart
- Topic: handling missing data
- Replies: 3
- Views: 8257
Re: handling missing data
Try using Double.NaN for missing data
- Sat Dec 18, 2010 4:49 pm
- Forum: JFreeChart
- Topic: How to remove Intermediate Intervals in Y aixs of Step Chart
- Replies: 17
- Views: 35819
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