Bugs item #2560107, was opened at 2009-02-03 09:15
Message generated for change (Comment added) made by mungady
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=115494&aid=2560107&group_id=15494
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: General
Group: None
>Status: Closed
>Resolution: Rejected
Priority: 5
Private: No
Submitted By: Arcady Ivanov (arcadyivanov)
>Assigned to: David Gilbert (mungady)
Summary: ChartPanel limits screen resolution to 1024x768
Initial Comment:
I've tried to get:
ChartRenderingInfo ri=chartpanel.getChartRenderingInfo();
PlotRenderingInfo pi = ri.getPlotInfo();
Rectangle r = pi.getDataArea().getBounds();
My screen resolution is 1280x1024, but
r.x contains 1024
r.y contains 768
The problem was in ChartPanel.java:
public static final int DEFAULT_MAXIMUM_DRAW_WIDTH = 1024;
public static final int DEFAULT_MAXIMUM_DRAW_HEIGHT = 768;
I changed it to 1600x1200. Then everything worked fine.
SY. Arcady.
----------------------------------------------------------------------
>Comment By: David Gilbert (mungady)
Date: 2009-02-03 09:27
Message:
This is not a bug. The default maximum draw width and height serve a
purpose (to limit the memory used by the offscreen image buffer) but can
easily be overridden by calling the setMaximumDrawWidth/Height() methods in
the ChartPanel class.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=115494&aid=2560107&group_id=15494
|