Search found 9 matches
- Wed Nov 29, 2006 9:22 pm
- Forum: JFreeChart
- Topic: interval markers -- possible bug?
- Replies: 11
- Views: 12148
Thanks for the report - I can reproduce the problem, so finding a fix shouldn't be too hard. I only see the problem with the CategoryPlot, not the XYPlot. The problem with XYPlot is different. The marker doesn't go outside of the plot but the marker label, which is set to be in the center of the ma...
- Wed Nov 29, 2006 1:03 am
- Forum: JFreeChart
- Topic: interval markers -- possible bug?
- Replies: 11
- Views: 12148
Re: interval markers -- possible bug?
David, It seems as if there might be a bug with the new interval markers. When the marker is configured for a range that goes beyond the range of the axis it draws itself beyond the plot. For example say you have a marker configured for 0-100 but the axis is only showing 0-50. In this case there ma...
- Tue Oct 31, 2006 6:35 pm
- Forum: JFreeChart
- Topic: Scaling Y axis.
- Replies: 4
- Views: 5099
Thanks for the prompt reply, David. Unfortunately, writing a custom formatter is not a viable option for me because the requirement is - based on the dataset, being able to scale either by deviding by 1000, or by 1000000 or 1000000000. For example, if maximum value in the dataset is greater than 100...
- Tue Oct 31, 2006 2:39 am
- Forum: JFreeChart
- Topic: Scaling Y axis.
- Replies: 4
- Views: 5099
Scaling Y axis.
Hi, I have the following problem. My charts display onfo with very high Y coordinates. Let's say the Y range falls between $100,000,000 and $600,000,000. As a result there is a lot of space wasted on the tick labels since JFreeChart generates $100,000,000.00. Is it possible to configure the chart to...
- Thu Jun 15, 2006 9:21 pm
- Forum: JFreeChart
- Topic: Pie chart section label position
- Replies: 4
- Views: 6517
Pie/Ring chart label links are too long.
Thanks, David. I think I figured out what the problem was. It's a combination of interiorGap and maximumLabelWidth settings.david.gilbert wrote:The labelGap setting should make some difference, but it is already quite a small gap (5% of the plot width). Can you post a screenshot?
Thanks again.
- Thu Jun 15, 2006 2:22 am
- Forum: JFreeChart
- Topic: Pie chart section label position
- Replies: 4
- Views: 6517
Pie/Ring chart label links are too long.
How can I make the pie/ring chart section label links to be shorter? I tried changing labelGap and labelLinkMargin attributes of the PiePlot/RingPlot but the changes did not have any effect on the link length. Right now the label links on my pie/ring chart inside JSP are too long and some of the lab...
- Tue Jun 06, 2006 6:45 pm
- Forum: JFreeChart
- Topic: Problems with gantt chart (Label alignment, bar width, gap)
- Replies: 12
- Views: 22281
Solution to the maxBarWidth problem.
I figured out how to modify David's MyGanttRenderer class in order to solve the maxBarWidth problem. Following is the code: static class MyGanttRenderer extends GanttRenderer { /** * Draws a single task. * * @param g2 the graphics device. * @param state the renderer state. * @param dataArea the data...
- Fri Jun 02, 2006 10:31 pm
- Forum: JFreeChart
- Topic: Problems with gantt chart (Label alignment, bar width, gap)
- Replies: 12
- Views: 22281
MaxBarWidth setting is ignored.
Here's a very-hacked-together-not-for-general-use-prototype of the modifications that would be necessary: package demo; import java.awt.Graphics2D; import java.awt.Paint; import java.awt.Stroke; import java.awt.geom.Rectangle2D; import java.util.Calendar; import java.util.Date; import javax.swing.J...
- Fri May 19, 2006 7:08 pm
- Forum: JFreeChart
- Topic: Smoothing function, or best-fit line for XY Chart
- Replies: 6
- Views: 11432
Re: Smoothing function, or best-fit line for XY Chart
I was curious if there was a way (or some function) to turn my XY graphs with points of data into a graph with just a smooth line showing the best-fit graph of all the points? It isn't supported at present. JFreeChart will just connect the given (x,y) points with line segments. Hi David, In one of ...