From 192d92988ec9a325679a4aa2cdf8e96989357f44 Mon Sep 17 00:00:00 2001 From: "Qinghui.Liu" Date: Fri, 16 Oct 2020 10:29:06 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E5=A4=9A=E4=BD=99=E7=9A=84?= =?UTF-8?q?=E8=AF=AD=E5=8F=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../van/chart/box/VanChartBoxTooltipContentPane.java | 10 +--------- .../style/VanChartWordCloudTooltipContentPane.java | 9 --------- 2 files changed, 1 insertion(+), 18 deletions(-) diff --git a/designer-chart/src/main/java/com/fr/van/chart/box/VanChartBoxTooltipContentPane.java b/designer-chart/src/main/java/com/fr/van/chart/box/VanChartBoxTooltipContentPane.java index d6a30bf50..abba5f753 100644 --- a/designer-chart/src/main/java/com/fr/van/chart/box/VanChartBoxTooltipContentPane.java +++ b/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) { diff --git a/designer-chart/src/main/java/com/fr/van/chart/wordcloud/designer/style/VanChartWordCloudTooltipContentPane.java b/designer-chart/src/main/java/com/fr/van/chart/wordcloud/designer/style/VanChartWordCloudTooltipContentPane.java index 273d85ae8..c0e9ac6c3 100644 --- a/designer-chart/src/main/java/com/fr/van/chart/wordcloud/designer/style/VanChartWordCloudTooltipContentPane.java +++ b/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; } }