Sets the CDML tooltip prefix.
CChartViewer supports both standard tooltips and
CDML tooltips. If the tooltip content starts with a CDML tag, it will be processed as a CDML tooltip, otherwise it will be processed as a standard tooltip. Standard tooltips are drawn by the GUI framework, so their style will be the same as in other GUI controls. CDML tooltips are drawn by ChartDirector, and can contain use multiple fonts and colors, contain tables and icons, and be semi-transparent.
For CDML tooltips, if the tooltip content starts with "<*cdml*>", CChartViewer will substitute it with the following CDML. It configures a white rounded rectangle with grey border as the tooltip container and sets the tooltip font color to black. The setCDMLToolTipPrefix method can be use to change CDML that substitute the "<*cdml*>" tag.
<*block,bgColor=F0F0F0,edgeColor=808080,margin=5,roundedCorners=3*><*font,color=222222*>
© 2021 Advanced Software Engineering Limited. All rights reserved.