Browse Source

删除多余的语句

final/10.0
Qinghui.Liu 4 years ago
parent
commit
192d92988e
  1. 10
      designer-chart/src/main/java/com/fr/van/chart/box/VanChartBoxTooltipContentPane.java
  2. 9
      designer-chart/src/main/java/com/fr/van/chart/wordcloud/designer/style/VanChartWordCloudTooltipContentPane.java

10
designer-chart/src/main/java/com/fr/van/chart/box/VanChartBoxTooltipContentPane.java

@ -254,15 +254,7 @@ public class VanChartBoxTooltipContentPane extends VanChartTooltipContentPane {
}
protected AttrTooltipContent createAttrTooltip() {
AttrTooltipContent boxTooltipContent = new AttrBoxTooltipContent(detailed);
boxTooltipContent.getCategoryFormat().setEnable(true);
boxTooltipContent.getSeriesFormat().setEnable(true);
boxTooltipContent.getRichTextCategoryFormat().setEnable(true);
boxTooltipContent.getRichTextSeriesFormat().setEnable(true);
return boxTooltipContent;
return new AttrBoxTooltipContent(detailed);
}
protected void populateFormatPane(AttrTooltipContent attrTooltipContent) {

9
designer-chart/src/main/java/com/fr/van/chart/wordcloud/designer/style/VanChartWordCloudTooltipContentPane.java

@ -82,15 +82,6 @@ public class VanChartWordCloudTooltipContentPane extends VanChartTooltipContentP
AttrTooltipContent attrTooltipContent = new AttrTooltipContent();
attrTooltipContent.setSeriesFormat(new AttrTooltipNameFormat());
attrTooltipContent.setRichTextSeriesFormat(new AttrTooltipNameFormat());
attrTooltipContent.getCategoryFormat().setEnable(true);
attrTooltipContent.getSeriesFormat().setEnable(true);
attrTooltipContent.getValueFormat().setEnable(true);
attrTooltipContent.getRichTextCategoryFormat().setEnable(true);
attrTooltipContent.getRichTextSeriesFormat().setEnable(true);
attrTooltipContent.getRichTextValueFormat().setEnable(true);
return attrTooltipContent;
}
}

Loading…
Cancel
Save