Search found 6 matches
- Wed Apr 23, 2008 5:16 pm
- Forum: JFreeChart
- Topic: BUG: Hide Axis Label axis.setLabel(null) render issue.
- Replies: 3
- Views: 3713
Looks like the SVN code seems to fix this bug in v1.0.10 Thanks! [ But still not convinced by the hashCode method on NumberAxis. Until there's a setLabelVisible(boolean) I have to setLabel(null) which causes problems where different axes have same hashCode ] /** * Returns a hash code for this object...
- Tue Apr 22, 2008 10:42 am
- Forum: JFreeChart
- Topic: BUG: Hide Axis Label axis.setLabel(null) render issue.
- Replies: 3
- Views: 3713
- Mon Apr 21, 2008 10:38 am
- Forum: JFreeChart
- Topic: BUG: Hide Axis Label axis.setLabel(null) render issue.
- Replies: 3
- Views: 3713
BUG: Hide Axis Label axis.setLabel(null) render issue.
I set the Axis Label to null to hide the label text, since can't find any other method for this. As a side effect, the rendering gets messed up. Seems to add a load of whitespace where the label used to be, and also doesn't give enough spacing between multiple axes. See image attached. http://b.imag...
- Fri Mar 14, 2008 12:44 pm
- Forum: JFreeChart
- Topic: BUG: HashCode in NumberAxis / Axis etc
- Replies: 1
- Views: 2424
Another related error happens when I set the Axis Label to null to "hide it". As a side effect, the rendering seems messed up also. Seems to add a load of whitespace where the label used to be, and also doesn't give enough spacing between multiple axes. See image attached. http://b.imagehost.org/025...
- Fri Mar 14, 2008 12:07 pm
- Forum: JFreeChart
- Topic: BUG: HashCode in NumberAxis / Axis etc
- Replies: 1
- Views: 2424
BUG: HashCode in NumberAxis / Axis etc
Currently hashcode is this public int hashCode() { if (getLabel() != null) { return getLabel().hashCode(); } else { return 0; } } I'm caching label values as I need to hide and restore labels. Since there's no method to hide a LabelLabel (not tick Label), I'm setting values to null and storing in Ma...
- Mon Mar 10, 2008 4:14 pm
- Forum: JFreeChart
- Topic: Using TimeSeries in StackedArea Chart (StackedXYAreaChartDem
- Replies: 6
- Views: 8807
I'm using a TimeTableXYDataset and rendering it with a XYStepAreaRenderer. I have a vertical (time) crosshair applied, and want to query the value of the underlying Dataset once I've fetched the crosshair value. I cannont find anyway of looking up the data row given a time in millis. It seems there ...