ToolTipText takes a text string that can contain modifiers as in the given list below which can be used to get various values from the element.
|
Modifier |
Significance |
Elements |
|
#XValue |
Returns XValue |
DataPoint, DataSeries, TrendLine |
|
#YValue |
Returns YValue |
DataPoint, DataSeries, TrendLine |
|
#ZValue |
Returns ZValue |
DataPoint, DataSeries |
|
#Sum |
Returns sum of values in entire chart with same XValue |
DataPoint, DataSeries |
|
#Percentage |
Returns the percentage value for with respect to other elements in that series. |
DataPoint, DataSeries |
|
#Series |
Returns the series name |
DataPoint, DataSeries |
|
#AxisLabel |
Returns the axis label value if axis labels is present for that XValue. Otherwise returns XValue. |
DataPoint, DataSeries |
|
#Source |
Returns Image Source |
Source |
Tool tip text can be constructed as given below:
ToolTipText="Year: #XValue, Gross: #YValue"
Note: If a modifier is not applicable to a element then it is displayed as it is
This attribute applies to:
Example:
<vc:DataSeries ToolTipText="#YValue" ... />