Browse Source

删除多余的语句

feature/big-screen
Qinghui.Liu 4 years ago
parent
commit
9532ffe658
  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() { protected AttrTooltipContent createAttrTooltip() {
AttrTooltipContent boxTooltipContent = new AttrBoxTooltipContent(detailed); return new AttrBoxTooltipContent(detailed);
boxTooltipContent.getCategoryFormat().setEnable(true);
boxTooltipContent.getSeriesFormat().setEnable(true);
boxTooltipContent.getRichTextCategoryFormat().setEnable(true);
boxTooltipContent.getRichTextSeriesFormat().setEnable(true);
return boxTooltipContent;
} }
protected void populateFormatPane(AttrTooltipContent attrTooltipContent) { 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 attrTooltipContent = new AttrTooltipContent();
attrTooltipContent.setSeriesFormat(new AttrTooltipNameFormat()); attrTooltipContent.setSeriesFormat(new AttrTooltipNameFormat());
attrTooltipContent.setRichTextSeriesFormat(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; return attrTooltipContent;
} }
} }

Loading…
Cancel
Save