The best way to ensure the bounds of the plot cover the range of data without inventing additional code is to avoid using setLowerBound / setUpperBound.
Look in the API for setAutoRangeIncludesZero( boolean )
Search found 14 matches
- Tue Jul 01, 2008 5:22 pm
- Forum: JFreeChart
- Topic: Newbie question: scaling the range
- Replies: 5
- Views: 10923
- Tue Jul 01, 2008 5:19 pm
- Forum: JFreeChart
- Topic: how to display tooltip ,plz see program its very urgent plzz
- Replies: 3
- Views: 14501
- Tue Jul 01, 2008 5:15 pm
- Forum: JFreeChart
- Topic: How to show the Tooltips
- Replies: 4
- Views: 16282
If this is being rendered as html then you need to ensure the map tag is populated. If you jsp only has the img tag then you won't get what you're looking for. Check out: http://www.jfree.org/phpBB2/viewtopic.php?t=24269&highlight=map+image+map http://www.jfree.org/phpBB2/viewtopic.php?t=24471&highl...
- Tue Jul 01, 2008 5:00 pm
- Forum: JFreeChart
- Topic: BoxAndWhiskerRenderer that acts the same for horiz and vert
- Replies: 1
- Views: 2472
BoxAndWhiskerRenderer that acts the same for horiz and vert
I've taken the v1.0.10 BoxAndWhiskerRenderer class and made it work the same for both horizontal and vertical orientations (the default renderer acts differently for the two orientations). I've also extended the outliers to show empty symbols for near outliers and filled ones for far outliers... but...
- Tue Jul 01, 2008 1:39 pm
- Forum: JFreeChart
- Topic: JFreeChart 1.0.10
- Replies: 3
- Views: 7364
bug fix 1926517 make it up?
I'm using a patch for a stacked histogram (
XYPlot using a customized SplitPaneXYBarRenderer) for where the range axis is shorter than the data... does 1926517 cover that?
thx!
XYPlot using a customized SplitPaneXYBarRenderer) for where the range axis is shorter than the data... does 1926517 cover that?
thx!
- Mon Feb 11, 2008 5:55 pm
- Forum: JFreeChart
- Topic: how to change legend size
- Replies: 1
- Views: 4042
Fredrik, Check out the API for legendTitle. http://www.jfree.org/jfreechart/api/javadoc/org/jfree/chart/title/LegendTitle.html Depending on how you are making your plot the implementation would change. Say, if you were using one of the factories you would just set legend = false in the constructor, ...
- Mon Feb 11, 2008 5:41 pm
- Forum: JFreeChart
- Topic: Legend Location
- Replies: 2
- Views: 3956
Looks like the most straight forward way is to create your own legend http://www.jfree.org/jfreechart/api/javadoc/org/jfree/chart/title/LegendTitle.html Check out one of Dave's examples to see it in use http://www.jroller.com/dgilbert/entry/ouch Look for this (I assume you want something different) ...
- Mon Feb 11, 2008 5:31 pm
- Forum: JFreeChart
- Topic: Heatmaps
- Replies: 1
- Views: 2846
What's the difference between a heat map and a contour plot? They both deal with a gradient in three dimensions.
Check out
http://www.jfree.org/jfreechart/api/jav ... rPlot.html
Check out
http://www.jfree.org/jfreechart/api/jav ... rPlot.html
- Thu Feb 07, 2008 4:28 pm
- Forum: JFreeChart
- Topic: Get selected DataItem?
- Replies: 1
- Views: 2908
- Thu Feb 07, 2008 4:26 pm
- Forum: JFreeChart
- Topic: LogAxis setRange() function sends me into memory error
- Replies: 1
- Views: 3538
- Thu Feb 07, 2008 4:21 pm
- Forum: JFreeChart
- Topic: Dates from timestamps on image map tooltips
- Replies: 2
- Views: 4089
I found it easier to use the URL generator, here's what I did below. First, you need to write a class which implements CategoryURLGenerator (or XY depending on your plot). For in the generateURL method, I did something like below... public String generateURL(CategoryDataset dataset, int series, int ...
- Thu Feb 07, 2008 4:12 pm
- Forum: JFreeChart
- Topic: populate a graph
- Replies: 1
- Views: 3218
- Thu Feb 07, 2008 4:09 pm
- Forum: JFreeChart
- Topic: Reg Multiplechart display in JSP page
- Replies: 1
- Views: 3248
First do the work to put one plot on a page. To do that you can either find some examples here in the forum or better yet, purchase the manual which will let you cut/paste. When you get that accomplished try adding your second plot (there isn't anything special to add another once you get one). Then...
- Thu Feb 07, 2008 4:05 pm
- Forum: JFreeChart
- Topic: Graphical Cursor
- Replies: 5
- Views: 6223