Browse Source

Merge pull request #290 in BA/design from ~XIAOHU/design:dev to dev

* commit '05e4fc08cd0641933dcf81ad853864e01dbd120d':
  表单画图
master
superman 8 years ago
parent
commit
545018032d
  1. 2
      designer_chart/src/com/fr/design/chart/gui/ChartComponent.java

2
designer_chart/src/com/fr/design/chart/gui/ChartComponent.java

@ -316,7 +316,7 @@ public class ChartComponent extends MiddleChartComponent implements MouseListene
//不直接画chartGlyph而画image的原因是表单的柱形图会溢出表单
//其他图都ok,其实感觉应该是柱形图画的不对,应该也可以改那边
Image chartImage = chartGlyph.toImage(chartWidth,chartHeight,ScreenResolution.getScreenResolution());
g2d.drawImage(chartImage, 0, 0, chartWidth, chartHeight, null);
g2d.drawImage(chartImage, 0, 0, null);
}
}

Loading…
Cancel
Save