Browse Source

Merge pull request #1590 in DESIGN/design from ~BJORN/design:release/10.0 to release/10.0

* commit '98ed342ae5b55a2cc74d6416470cf338b7902796':
  CHART-13491 修改判断图表属性是否变化的方法
feature/big-screen
Bjorn 5 years ago
parent
commit
a866895108
  1. 7
      designer-chart/src/main/java/com/fr/design/mainframe/chart/ChartEditPane.java

7
designer-chart/src/main/java/com/fr/design/mainframe/chart/ChartEditPane.java

@ -22,6 +22,7 @@ import com.fr.design.mainframe.chart.gui.ChartTypePane;
import com.fr.design.mainframe.chart.info.ChartInfoCollector;
import com.fr.general.ComparatorUtils;
import com.fr.log.FineLoggerFactory;
import com.fr.plugin.chart.vanchart.VanChart;
import javax.swing.JPanel;
import javax.swing.event.ChangeEvent;
@ -113,7 +114,11 @@ public class ChartEditPane extends BasicPane implements AttributeChange, Prepare
selectedPane.update(collection);
if (!ComparatorUtils.equals(collection, lastCollection)) {
VanChart vanChart = collection.getSelectedChartProvider(VanChart.class);
if (vanChart != null) {
//此处画图
vanChart.attrChange();
}
try {
ChartInfoCollector.getInstance().checkTestChart(collection.getSelectedChartProvider(ChartProvider.class));
lastCollection = collection.clone();

Loading…
Cancel
Save