ComponentOne Chart for .NET (2.0) Search HelpCentral 

Values Annotation

Values Annotation is an implementation where the chart automatically generates numeric annotation based on the data itself. Values Annotation can be used for any axis, with any chart type, and with any data layout.  It is controlled by the following properties of the axis:

Property

Description

AnnoFormat

Gets or sets the axis annotation format.

AnnoFormatString

Gets or set the annotation format string used with manual formats.

Setting the AnnoFormat property to one of the FormatEnum values will format the data entered into the array data into one of .NET’s twenty-two formats. Setting AnnoFormat to either FormatEnum.NumericManual or FormatEnum.DateManual allows a format string to be entered into the AnnoFormatString property.  Manual format strings are designated in the .NET framework and below are links to more information:

DateTime Format Strings

The DateTime format strings are divided into two categories:

1.   Standard Date Time Format Strings

2.   Custom Date Time Format Strings

See also, DateTime format strings for more information.

Custom Numeric Format Strings

You can also customize your format strings by using the custom numeric format strings.

If AnnoFormat is set to FormatEnum.NumericManual and AnnoFormatString is empty, then the numeric values are formatted the same as FormatEnum.NumericGeneral.

If AnnoFormat is set to FormatEnum.DateManual and AnnoFormatString is empty, then the date and time values are formatted as appropriate for the time span of the axis as defined by the axis maximum and minimum values.

See also, Custom Numeric Format Strings for more information.


Send comments about this topic to ComponentOne.
Copyright © ComponentOne LLC. All rights reserved.