frame.remove(panel);\r
composite.layout();\r
JFreeChart chart = (JFreeChart)getObject();\r
- panel = new ChartPanel(chart, false, true, true, true, true);\r
+ //panel = new ChartPanel(chart, false, true, true, true, true);\r
+ panel = new ChartPanel(chart,\r
+ ChartPanel.DEFAULT_WIDTH,\r
+ ChartPanel.DEFAULT_HEIGHT,\r
+ ChartPanel.DEFAULT_MINIMUM_DRAW_WIDTH,\r
+ ChartPanel.DEFAULT_MINIMUM_DRAW_HEIGHT,\r
+ ChartPanel.DEFAULT_MAXIMUM_DRAW_WIDTH, \r
+ ChartPanel.DEFAULT_MAXIMUM_DRAW_HEIGHT,\r
+ false,\r
+ false, true, true, true, true);\r
frame.add(panel);\r
// frame.repaint();\r
frame.validate();\r