Search found 4 matches

by jylaxx
Wed Aug 08, 2012 10:21 am
Forum: JFreeChart
Topic: ValueAxis FixedDimension bug
Replies: 4
Views: 5198

Re: ValueAxis FixedDimension bug

Well, it is not easy for me to set a demo or unit test now but the bug seems obvious. On the screen capture you can see in first image that the fixed dimension (set to 50) is first added and then the labels axis. So the axis width change with labels width. In second image (with fix) the axis width i...
by jylaxx
Tue Aug 07, 2012 10:42 pm
Forum: JFreeChart
Topic: ValueAxis FixedDimension bug
Replies: 4
Views: 5198

ValueAxis FixedDimension bug

I tried to use FixedDimension option of a ValueAxis but the behaviour was not correct. After investigation I found that probably one piece of code was not at the right place : class ValueAxis public AxisSpace reserveSpace(Graphics2D g2, Plot plot, Rectangle2D plotArea, RectangleEdge edge, AxisSpace ...
by jylaxx
Tue Aug 07, 2012 10:27 pm
Forum: JFreeChart
Topic: CombinedDomainXYPlot : Domain Axis tick/grid alignment bug
Replies: 2
Views: 3507

Re: CombinedDomainXYPlot : Domain Axis tick/grid alignment b

I investigate the code and I propose the following fix which take care of the axisOffset : class CombinedDomainXYPlot public void draw(Graphics2D g2, Rectangle2D area, Point2D anchor, PlotState parentState, PlotRenderingInfo info) { // set up info collection... if (info != null) { info.setPlotArea(a...