Browse Source

Merge pull request #1264 in DESIGN/design from ~WIM.ZHAI/xdesign:feature/10.0 to feature/10.0

* commit '457c6e5e52b200e41898a9d698d6a86a054d227c':
  CHART-11151 fix 范围图例面板
persist/11.0
Wim.Zhai 5 years ago
parent
commit
401a11649c
  1. 3
      designer-chart/src/main/java/com/fr/van/chart/designer/style/VanChartRangeLegendPane.java

3
designer-chart/src/main/java/com/fr/van/chart/designer/style/VanChartRangeLegendPane.java

@ -193,12 +193,11 @@ public class VanChartRangeLegendPane extends VanChartPlotLegendPane {
VanChartRangeLegend scatterLegend = (VanChartRangeLegend)legend; VanChartRangeLegend scatterLegend = (VanChartRangeLegend)legend;
if (scatterLegend != null) { if (scatterLegend != null) {
super.populateBean(scatterLegend);
//范围图例部分 //范围图例部分
legendTypeButton.setSelectedItem(scatterLegend.getLegendType()); legendTypeButton.setSelectedItem(scatterLegend.getLegendType());
gradualLegendPane.populate(scatterLegend.getGradualLegend()); gradualLegendPane.populate(scatterLegend.getGradualLegend());
sectionLegendPane.populate(scatterLegend.getSectionLegend()); sectionLegendPane.populate(scatterLegend.getSectionLegend());
super.populateBean(scatterLegend);
} }
checkAllUse(); checkAllUse();
this.checkHighlightVisible(); this.checkHighlightVisible();

Loading…
Cancel
Save