From: SourceForge.net <no...@so...> - 2009-02-03 09:15:44
|
Bugs item #2560107, was opened at 2009-02-03 21:15 Message generated for change (Tracker Item Submitted) made by Item Submitter 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: Open Resolution: None Priority: 5 Private: No Submitted By: Arcady Ivanov (arcadyivanov) Assigned to: Nobody/Anonymous (nobody) 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. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=115494&aid=2560107&group_id=15494 |