ActiveReports 15 .NET Edition
GrapeCity.ActiveReports.Chart Assembly / GrapeCity.ActiveReports.Chart Namespace / AxisBase Class / LabelFormat Property

In This Topic
    LabelFormat Property (AxisBase)
    In This Topic
    Gets or sets the format used to output the values of the labels.
    Public Property LabelFormat As String
    public string LabelFormat {get; set;}
    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.
    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