XYDifferenceRenderer « Renderer « JFreeChart Q&A





1. XYDifferenceRenderer and separate lines    stackoverflow.com

I'm working on project where we are using jFreeChart. I need to use XYDifferenceRenderer and I need it to display difference graph of two functions. These functions don't need ...

2. XYDifferenceRenderer for discontinuous function    jfree.org

Hi, I would like to display difference graph of the discontinuous functions. These functions are defined in the same intervals. Could I use XYDifferenceRenderer for this? I already tried to put "NULL" values when the values are not defined to both functions. I also tried to make more datasets for continuous intervals, but I did not succeeded. I don't know how ...

3. a problem in using XYDifferenceRenderer    jfree.org

hi, I am using XYDifferenceRenderer in my JFreechart application. The problem that im facing is in the display of a third line series that i hav added to the line chart. There are 3 line-series in the graph. I have shaded the region between the two line-series with the color yellow. The third series's Y-axis values lie somewhere btn the Y-axis ...

5. XYDifferenceRenderer sensitivity    jfree.org

How sensitive is the XYDifferenceRenderer to differences in the domain/x values in two series? I have two series generated which I wish to diff, but because they come from two different runs, the x-values vary slightly. For instance: Series 1: {..., (3601.0, 1.980392), (3702.0, 1.87037), ...} Series 2: {..., (3601.0, 1.980392), (3701.0, 1.886792), ...} In both cases, the '...' are where ...

7. Question on XYDifferenceRenderer fill    jfree.org

Hello, I am using an XYDifferenceRender to highlight the difference between 2 time series charts. When the fills are rendered to PNG or SVG, it looks as if the edges of the polygons that are used to fill the differences are showing. Is there any way to override this behavior? Thanks, Dan

8. XYDifferenceRenderer - Invalid memory access of location    jfree.org

I was getting this when using the XYDifferenceRenderer Invalid memory access of location b0e0e6f0 eip=9038fa9b Turns out way back in the server providing our data, there was an occasional divide/zero, which meant the data in my TimeSeries.getYValue was a "NaN" and XYDifferenceRenderer does compares to determine the positive and negative areas. Compares of "NaN"s are always false, so XYDifferenceRenderer could call ...

9. Bug in XYDifferenceRenderer with inversed domain values    jfree.org

Bug in XYDifferenceRenderer with inversed domain values by tomkieffer Wed Jan 09, 2008 11:13 am Hi, I created the following demo to demonstrate what I think is a bug in XYDifferenceRenderer. Every thing is ok, if at line 35 the code "inverse(time)" is inactive. If however, as in the demo, I inverse the x-axis values (before creating the dataset), the ...





10. Question about XYDifferenceRenderer    jfree.org

I created a Bollinger bands by retrieving data from database. Therefore, in a chart I hv a upper band and a lower band. In between I plotted the stock price of a particular stock. Totally three time series. The problem is that when I use XYDifferenceRenderer to color the area bounded by two series, it chose to color the area between ...

11. XYDifferenceRenderer Error    jfree.org

I am generating a log normal distribution curve and shading in an area under the curve using an XYDifferenceRenderer and I am seeing the following error. Has anyone seen this error before or know why I am getting it. Exception occurred during event dispatching: java.lang.IndexOutOfBoundsException: Index: 250, Size: 250 at java.util.ArrayList.RangeCheck(ArrayList.java:507) at java.util.ArrayList.get(ArrayList.java:324) at org.jfree.data.xy.XYSeries.getDataItem(XYSeries.java:445) at org.jfree.data.xy.XYSeriesCollection.getX(XYSeriesCollection.java:302) at org.jfree.data.xy.AbstractXYDataset.getXValue(AbstractXYDataset.java:75) at org.jfree.chart.renderer.xy.XYDifferenceRenderer.drawItemPass0(XYDifferenceRenderer.java:510) ...

12. XYDifferenceRenderer + percentage    jfree.org

That is not as easy as you might think. The XYDifferenceRenderer does a lot of interpolating to eliminate the requirement that the two series being diffed share a common set of domain values. This leads to an interesting set of corner cases. Creating a dataset with the values precomputed as percentages will probably work if you do indeed have a common ...