| Visual Basic (Declaration) | |
|---|---|
Public Property LabelFormat As String | |
| Visual Basic (Usage) | Copy Code |
|---|---|
| |
| C# | |
|---|---|
public string LabelFormat {get; set;} | |
| Tag (variable) | Description | Example |
|---|---|---|
| Index | The index of the point. | |
| Value | Data value. The same as Value0 for category-based renderers, Value2 for BubbleXY graphs, etc. | {Value} |
| Value# [1] | Zero-based integer indicating series value. | {Value0} |
| Total | Series total (sum of all points in this series). | |
| Pct | Is equal to Value/Total. | |
| Pct[#] | Is equal to Value#/Total. | |
| Xvalue | The X-value of the point. X-value for XY-charts. The same as point index for category based charts. | |
| PTotal | Sum of all series values on this layer for this point. | |
| PPct | Is equal to Value/PointTotal. |
The ActiveReports chart control uses standard Visual Studio .NET formatting syntax. The format is {Tag : Format}. For example, {Value:C} formats the text as currency. {Value:D} formats the text as a date.