Browse Source

update

bugfix/11.0
shine 3 years ago
parent
commit
6c9a842533
  1. 2
      designer-chart/src/main/java/com/fr/design/chart/ChartTypePane.java
  2. 2
      designer-chart/src/main/java/com/fr/van/chart/designer/type/AbstractVanChartTypePane.java

2
designer-chart/src/main/java/com/fr/design/chart/ChartTypePane.java

@ -156,7 +156,7 @@ public class ChartTypePane extends ChartCommonWizardPane implements CallbackEven
} }
if (!ChartEditContext.supportTheme() && chart4Update instanceof VanChart) { if (!ChartEditContext.supportTheme() && chart4Update instanceof VanChart) {
((VanChart) chart4Update).setThemeAutoCustom(); ((VanChart) chart4Update).setAutoThemeCustom();
} }
update(chart4Update); update(chart4Update);

2
designer-chart/src/main/java/com/fr/van/chart/designer/type/AbstractVanChartTypePane.java

@ -154,7 +154,7 @@ public abstract class AbstractVanChartTypePane extends AbstractChartTypePane<Van
ChartInfoCollector.getInstance().updateChartTypeTime(chart, oldPlot.getPlotID()); ChartInfoCollector.getInstance().updateChartTypeTime(chart, oldPlot.getPlotID());
} }
if (!ChartEditContext.supportTheme()) { if (!ChartEditContext.supportTheme()) {
chart.setThemeAutoCustom(); chart.setAutoThemeCustom();
} }
if (!acceptDefinition(chart.getChartDataDefinition(), newPlot)) { if (!acceptDefinition(chart.getChartDataDefinition(), newPlot)) {
chart.setChartDataDefinition(null); chart.setChartDataDefinition(null);

Loading…
Cancel
Save