|
|
|
@ -1,6 +1,7 @@
|
|
|
|
|
package com.fr.van.chart.scatter; |
|
|
|
|
|
|
|
|
|
import com.fr.plugin.chart.base.AttrTooltipContent; |
|
|
|
|
import com.fr.plugin.chart.base.AttrTooltipRichText; |
|
|
|
|
import com.fr.plugin.chart.base.format.AttrTooltipFormat; |
|
|
|
|
import com.fr.plugin.chart.scatter.attr.ScatterAttrTooltipContent; |
|
|
|
|
import com.fr.van.chart.designer.component.VanChartTooltipContentPane; |
|
|
|
@ -107,21 +108,24 @@ public class VanChartScatterTooltipContentPane extends VanChartTooltipContentPa
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
protected void populateRichEditor(AttrTooltipContent attrTooltipContent) { |
|
|
|
|
super.populateRichEditor(attrTooltipContent); |
|
|
|
|
|
|
|
|
|
if (attrTooltipContent instanceof ScatterAttrTooltipContent) { |
|
|
|
|
ScatterAttrTooltipContent scatterAttrTooltipContent = (ScatterAttrTooltipContent) attrTooltipContent; |
|
|
|
|
|
|
|
|
|
VanChartFormatPaneWithoutCheckBox[] formatPaneGroup = new VanChartFormatPaneWithoutCheckBox[]{ |
|
|
|
|
richTextXFormatPane, richTextYFormatPane, richTextSizeFormatPane |
|
|
|
|
getRichTextSeriesNameFormatPane(), |
|
|
|
|
richTextXFormatPane, |
|
|
|
|
richTextYFormatPane, |
|
|
|
|
richTextSizeFormatPane |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
AttrTooltipFormat[] formatGroup = new AttrTooltipFormat[]{ |
|
|
|
|
scatterAttrTooltipContent.getRichTextSeriesFormat(), |
|
|
|
|
scatterAttrTooltipContent.getRichTextXFormat(), |
|
|
|
|
scatterAttrTooltipContent.getRichTextYFormat(), |
|
|
|
|
scatterAttrTooltipContent.getRichTextSizeFormat() |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
setRichTextAttr(new AttrTooltipRichText()); |
|
|
|
|
populateRichTextFormat(formatPaneGroup, formatGroup); |
|
|
|
|
populateRichText(attrTooltipContent.getRichTextAttr()); |
|
|
|
|
} |
|
|
|
|