graph « Axis « JFreeChart Q&A





1. how to deveop a line graph with dynamic x axis range    jfree.org

I wish to develop a line graph using jfree charts. The req is : values on the Y-Axis Dates on the X-axis. But if the dates are in the range of 15 days or so then it should give the dates in the X-Axis. But if the input date range is given spanning years the X-Axis dhould be labelled in yrs. ...

3. Stack Graph: legend, x-axis, y-axis labels being cutoff    jfree.org

Stack Graph: legend, x-axis, y-axis labels being cutoff by marcey Mon Mar 13, 2006 10:59 pm I have 4 datasets being shown in a stack graph. But even the y-axis label, "Percentage" is cutoff, only showing the "P." The same is true for the x-axis tic labels, which are the months at a 90-degree angle, e.g. "Mar Apr May" etc. ...

5. Duplicate Dates on X axis for TimeSeries Graph.    jfree.org

Hi I am trying to use TimeSeries and Line Chart using XYDataSet, but my dates are duplicate as shown in the data below... WeekEndDates Series1 Series2 Series3 Series4 Series5 11/6/2005 1 1 2 1 10 11/6/2005 1 1 3 1 15 11/6/2005 1 1 4 1 10 11/6/2005 1 1 5 1 10 2/5/2006 3 3 15 3 100 2/5/2006 3 ...

8. printing the y-axis valuse from a graph    jfree.org

Hello, i have one problem....i would like to get the value of y axis when i click on the mouse of any point of y axis from graph and would like to print that value... could you please tell me what method should i use? can i get some example? i also have the jfreechart-1.0.0-pre2 documentation booklet which i purchased some ...

9. Combined XY graph. Turning off axis labels.    jfree.org

Combined XY graph. Turning off axis labels. by alans Fri Sep 19, 2008 9:35 pm I'm creating a combined XY graph that plots activity along the zero axis of the graphs, then stacks these graphs on top of each other. There are two things I'd like to do to this graph. #1) All four charts have a "0.000000" right at ...





10. dotted line from axis to value of graph    jfree.org

XYSeries seriesA = new XYSeries("dashed-lines"); seriesA.add(0.0, 0.6); seriesA.add(0.4, 0.6); seriesA.add(0.4,0.0); dataset.addSeries(seriesA); XYLineAndShapeRenderer renderer = new XYLineAndShapeRenderer(); renderer.setSeriesShapesVisible(1, false); BasicStroke dashedStroke = new BasicStroke( 1.0f, BasicStroke.JOIN_BEVEL, BasicStroke.JOIN_ROUND, ...

11. Zoom only one axis on a dual axis graph    jfree.org

Is it possible to only zoom in on one axis of a dual axis graph? I've got asset readings on one graph and temperature readings on another, and when I zoom in to look at the asset readings, I still want to have the same resolution/zoom on the temperature to be able to correlate both. If not, is it possible to ...

12. Graph Disappearing for single value in the range axis    jfree.org

Your description of the problem is incomplete. What renderer are you using? What do you mean by setAutoRangeAxis(false)? There is no such method. What version of JFreeChart and JCommon are you using? What version of the JRE on what operating system. The reason I keep asking people for a small self-contained demo that shows the problem is that it means I ...

13. Multi axis graphs using jfreechart    jfree.org

In JFreeChart, a plot can have multiple dataset/renderer pairs, and you can also have multiple axes. By default, data will be plotted against the axis with index == 0, but you can map a dataset to another axis if you want. There are numerous examples of this included with the JFreeChart Developer Guide.

14. Can I plot probability graph without any x-axis and y-axis    jfree.org

Hi paradoxoff, Thank you for your response. I am very new to the JFreechart. Here is my requirement. I need to provide list of values for an item. There are multiple items with list of values. I need to plot the Normal Probability graph with some symbol for each unit. Here, i will not provide any scale for x and y-axis. ...

16. Stop axis width changing (lining up graphs)    jfree.org

No need! Thanks for the test. Just looking at it quickly, I wonder if this has something to do with the XYSeriesCollection erroneously allowing multiple series in the collection to have the same key? Ideally, this should cause an exception when you add a series with a duplicate key. I'm going to have to reflect on the best way to resolve ...