ChartDirector 7.1 (C++ Edition)

CChartViewer.setCDMLToolTipPrefix


Usage

void setCDMLToolTipPrefix(LPCTSTR text);

Description

Sets the CDML tooltip prefix.

CChartViewer supports both standard tooltips and CDML Tooltips. The setCDMLToolTipPrefix sets the text that substitutes the <*cdml*> tag in a CDML tooltip. The default CDML tooltip prefix is as follows, which represents a container with white background, grey border, rounded corners and charcoal grey font color.

<*block,bgColor=F0F0F0,edgeColor=808080,margin=5,roundedCorners=3*><*font,color=222222*>

Arguments

ArgumentDefaultDescription
text(Mandatory)The text used to substitute the <*cdml*> tag in a CDML tooltip.

Return Value

None