The annotation along each axis is an important part of any chart. The 2D chart annotates the axes with numbers based on the data entered into the ChartDataArray objects.
The chart automatically produces the most natural annotation possible, even as chart data changes. Annotation properties can be modified to perfect this process.
The following properties represent the format and the layout for the annotation of the axes in C1Chart:
Property | Description |
---|---|
AnnoFormat | A set of predefined formats used to format the values displayed next to the axis. |
AnnoFormatString | The .NET formatting string used to format the values displayed next to the axis when AnnoFormat is set to "NumericManual" or "DateManual". If the AnnoFormat is set to either NumericManual or DateManual and the AnnoFormatString is empty, then the chart uses an algorithm to find the "best" formatting available. |
AnnoMethod | Determines what values are displayed next to the axis. Options are "Values", which displays the actual series values, or "ValueLabels", which displays the elements in the ValueLabels collection. |
ValueLabels | A collection of text/value pairs to display next to the axis when AnnoMethod is set to "ValueLabels". This property is useful when you want to display strings along an axis instead of numeric values (for example, you may be charting product prices and want to display the product names along the X-axis). |
AnnotationRotation | Allows you to rotate the values so they take up less space along the axis. |
NoAnnoOverlap | Enables you to determine whether axis annotations are permitted to overlap. |
C1Chart includes the following types of axis annotation:
The next three topics explain the different types of Axis annotations as well as location and rotation for the axes annotations.