|
|
@ -4,7 +4,11 @@ package com.fr.van.chart.wordcloud.designer.style; |
|
|
|
import com.fr.design.i18n.Toolkit; |
|
|
|
import com.fr.design.i18n.Toolkit; |
|
|
|
import com.fr.design.ui.ModernUIPane; |
|
|
|
import com.fr.design.ui.ModernUIPane; |
|
|
|
import com.fr.plugin.chart.base.AttrTooltipContent; |
|
|
|
import com.fr.plugin.chart.base.AttrTooltipContent; |
|
|
|
|
|
|
|
import com.fr.plugin.chart.base.format.AttrTooltipCategoryFormat; |
|
|
|
|
|
|
|
import com.fr.plugin.chart.base.format.AttrTooltipFormat; |
|
|
|
import com.fr.plugin.chart.base.format.AttrTooltipNameFormat; |
|
|
|
import com.fr.plugin.chart.base.format.AttrTooltipNameFormat; |
|
|
|
|
|
|
|
import com.fr.plugin.chart.base.format.AttrTooltipPercentFormat; |
|
|
|
|
|
|
|
import com.fr.plugin.chart.base.format.AttrTooltipValueFormat; |
|
|
|
import com.fr.van.chart.designer.component.VanChartTooltipContentPane; |
|
|
|
import com.fr.van.chart.designer.component.VanChartTooltipContentPane; |
|
|
|
import com.fr.van.chart.designer.component.format.CategoryNameFormatPaneWithCheckBox; |
|
|
|
import com.fr.van.chart.designer.component.format.CategoryNameFormatPaneWithCheckBox; |
|
|
|
import com.fr.van.chart.designer.component.format.PercentFormatPaneWithCheckBox; |
|
|
|
import com.fr.van.chart.designer.component.format.PercentFormatPaneWithCheckBox; |
|
|
@ -67,6 +71,24 @@ public class VanChartWordCloudTooltipContentPane extends VanChartTooltipContentP |
|
|
|
}; |
|
|
|
}; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
protected String[] getRichTextFieldNames() { |
|
|
|
|
|
|
|
return new String[]{ |
|
|
|
|
|
|
|
Toolkit.i18nText("Fine-Design_Chart_MultiPie_Series_Name"), |
|
|
|
|
|
|
|
Toolkit.i18nText("Fine-Design_Chart_Word_Name"), |
|
|
|
|
|
|
|
Toolkit.i18nText("Fine-Design_Chart_Word_Value"), |
|
|
|
|
|
|
|
Toolkit.i18nText("Fine-Design_Chart_Use_Percent") |
|
|
|
|
|
|
|
}; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
protected AttrTooltipFormat[] getRichTextFieldFormats() { |
|
|
|
|
|
|
|
return new AttrTooltipFormat[]{ |
|
|
|
|
|
|
|
new AttrTooltipCategoryFormat(), |
|
|
|
|
|
|
|
new AttrTooltipNameFormat(), |
|
|
|
|
|
|
|
new AttrTooltipValueFormat(), |
|
|
|
|
|
|
|
new AttrTooltipPercentFormat() |
|
|
|
|
|
|
|
}; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
protected AttrTooltipContent createAttrTooltip() { |
|
|
|
protected AttrTooltipContent createAttrTooltip() { |
|
|
|
AttrTooltipContent attrTooltipContent = new AttrTooltipContent(); |
|
|
|
AttrTooltipContent attrTooltipContent = new AttrTooltipContent(); |
|
|
|
attrTooltipContent.setSeriesFormat(new AttrTooltipNameFormat()); |
|
|
|
attrTooltipContent.setSeriesFormat(new AttrTooltipNameFormat()); |
|
|
|