bug « Development « JFreeChart Q&A





1. BUG: jfreechart looses legend during serializition (rc1)    jfree.org

Thanks for the report. This seems to fix it: Code: Select all Index: LegendTitle.java =================================================================== RCS file: /cvsroot/jfreechart/jfreechart/source/org/jfree/chart/title/LegendTitle.java,v retrieving revision 1.20.2.1 diff -u -r1.20.2.1 LegendTitle.java --- LegendTitle.java 6 Jun 2005 11:13:04 -0000 1.20.2.1 +++ LegendTitle.java 9 Jun 2005 12:57:19 -0000 @@ -45,6 +45,7 @@ * 20-Apr-2005 : Added new draw() method (DG); ...

2. bug in SegmentedTimeline?    jfree.org

I am using the SegmentedTimeline to draw timeseries graph. I want to chart only data from Monday to Friday days. Regardless sometimes show me In the chart Saturday day overlapping with the Monday date. I am not sure why Saturday is showing up on the X-Axis, but some times is overlapping with Monday. Anybody know this problem and how to solve? ...

3. Bug in SegmentedTimeline due to DST    jfree.org

Bug in SegmentedTimeline due to DST by jrogers Thu Jul 14, 2005 7:03 am I believe this is a bug. I've been using the SegmentedTimeline prior to daylight savings time. I've recently discovered that in my OHLC bar charts, I've got some bars written right on top of each other. It is very hard to pick out, but it is ...

4. Is This a Bug?    jfree.org

Is This a Bug? by allquixotic Mon Jul 18, 2005 7:16 pm EDIT: As far as answering the question in the post title, I think the answer should be "yes" - and here's why. The exception occurs within an ArrayList in the JFreeChart library. In my opinion, all exceptions within an API should provide System.out feedback on why they occurred ...

5. Four JFreeChart Bugs for your enjoyment    jfree.org

JFreeChart is a great piece of work, so it is with a heavy heart that I post some bugs. The chunk of code below will pop up a simple JFreeChart, complete with a Legend. But if you right-click on the chart and check the properties, you'll find the Legend is supposedly turned off. Turn it on and you get... ANOTHER legend! ...

6. Bug in HistogramDataset    jfree.org

7. Legend Bug    jfree.org

I have created a chart with a legend. However when I right-click on the chart and display PROPERTIES... - LEGEND, the "Show Legend" item is not checked. If I check it, a second legend is added to the chart. This behaviour can be seen in the JFreeChart Demo Collection with all of the charts that have legends.

8. Quadrants and XYDrawableAnnotation bugs    jfree.org

if ( orientation == PlotOrientation.HORIZONTAL ) { float temp = j2DX; j2DX = j2DY; j2DY = temp; }

9. Bug: Crosshair location wrong when using multiple axes    jfree.org

Hello David & others, first of all thanks for that great library for free. I was playing a bit with it and like it very much. Now I think I found a little bug. Based on the TimeSeriesChartDemo (which uses a XYPlot) I tried to add a second vertical range axis and mapped a dataset to. When clicking on a shape ...





10. Title and subtitle centering bug    jfree.org

12. generateToolTip bug?    jfree.org

14. 1.0.0-rc1 bug?    jfree.org

Hi, I stumbled upon strange behaviour when using the HistogramDataset and the legend, I solved it by changing line 297 of HistogramDataset.java to the following: return (Comparable) map.get("key"); Did the developers forget that they are using comparables as keys, not strings? And that they put "key" into the map, not "name"? Sorry if I completely misunderstood everything. Cheers / Rikard

15. a possibble bug    jfree.org

a possibble bug by Miguel Zabaran Tue Aug 01, 2000 1:07 am Hi. I find what I think is a bug in the GUI for chart editting. Let's say, when I try to modify the grid optionns (in the Plot\Grid tab), like Grid Stroke or Grid Paint, or set the Grid 'Show grid lines' option selected or not, NO CHANGES ...

16. Bug when inserting weeks.    jfree.org

Hello. The problem is the next: when you insert a date like 2005/01/01 00:00 in a TimeSeries object, the date saved is the 53rd week of 2005. It has no sense, because it would be logical if the week was the first one of 2005 or the last one of 2004 (what is wrong too, but is more logical). I have ...





17. In JFree1.0.0 Title Alignment Bug!!!!!!    jfree.org

In JFree1.0.0 Title Alignment Bug!!!!!! by James.Cheng Sun Dec 11, 2005 5:28 pm in this release,Title Alignment has a bug in LeftAlignment and RightAlignment !!!! right Code as follow: Code: Select all else if (position == RectangleEdge.RIGHT) { Size2D size = t.arrange(g2, constraint); ...

18. Weird bug    jfree.org

Weird bug by dgagnon Mon Dec 12, 2005 10:56 pm Hi, I wanted to move some code to generate a chart from a facade to the Helper file of a report. The original chart is working fine, but for an unknown reason (well I don't see why) the result of almost the same code get all messup after the rendering... ...

19. Bug in RingPlot?    jfree.org

20. Wow, this is a really terrible bug!    jfree.org

Wow, this is a really terrible bug! by erikras Tue Jan 03, 2006 8:37 pm All RegularTimePeriods use a common static Calendar instance. This is not even remotely threadsafe, since the getStart() and getEnd() methods modify this Calendar instance. Here's a test program to demonstrate this bug. You might have to run it a few times or tweak the loop ...

21. XYTextAnnotation Bug    jfree.org

I keep a Vector of XYTextAnnotations that the user has added. So the XYTextAnnotation is added to both a vector and the XYPlot. However, I wrote allow the user to select an XYTextAnnotation on the chart and remove it or see details about it. However, when multiple XYTextAnnotations exist that have the same exact text and the user removes one of ...

22. 1.0.1: several new bugs    jfree.org

Anonymous wrote:Oh man, I really hoped that after releasing the 1.0.0 version, subsequent "bugfix" versions like 1.0.1 just fixes bugs, but I just tested a report document with several charts and almost all of them look different and crippled (overlapping labels, missing titels, ...) ..... *grrrrr* I'll be very surprised if it really is the upgrade to 1.0.1 that has caused ...

24. Potential Bug in 1.0.1    jfree.org

I am having an issue which might be a bug in 1.0.1. It looks like this is the place to report such. I have a Swing app that based on data collected, redraws the graph pretty frequently. It looks and works very much like the memory monitor in the demo app. I only display 5 minutes worth of data. After 5 ...

25. Bug? AlphaComposite used SRC instead of SRC_OVER    jfree.org

I've been having considerable trouble having the alpha values do anything when attempting to set backgrounds, etc. for my plots. It seemed that an alpha of 0.0f would be completely translucent (as it should be), but an alpha > 0 would be completely opaque! Several hours of troubleshooting and hairpulling later, I found that the problem was that instead of using ...

26. XYShapeAnnotation bug may be    jfree.org

i am trying to use XYShapeAnnotation. and i noticed this thing, I am trying to draw arc using Arc2D. but java specifies that arc should start drawing from upper left corner of the rectangle bounding that. when i try that with Jfreechart, it starts from bottom left corner. same thing happens when i try to use Rectangle2D also. I am adding ...

27. XYShapAnnotation does not work with SegmentedTimeline. Bug?    jfree.org

i am trying to draw XYShapeAnnotation on DateAxis (x-Axis) and price (y-Axis). but when i use SegmentedTimeline timeline = SegmentedTimeline.newMondayThroughFridayTimeline(); axis.setTimeline(timeline); i mean when i use SegmentedTimeline and try to add XYShapeAnnotation, it does not work. when i comment out the //axis.setTimeline(timeline). my code works fine and it show annotation. is that i am doing something wrong or its a bug. ...

28. RegularTimePeriod - Week - BUG    jfree.org

RegularTimePeriod - Week - BUG by JLammer Mon Mar 13, 2006 12:14 pm I used JFree chart for making of chart, but I found an unlikely bug in class RegularTimePeriod, probably class Week. The code bellow shows the bug clearly. Code: Select all import java.util.Date; import org.jfree.data.time.RegularTimePeriod; import org.jfree.data.time.Week; public class WeekTest { ...

29. TimeSeriesDemo1 Bug?    jfree.org

Before I describe the problem I encountered I would like to point out that I am a neophyte when it comes to both jFreeChart and java. I did a search of the bb but found no hits. I am playing around with NetRexx [http://www-306.ibm.com/software/awdtools/netrexx/] and I converted the TimeSeriesDemo1 java program located in section 8.2.6 of the Developer's Guide into NetRexx. ...

30. problem with .... UnknownKeyException... maybe a bug??    jfree.org

Hi , I have this code... for (ForecastByProductLineVO fvo : data) { //this condition to test if the value is already present if (dataset.getRowIndex(fvo.getLineName()) >= 0 && dataset.getColumnIndex("" + fvo.getState()) >= 0) { //here pass the condition dataset.incrementValue( fvo.getValue(), fvo.getLineName(), fvo.getState() ); } else { dataset.addValue( (Number) fvo.getValue(), fvo.getLineName(), fvo.getState()); } } as you can see if the condition pass is ...

31. need suggestion to remove a bug    jfree.org

hello, i work for railroads and am trying to create a graph which shows the location of a train (identified by miles) and the time when it was at that milepost. so (12.91, 0.0) means that the train was at 0 milepost at 12.91 hrs. The code provided below works fine except when the time unit exceeds 24 or 0. the ...

32. Possible bug in DynamicTimeSeriesCollection    jfree.org

Hi all, i've been playing around with DynamicTimeSeriesCollection and i saw that the Y-range is always 0-NaN, even when i append actual data. Looking around in the source code, i saw that the range values minValue and maxValue are cached in member variables (and valueRange as a cached Range object of these two). advanceTime() tries to optimize the maximum value calculation ...

33. Bug    jfree.org

Can anyone tell me what this error means Exception in thread "AWT-EventQueue-0" java.lang.IndexOutOfBoundsException: Index: 593, Size: 213 at java.util.ArrayList.RangeCheck(ArrayList.java:547) at java.util.ArrayList.get(ArrayList.java:322) at org.jfree.data.xy.XYSeries.getDataItem(XYSeries.java:446) at org.jfree.data.xy.XYSeriesCollection.getX(XYSeriesCollection.java:245) at org.jfree.data.xy.AbstractXYDataset.getXValue(AbstractXYDataset.java:77) at org.jfree.chart.labels.AbstractXYItemLabelGenerator.createItemArray(AbstractXYItemLabelGenerator.java:250) at org.jfree.chart.labels.AbstractXYItemLabelGenerator.generateLabelString(AbstractXYItemLabelGenerator.java:229) at org.jfree.chart.labels.StandardXYToolTipGenerator.generateToolTip(StandardXYToolTipGenerator.java:155) at org.jfree.chart.renderer.xy.AbstractXYItemRenderer.addEntity(AbstractXYItemRenderer.java:1430) at org.jfree.chart.renderer.xy.XYLineAndShapeRenderer.drawSecondaryPass(XYLineAndShapeRenderer.java:1085) at org.jfree.chart.renderer.xy.XYLineAndShapeRenderer.drawItem(XYLineAndShapeRenderer.java:801) at org.jfree.chart.plot.XYPlot.render(XYPlot.java:2640) at org.jfree.chart.plot.XYPlot.draw(XYPlot.java:2218) at org.jfree.chart.JFreeChart.draw(JFreeChart.java:1039) at org.jfree.chart.ChartPanel.paintComponent(ChartPanel.java:1274) at javax.swing.JComponent.paint(JComponent.java:1005) at javax.swing.JComponent.paintChildren(JComponent.java:842) at javax.swing.JComponent.paint(JComponent.java:1014) at javax.swing.JComponent.paintChildren(JComponent.java:842) at javax.swing.JComponent.paint(JComponent.java:1014) at javax.swing.JComponent.paintChildren(JComponent.java:842) at javax.swing.JComponent.paint(JComponent.java:1014) ...

35. Possible Java Web Start bug    jfree.org

I upgraded to 1.0.2 from 1.0.0 and my application works when run in stand-alone mode. When deployed as a Java Web Start application the following occurs when a new time series chart is created. I am also using jcommon 1.0.5. Code: Select all Exception in thread "AWT-EventQueue-0" java.lang.ClassFormatError: Illegal field name " " in class org/jfree/chart/plot/ValueMarker at java.lang.ClassLoader.defineClass1(Native ...

37. Is it a bug ?    jfree.org

I need to display a chart like the CrosshairDemo2 shows. now,my problem is I need to set RangeAxis Crosshair Visible. sure, the XYPlot class has a method named "setRangeCrosshairVisible(boolean)", and I did it. this is my code: [code]xyplot.setDomainCrosshairVisible(true); xyplot.setRangeCrosshairVisible(true); xyplot.setDomainCrosshairLockedOnData(true);[/code] but, the display is nly for the default XYDataset that the RangeAxis Crosshair is in effect. so then ,I update CrosshairDemo2's ...

38. Need Help with AxisTrace bug!!!    jfree.org

39. bug in TaskSeries    jfree.org

40. Not sure if this is a bug, or just an odd issue    jfree.org

Hi all Came across the following bug/problem with XYDotRenderer. I was trying to use a Dot renderer to plot a series of dots on an XY plot. The dots were drawn sucessfully, but were rather small, so I tried to call the setDotHeight() and setDotWidth() methods listed in the API, and received an error that those methods were not defined for ...

41. Possible bug in DynamicTimeSeriesCollection autorange    jfree.org

Hi, I'm using a DynamicTimeSeriesCollection for displaying "moving" data. The problem is that autoRange of the Y-axis is not working correctly - The automatic range is always 0-NaN, even though i'm using only positive values, and the valueHistory arrays does not contain any NaN values. At first, maxValue = null and valueRange = null. That is, the range info is invalid ...

42. Bug    jfree.org

Bug by rachel_k Tue Feb 06, 2007 7:55 pm I have discoved a bug in the overlay chart. I cannot overlay a bar over a bar. It appears as a flat line. Any suggestions? Please see the CreateBarLeftBarRightOverlayChartJPG() part of the DualAxisChart bean below. package com.thomson.chart; import java.io.File; import org.jfree.chart.JFreeChart; import org.jfree.data.category.DefaultCategoryDataset; import org.jfree.chart.ChartUtilities; import org.jfree.chart.axis.CategoryAxis; import org.jfree.chart.axis.CategoryLabelPositions; import org.jfree.chart.axis.NumberAxis; ...

43. Repost bug    jfree.org

Repost bug by rachel_k Tue Feb 13, 2007 8:09 pm I am reposting because I still have not got an answer. Please note the values for R1 on the chart are all at the same level, but in the dataset the values are all different, the R1 values should reflect the dataset values and they do not. This is a ...

44. Bug in LookupPaintScale    jfree.org

45. StackedXYAreaChartDemo1 createStackedXYAreaChart BUG?    jfree.org

Why JFreeChart, why? Why is StackedXYAreaChartDemo1 so delicate? If I modify the data set as follows, things are good, but below things are bad. Check out the code and the chart images. Am I asking too much of JFreeChart? Code: Select all XYSeries s1 = new XYSeries("Series 1", true, false); ...

46. where is the bug in my code? I need your help    jfree.org

where is the bug in my code? I need your help by kalissow Tue Apr 24, 2007 5:57 pm hi, i need your help. something is wrong in my code, but i dont know what. hier is my code: Code: Select all import java.awt.BorderLayout; import java.awt.Dimension; import java.awt.FlowLayout; import javax.swing.JFrame; import javax.swing.JPanel; import org.jfree.chart.ChartPanel; import org.jfree.chart.JFreeChart; import org.jfree.chart.axis.AxisLocation; import org.jfree.chart.axis.NumberAxis; ...

47. Bug in jfreechart    jfree.org

Hi , I am getting a very strange problem , When I maximize my chart and try to click and drag as I have kept mouse events in my code I am unable to drag at all . The problem is the chart gets resized or Flickered when I try to click on the chart area . Has any one other ...

48. Bug or not? XYItemEntity item index not updated!!!    jfree.org

... XYItemEntity item = the current item from the Vector... ... int seriesIndex = item.getSeriesIndex(); int itemIndex = item.getItem(); XYDataset ds = item.getDataset(); XYSeries series = ((XYSeriesCollection)ds).getSeries(seriesIndex); int x = (int)ds.getXValue(seriesIndex, itemIndex); //remove ...

49. BUG? CombineDomainXYPlot; XY scale is not working.    jfree.org

BUG? CombineDomainXYPlot; XY scale is not working. by m3stevep Mon Jun 04, 2007 10:10 am I'm trying to create a CombinedDomainXYPlot, but am having troubles getting it to scale correctly. It seems like the scale of the last XYPlot added wins and all others are ignored. Here is a simplied version of my code. Any help is much appreciated. Code: ...

50. bug ccalage of day    jfree.org

Hello, I found a bug ccalage of day by using the class timeseries. The shift is over 5 months over the every years of October at March. Ci joint 2 images to explain: i can't add url how i can do? Afflicted for the language, I am French. How then I to solve this problem? Correct yourself this bug? Thank you ...

51. Bug in DefaultBoxAndWhiskerCatgeoryDataset    jfree.org

Hello, The method Code: Select all public void add(BoxAndWhiskerItem item, Comparable rowKey, Comparable columnKey) in DefaultBoxAndWhiskerCategoryDataset results in the following exception. ...

52. Bugs and patches for LegendTitle and LegendItem    jfree.org

Bugs and patches for LegendTitle and LegendItem by pdags33 Thu Aug 02, 2007 9:38 pm Hello, Not to sure where this should really go, so I'm posting this here. If you tried to create a set of fixed LegendItems you would get a null 'transformer' argument error. This can be fixed by adding Code: Select all this.fillPaintTransformer = new StandardGradientPaintTransformer(); ...

53. Bug?    jfree.org

54. Bug in ChartFactory.createHistogram() ??    jfree.org

Bug in ChartFactory.createHistogram() ?? by jack_kanaska Thu Sep 20, 2007 6:21 pm Hi, I think this might be a bug.... When I use ChartFactory.createHistogram() to create a histogram, it does not chart properly if the bin ranges are small decimal value. For example I am trying to do a basic histogram of correlation coefficients, and the Y values in the ...

55. legend export to .png bug    jfree.org

Ive faced a strange bug. When I generate a chart and try to export it to jpg format everything works fine, but if I try to export it to png format than legend showed twice. For example I see 2 trends in one graph and 4 legends for them. I tried to debug it, but when I use debug mode everything ...

56. bug? range markers don't appear in LineChart3D    jfree.org

It looks like the code to handle IntervalMarker instances is missing. Worse, though, the handling that *is* present in the BarRenderer3D class is wrong...I'll fix both problems now. I'm not sure that there is an easy solution for the interval markers when the 3D effect is present, though. Unfortunately the markers are drawn over top of the data items, so there's ...

57. Bug in AbstractXYItemLabelGenerator?    jfree.org

protected Object[] createItemArray(XYDataset dataset, int series, int item) { ... ...

58. Bug report for TimePeriodValues    jfree.org

60. Serious LogAxis bug!!! Why hasn't anyone else noticed?!!    jfree.org

Ok guys - I've been using LogAxis for a month on an almost daily basis and I've noticed that there are a lot of posts about it so apparently other people are also using it. Am I the only one so far that has noticed that LogAxis using base 10 (I haven't tried other bases, just the most common one) displays ...

61. bugs in RegularTimePeriod?    jfree.org

More info.... When you create a new object (using the Minute class for example) and specify a time zone, this time zone is used in a Calendar object to extract the components of the date (hour, minute, etc.). When 'getStart' or 'getEnd' is called however, the default time zone winds up being used when the above date components are converted back ...

62. Is this a bug    jfree.org

My dataset has 4 dates. I cite an example here The dates are 04-02-2008 11-02-2008 18-02-2008 25-02-2008 3 points here 1. These dates represent the first day of each week . 2. These are to be plotted on the x axis. 3. I use the period axis for this plotting 4. I set the dataset using timeseries(week) However when the graph ...

63. chartMouseMoved bug?    jfree.org

I have implemented the ChartMouseListener for my ChartPanel. However, the method chartMouseEvent.getEntity() is not always returning an XYItemEntity. Sometimes the mouse cursor will be directly on top of a point in the line, yet getEntity() will return NULL. Here is my code: public void chartMouseMoved(ChartMouseEvent event) { final ChartEntity entity = event.getEntity(); if (entity instanceof XYItemEntity) { chartPanel.setCursor(java.awt.Cursor.getPredefinedCursor(java.awt.Cursor.HAND_CURSOR)); } else { ...

64. BUG?: Black Charts after Update    jfree.org

Hi all, i have used JFreeChart 1.0.5 to create charts and saved them as Image (JFreechart.createBufferedImage()) and everything went well for long time. Last week i've updated to the newest version (JFreeChart 1.0.9). Since then i get black charts, nothing is visible on the charts. The charts contain data but they aren't visible, because of the black color of the whole ...

65. Bug using MinimumBarLength and Negative values in Barcharts    jfree.org

Bug using MinimumBarLength and Negative values in Barcharts by Morwen Tue May 06, 2008 10:07 am Hello, I encountered a bug when using setMinimumBarLength while trying to display negative values. We're using the minimum bar length in order for values not to "disappear" since they're comparatively too small, and sometime negative values are displayed, which causes the whole barchart to ...

66. Bug:CandlestickRenderer ignores setBaseCreateEntities(false)    jfree.org

JFreeChart 1.0.9.... Looking at the source for CandlestickRenderer you can see that the drawItem() method does not check this flag for creating entities and always creates them... from drawItem() in CandlestickRenderer, line 847 to ... Code: Select all // add an entity for the item... ...

67. HistogramDataset out-by-one bug    jfree.org

HistogramDataset out-by-one bug by smagrath Thu May 22, 2008 2:32 am I think I found an "out-by-one" error in HistogramDataset. I observed some strange gaps in my histogram chart and reviewing the history of the java I thought it may have been fixed in the past. In any case, I noticed that the method: Code: Select all public void addSeries(Comparable ...

69. A bug makes me hopeless    jfree.org

A bug makes me hopeless by houston_dragon Sat May 31, 2008 8:05 pm Hi, I think this is a bug. To make things clear, I took the example from the official guide to domstrate this bug. (LineChartDemo2.java). I only modified the class name and remove the unused other 2 data series. I have four points which I added in the ...

71. SubCategoryAxis, JFreeChart 1.0.11, bug    jfree.org

Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException at org.jfree.chart.axis.SubCategoryAxis.drawSubCategoryLabels(SubCategoryAxis.java:310) at org.jfree.chart.axis.SubCategoryAxis.draw(SubCategoryAxis.java:270) at org.jfree.chart.plot.CategoryPlot.drawAxes(CategoryPlot.java:2885) at org.jfree.chart.plot.CategoryPlot.draw(CategoryPlot.java:2731) at org.jfree.chart.JFreeChart.draw(JFreeChart.java:1222) ...

72. ChartPanel bug(?) as of JFreeChart 1.0.11    jfree.org

Tried to use ChartPanel() constructor passing in a ChartFactory 3d Barchart using all the parameters and sweetness from the Javadocs. Got the following error: class file for org.jfree.ui.Drawable not found Happened after I did a Clean and Build in NetBeans 6.5, so perhaps it wiped the binary (though I don't think it goes into included libraries, I'm not sure). The odd ...

74. StackedArea Bug in 1.0.11    jfree.org

75. XYPolygonAnnotation drawing bug    jfree.org

I have a DomainAxis that is extremely long (1-250,000,000). When I zoom to small windows of this domain (e.g. < 200), my XYPolygonAnnotation that spans the entire axis is not drawn for some - but not all! - of the window sizes (e.g. 45 no, 31 yes)... I strongly suspect that there is some sort of rounding error occurring during the ...

76. JFreeChart 1.0.12 - Regression bug?    jfree.org

David, I ran into a problem when I upgraded from 1.0.11 to 1.0.12. This line ((CategoryPlot) barChart.getPlot()).setRenderer(stackedBarRenderer, true); which ran fine until and including 1.0.11 now throws the Exception below. Any suggestion where to start looking? Klaus --- java.lang.IllegalArgumentException: Null 'dataset' argument. at org.jfree.data.general.DatasetUtilities.findStackedRangeBounds(Unknown Source) at org.jfree.data.general.DatasetUtilities.findStackedRangeBounds(Unknown Source) at org.jfree.chart.renderer.category.StackedBarRenderer3D.findRangeBounds(Unknown Source) at org.jfree.chart.plot.CategoryPlot.getDataRange(Unknown Source) at org.jfree.chart.axis.NumberAxis.autoAdjustRange(Unknown Source) at org.jfree.chart.axis.NumberAxis.configure(Unknown Source) at ...

77. Bug in RendererUtilities.findLiveItems ?    jfree.org

Bug in RendererUtilities.findLiveItems ? by skunk Wed Feb 25, 2009 5:01 pm While attempting to refactor some existing code to use RendererUtilities.findLiveItems(...) I ran across a problem in the implementation Code: Select all 162 if (dataset.getDomainOrder() == DomainOrder.ASCENDING) { 163 ...

78. BUG in SlidingCategoryDataset    jfree.org

public List getColumnKeys() { List result = new java.util.ArrayList(); int last = lastCategoryIndex(); for (int i = this.firstCategoryIndex; i < last; i++) { ...

79. OutlinePaint problem, bug    jfree.org

Code: Select all // draw the outline... if (renderer.isDrawBarOutline() /*&& state.getBarWidth() > renderer.BAR_OUTLINE_WIDTH_THRESHOLD*/) { Stroke stroke = ...

80. XYDrawableAnnotation bug?    jfree.org

XYDrawableAnnoation doesn't seem to work properly when plot orientation is horizontal. The annotation doesn't appear at the expected point in the graph.. XyPointerAnnotation works fine in this case. XyPointerAnnotation's 'draw' method checks for the plot orientation and adjusts the j2DX and j2DY values accordingly, whereas XYDrawableAnnotation doesn't seem to do that. Is this a bug?

82. Traceline bug?    jfree.org

83. Bug in ChartPanel.setMouseWheelEnabled    jfree.org

First if-condition is wrong. If you call setMouseWheelEnabled(true) twice in a row, the second call actually fails that first condition, falls through to the else clause and turns it off again. Dont' think this was intended. For anyone else having trouble with mouse-wheel-zooming going dead erratically: just use isMouseWheelEnabled() first and don't enable redundantly. Cheers jim

84. Possible bug in ChartComposite/SWTUtils.    jfree.org

I realize ChartComposite is still in the experimental stage but I've noticed a couple issues when dealing with mouse events. 1. The mouse clicked event fires on mouse down instead of mouse up. This works differently from the standard implementation. It is also fixed easily by moving a block of code from one method to another. 2. The crosshairs for charts ...

85. Legend bug with SamplingXYLineRenderer    jfree.org

Legend bug with SamplingXYLineRenderer by smcleod Wed Jul 08, 2009 2:36 pm Hi there, I'm using the new SamplingXYLineRenderer, with a legend. The legend shows black instead of the right colour. The code below is slightly modified from one of the JFreeChart tutorial demos, and demonstrates the problem with the legend. Regards, Steve McLeod --- Code: Select all import org.jfree.chart.ChartFactory; ...

86. Bugs in iterateRangeBounds?    jfree.org

Bugs in iterateRangeBounds? A free public discussion forum for the JFreeChart class library. Post a reply 2 posts Page 1 of 1 Bugs in iterateRangeBounds? by dschaffer2003 Wed Sep 02, 2009 11:57 pm Hello Dave I believe I have uncovered a feature (bug?) of the DatasetUtilities iterateRangeBounds methods for Interval XY and Interval Category Datasets that I find surprising. ...

87. LegendGraphic.arrange and invisible line/shape bug?    jfree.org

Hello, I just made a side-by-side comparison with an own XYItemRenderer implementation (which extends AbstractXYItemRenderer) and the XYLineAndShapeRenderer. Using only shapes for both renderers, I found that the legend items in the generated LegendTitle are spread further apart for the latter. I trakced this down to LegendGraphics.arrangeNN: this method will calculate the space which is needed to show both the line ...

88. BUG: multiple timeserie same name=>problem range calculation    jfree.org

BUG: multiple timeserie same name=>problem range calculation by rubenvanstraten Tue Dec 01, 2009 3:53 pm Hi, I found a bug in the JFreeChart software. Since I could not find something about this on the forum yet, i thought i might just submit it. While integrating the library in my code, I found out that when you have multiple Timeseries in ...

89. SetSeries(int,null) is bug or im doing something wrong?    jfree.org

He guys I'm developing a Software for visualizing data from a experiment. and I'm kind of stuck in particular problem and i can not figure it out. ok ive a check box which whenevre is clicked it sets renderer null, however when i have more than one xyplot on my chart panel when i deselect the second check box(which represent the ...

90. PopupMenu Crosshair right click bug?    jfree.org

I have a CombinedDomainXYPlot with several XYPlots (Bar Charts) in it. Crosshairs are enabled. The problem is that if I right click the chart to see the PopupMenu, the crosshairs get drawn where I right clicked. I only want to draw crosshairs when I left click. Same thing happens in my CategoryPlot which uses a GanttRenderer. The demo programs (CrosshairDemo 1 ...

91. Bug in LogAxis when very low value is plotted    jfree.org

I have created a CombinedRangeCategoryPlot with LogAxis. In case when the minimum value in the plot is very low ( like order of 10^-25 or so), I am facing following problem: When the graph is zoomed by mouse click & drag operation, it is zoomed finely. But when I drag the mouse in opposite direction to revert the zoom, the whole ...

92. BUG: concurrency issue when parsing RegularTimePeriod object    jfree.org

Hi, I'm using JFreeChart to render multiple charts on one web page, each handled by their own http request and thus using multiple threads. I'm not accessing the same chart from multiple threads or anything like that. The problem is just that I get unpredictable parsing errors when assembling a timeseries, more specifically when calling Day.parseDay() or Minute.parseMinute(). Since JFreeChart uses ...

93. XYDrawableAnnotation Bug - Set MarkerDemo1 to HorizontalMode    jfree.org

There is XYDrawableAnnotation Bug - Set MarkerDemo1 to Horizontal Mode to duplicate: no other change was made. Is there any known workaround to this? I would upload images if I could see how. If you change MarkerDemo1 from Vertical to Horizontal chart, You will see that the XYDrawableAnnotation circle no longer encloses the dot. The other annotation XYPointer, works properly.

94. SamplingXYLineRenderer bug?    jfree.org

If I use the SamplingXYLineRenderer instead of XYLineAndShapeRenderer the line colors in my code become the same. Is this a known problem? Code: Select all private XYPlot createLinePlot(XYDataset dataset, String subPlotXLabel) { // WARNING: the sampling render is faster but I get all the lines ...

95. Bug [ 746512 ] closed but not fixed?    jfree.org

Here is the code from the mouseClicked(...) method in the ChartPanel: Code: Select all public void mouseClicked(MouseEvent event) { Insets insets = getInsets(); int x = (int) ((event.getX() - insets.left) / scaleX); int ...

96. interval markers -- possible bug?    jfree.org

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 marker will continue ...

97. setting setMaxBarWidth bug?    jfree.org

Hello. I have generated a GanttChart but when I use the setMaxBarWidth my task names are then offset from the bars. This is most obvious when I've only got one series in my SeriesCollection. The name of the series is in the middle and the bar is drawn at the top of the chart. Looking at the Bar/Interval/GanttRenderers i can see ...