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