EvaluateExpression Method
Evaluates a string containing tokens that relate to this DataSource. For example, if this DataSource represents a series, the string "%Name" will return the actual name of the series. See the token reference for more information on available tokens.
Syntax
Parameters
- text
- String with tokens to evaluate.
- cType
- Chart type used with this DataSource.
- urlEncode
- When true, the returned string is urlEncoded.
Remarks
All other string features such as expressions and embedded formatting are supported by this method.
Example
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also