You can embed special keywords in the MapArea properties to access chart data such as the coordinates of a data point. The chart below lists the keywords available:
Keyword | Chart Element | Chart Type | Description |
#TEXT | All | 2D, 3D | Text property value of chart element. |
#XVAL | ChartData, ChartLabel | 2D, 3D | X data coordinate. |
#YVAL | ChartData, ChartLabel | 2D, 3D | Y data coordinate. |
#Y1VAL | ChartData | 2D only | Y1 data coordinate. |
#Y2VAL | ChartData | 2D only | Y2 data coordinate. |
#Y3VAL | ChartData | 2D only | Y3 data coordinate. |
#ISERIES | ChartData, ChartLabel | 2D only | Data series index. |
#IPOINT | ChartData, ChartLabel | 2D only | Data point index. |
#ZVAL | ChartData, ChartLabel | 3D only | Z data coordinate. |
#IROW | ChartData, ChartLabel | 3D only | Data row index. |
#ICOL | ChartData, ChartLabel | 3D only | Data column index. |
The keywords are case-sensitive and should be placed in curly brackets. You may include a colon and a .NET format string after the keyword. For example:
map.Tooltip = "X={#XVAL}, Y={#YVAL:c}";