ValueAxis « Axis « JFreeChart Q&A





1. setting up the same length of ValueAxis with jfreechart    stackoverflow.com

I am plotting several jfree charts in one window and want to align all chart. All graph have the same range for x-axis and y-axis is displaying in the left. However, when I ...

2. ValueAxis.valueToJava2D() question    jfree.org

I customized a XYRenderer and XYDataset to paint chart that is similar to the YIntervalChart. The difference is at each domain there will be serveral ranges not only 2 that theYIntervalChart be. But sometimes when I paint my new chart, a few ranges always are out of the view. I must do several zoom out to get them in view. What ...

3. Long axis labels in ValueAxis ?    jfree.org

Hi, I've got a little question: I'm using a valueAxis (Vertical) with a xyplot. Unfortuantely my label is quite long and the image is only 200px in height. The label get's centered on the Axis and the first characters are cut off. -> Is there a possibility to make a break-line or at least a possibility to Align the text that ...

4. Is it possible to add to tick label text on ValueAxis ?    jfree.org

Hi, Great charting class library by way, good job Mr Gilbert and others. Anyway, as eluded to in subject text, I need to add to the ValueAxis tick labels at certain points. For example, I have a constant data series which effectively draws a straight line. I would like to add to the value axis tick label (where line is plotted) ...

5. Spider-web with ValueAxis    jfree.org

7. ValueAxis.setFixedAutoRange() problem    jfree.org

TimeSeriesCollection[] datasets = new TimeSeriesCollection[] { new TimeSeriesCollection(), new TimeSeriesCollection(), new TimeSeriesCollection(), new TimeSeriesCollection()}; for(int i = 0; i < datasets.length; i++) datasets[i].addSeries(new TimeSeries()); xAxis = new DateAxis(); XYDotRenderer renderer = new XYDotRenderer(); ...

8. Why ValueAxis.MAXIMUM_TICK_COUNT = 500? Need more than 500!    jfree.org

I am using a symbol axis, which shall display more that 500 ticks. Now I have found out that the limit is ValueAxis.MAXIMUM_TICK_COUNT=500 (by try and error). 1. Why is 500 a limit? Why not more? 2. What can I do if I need more than 500, say 1000? is there a way to set the value dynamically? Thanks

9. [bug] ValueAxis in PaintScaleLegend does not trigger update    jfree.org

Hi, I am developping a GUI front end for JFreeChart. Among other things, it is possible to change the fonts of some chart components in a dialog. Normal axes/titles etc. worked fine but the ValueAxis of a PaintScaleLegend was not updated after its font had been changed. However, after I changed the settings for a further axis (a normal NumberAxis of ...





10. How to change ValueAxis value dynamically ?    jfree.org

Hi, i am facing problem while changing ValueAxis Label value dynamically.. i am able to set the label value only once.the subsequent changes are not reflecting. please find the below code private JFreeChart createChart() { final JFreeChart chartTemp = ChartFactory.createLineChart( "Analysis Graph", "Realtive Time (in Secs)", "Usage ", dataset, PlotOrientation.VERTICAL, true, true, false); chartTemp.setTitle("Analysis Graph"); chartTemp.setBackgroundPaint(Color.white); CategoryPlot plot = (CategoryPlot) chartTemp.getPlot(); ...

11. Creating a ValueAxis for bytes (i.e. KB, MB, GB, etc)    jfree.org

I have a XYPlot that I'm using which uses a basic NumberAxis right now for its range axis, with standard integer tick units. The data that I'm displaying in this plot is bytes, and it can dynamically change in value from a few hundred to millions of bytes. The basic configuration that I have now works just fine, but I'm looking ...

12. SetAutoRangeIncludesZero() in ValueAxis ????    jfree.org

Maybe because NumberAxis (where this flag is placed) is the only ValueAxis subclass which needs it? A DateAxis uses longs to represent data values. If you include the zero, you would always include january 1st, 1970 in your axis, which will probably squeeze the real values to a single line along the domain axis. I do not see a good reason ...

13. Change ValueAxis position    jfree.org

Hi, Im facing a problem when I put the orientation of the chart horizontal. When I do this the category axis goes to the left of the chart and the value axis goes to the up. Im ok with the category axis, but I really need to place the value axis down of the chart. Like in a vertical chart but ...

14. Clickable imagemap/tooltip for Axes (or ValueAxis) labels    jfree.org

public AxisState draw(java.awt.Graphics2D g2, double cursor, java.awt.geom.Rectangle2D plotArea, ...

15. [bug] ValueAxis.zoomRange(double, double)    jfree.org

Hi, imho there is a bug in version: jfreechart-1.0.13 at: org.jfree.chart.axis.ValueAxis.zoomRange(double, double) method at line (with sources for 1.0.13 - which are not exactly the sources from whom this version were built - imo) 1606 and 1610 the lower bound should not be counted using multiplying by length value. With Best Regards, GOLAN ps: when using mouse scroll U have java ...

16. ValueAxis::java2DToValue returns different value.    jfree.org

ValueAxis::java2DToValue returns different value. by giftlftr_23 Mon Feb 14, 2011 9:07 am When the JFrame is resized the ValueAxis::java2DToValue gives different x-value that leads to getting wrong value of the y-value from the dataset compared to as what the tooltip would display. But when the JFrame is still on its original size(first size of the JFrame) the ValueAxis::java2DToValue yields a ...