|
|
|
@ -1,6 +1,10 @@
|
|
|
|
|
package com.fr.van.chart.designer.component.tooltip; |
|
|
|
|
|
|
|
|
|
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.van.chart.designer.component.VanChartTooltipContentPane; |
|
|
|
|
import com.fr.van.chart.designer.component.format.VanChartFormatPaneWithoutCheckBox; |
|
|
|
|
import com.fr.van.chart.designer.style.VanChartStylePane; |
|
|
|
|
|
|
|
|
|
import javax.swing.JPanel; |
|
|
|
@ -36,4 +40,22 @@ public class TooltipContentPaneWithOutSeries extends VanChartTooltipContentPane
|
|
|
|
|
new Component[]{getRichTextPercentFormatPane(), null} |
|
|
|
|
}; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
protected void populateRichEditor(AttrTooltipContent attrTooltipContent) { |
|
|
|
|
VanChartFormatPaneWithoutCheckBox[] formatPaneGroup = new VanChartFormatPaneWithoutCheckBox[]{ |
|
|
|
|
getRichTextCategoryNameFormatPane(), |
|
|
|
|
getRichTextValueFormatPane(), |
|
|
|
|
getRichTextPercentFormatPane() |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
AttrTooltipFormat[] formatGroup = new AttrTooltipFormat[]{ |
|
|
|
|
attrTooltipContent.getRichTextCategoryFormat(), |
|
|
|
|
attrTooltipContent.getRichTextValueFormat(), |
|
|
|
|
attrTooltipContent.getRichTextPercentFormat() |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
setRichTextAttr(new AttrTooltipRichText()); |
|
|
|
|
populateRichTextFormat(formatPaneGroup, formatGroup); |
|
|
|
|
populateRichText(attrTooltipContent.getRichTextAttr()); |
|
|
|
|
} |
|
|
|
|
} |