ActiveReports Developer 7
LabelFormat Property
See Also 
GrapeCity.ActiveReports.Chart.v7 Assembly > GrapeCity.ActiveReports.Chart Namespace > AxisBase Class : LabelFormat Property

Glossary Item Box

Gets or sets the format used to output the values of the labels.

Syntax

Visual Basic (Declaration) 
Public Property LabelFormat As System.String
C# 
public System.string LabelFormat {get; set;}

Remarks

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.

Example

Tag(variable) Explanation Example
Index Index of points.
Value Data value. Same as Value0 of the renderer of category base, Value2 of BubbleXY chart etc. {Value}
Value# [1] Variable that represents the data set value(zero base). {Value0}
Total The total of the data set(the total sum of all the points of this data set).
Pct Corresponds to Value/Total.
Pct[#] Corresponds to Value#/Total.
Xvalue X value of point. X value of the XY chart. Same as the point instance of category base chart.
PTotal Sum Total of all the data set values of this point, and on this layer.
PPct Corresponds to Value/PointTotal.

See Also