Browse Source

甘特图通过滑轮设置无法保存

master
mengao 7 years ago
parent
commit
3672488555
  1. 6
      designer_chart/src/com/fr/plugin/chart/structure/desinger/style/VanChartStructureSeriesPane.java

6
designer_chart/src/com/fr/plugin/chart/structure/desinger/style/VanChartStructureSeriesPane.java

@ -135,8 +135,10 @@ public class VanChartStructureSeriesPane extends VanChartAbstractPlotSeriesPane
protected void updateCondition(ConditionAttr defaultAttr){ protected void updateCondition(ConditionAttr defaultAttr){
if(nodeStylePane != null){ if(nodeStylePane != null){
AttrNode attrNode =defaultAttr.getExisted(AttrNode.class); AttrNode attrNode =defaultAttr.getExisted(AttrNode.class);
defaultAttr.remove(attrNode); if (attrNode != null) {
defaultAttr.addDataSeriesCondition(nodeStylePane.updateBean()); defaultAttr.remove(attrNode);
defaultAttr.addDataSeriesCondition(nodeStylePane.updateBean());
}
} }
} }
} }

Loading…
Cancel
Save