Browse Source

Pull request #5963: CHART-21014 fix: 大屏模板中的cpt组件里面还是要有全部图表类型的

Merge in DESIGN/design from ~ZHENG/c-design:feature/10.0 to feature/10.0

* commit '8c8873de3d238fe76eac21cbbf88138a77a5fe45':
  CHART-21014 大屏模板中的cpt组件里面还是要有全部图表类型的
feature/10.0
zheng 3 years ago
parent
commit
d15b1510df
  1. 3
      designer-chart/src/main/java/com/fr/design/mainframe/chart/gui/ChartTypePane.java

3
designer-chart/src/main/java/com/fr/design/mainframe/chart/gui/ChartTypePane.java

@ -19,6 +19,7 @@ import com.fr.design.mainframe.chart.gui.item.FlexibleComboBox;
import com.fr.design.mainframe.chart.gui.item.ItemEventType;
import com.fr.design.mainframe.chart.gui.type.AbstractChartTypePane;
import com.fr.design.mainframe.chart.mode.ChartEditContext;
import com.fr.design.mainframe.chart.mode.ChartEditMode;
import com.fr.design.module.DesignModuleFactory;
import com.fr.general.ComparatorUtils;
import com.fr.log.FineLoggerFactory;
@ -313,7 +314,7 @@ public class ChartTypePane extends AbstractChartAttrPane {
//第一步就是重构cards
cards.clear();
if (DesignModeContext.isDuchampMode()) {
if (ChartEditContext.duchampMode()) {
addOnePlotIDCards(priority, chartID);
} else if (enabledChart) {
if (collection.getChartCount() == 1) {

Loading…
Cancel
Save