# Axis Annotation Format

## Content



You can control the annotation formatting for the values on the X or Y axis using the [AnnoFormat](/componentone/api/wpf/online-chart/dotnet-framework-api/C1.WPF.C1Chart.4.6.2/C1.WPF.C1Chart.Axis.AnnoFormat.html) property.

Setting the [AnnoFormat](/componentone/api/wpf/online-chart/dotnet-framework-api/C1.WPF.C1Chart.4.6.2/C1.WPF.C1Chart.Axis.AnnoFormat.html) property to a .NET Framework composite format string will format the data entered into the property. For more information on the standard numeric format strings that you can use for the **AnnoFormat** property see [Standard Numeric Format Strings](https://msdn.microsoft.com/en-us/library/dwhawy9k.aspx).

**DateTime Format Strings**

The DateTime format strings are divided into two categories:

*   [Standard Date Time Format Strings](https://msdn.microsoft.com/en-us/library/az4se3k1.aspx)
*   [Custom Date Time Format Strings](https://msdn.microsoft.com/en-us/library/8kb3ddd4.aspx)

**Numeric Format Strings**

*   [Standard Numeric Format Strings](https://msdn.microsoft.com/en-us/library/dwhawy9k.aspx)
*   [Custom Numeric Format Strings](https://msdn.microsoft.com/en-us/library/0c899ak8.aspx)

**Custom Numeric Format Strings**

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

To use the **AnnoFormat** property specify a standard or custom format string for it. For example the following Bar chart's **AnnoFormat** property is set to "c" to change the whole values to currency format.

![](https://cdn.mescius.io/document-site-files/images/9e1b6c55-78c5-4648-896a-23e777db9f27/images/graphics/axisannotationformatcurrency.png)

```xml
<c1chart:C1Chart.View>
                <c1chart:ChartView>
                    <c1chart:ChartView.AxisX>
                        <c1chart:Axis Min="0" AnnoFormat="c" AutoMin="false" AutoMax="false" Max="200" />
                    </c1chart:ChartView.AxisX>
                </c1chart:ChartView>
            </c1chart:C1Chart.View>
```

```csharp
// Financial formatting
   c1Chart1.View.AxisX.AnnoFormat = "c";
   c1Chart1.View.AxisX.Min = 0;
```

## See Also

[Rotate Axis Labels](/componentone/docs/wpf/online-chart/overview/ChartFeatures/Axis/Annotation/Rotate-Axis-Labels)