# OfficeChartFidelity

Controls what an export does with native chart formatting that the shared chart renderer cannot reproduce exactly.

Enum 

`OfficeIMO`

**Namespace**

`OfficeIMO`

**Assembly**

`OfficeIMO.Core`

**Source revision**

`b40b65fd486e` with working tree changes

**Source**

[OfficeChartFidelity.cs:7](https://github.com/EvotecIT/OfficeIMO/blob/b40b65fd486e5010c220d33fb15327780cf478bd/OfficeIMO.Core/OfficeChartFidelity.cs#L7)

**Base**

`Enum`

**Implements**

`IComparable` `ISpanFormattable` `IFormattable` `IConvertible`

**Modifiers**

sealed

Controls what an export does with native chart formatting that the shared chart renderer cannot reproduce exactly.

## Inheritance

- Enum
- OfficeChartFidelity

## Usage

Explore 3 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

### Returned or exposed by 3

- Field [OfficeChartFidelity.BestEffort](/api/core/officeimo-officechartfidelity/#field-besteffort)
- Field [OfficeChartFidelity.Strict](/api/core/officeimo-officechartfidelity/#field-strict)
- Property [OfficeChartRenderOptions.Fidelity](/api/core/officeimo-officechartrenderoptions/#property-fidelity)

Filter members 

Show inherited

## Inherited Methods

`public int CompareTo(object? target)` [#](#method-compareto-object)

Inherited from Enum

Parameters

**target object? required**

Returns

`int`

`public override bool Equals(object? obj)` [#](#method-equals-object)

Inherited from Enum

Parameters

**obj object? required**

Returns

`bool`

`public override int GetHashCode()` [#](#method-gethashcode)

Inherited from Enum

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public TypeCode GetTypeCode()` [#](#method-gettypecode)

Inherited from Enum

Returns

`TypeCode`

`public bool HasFlag(Enum flag)` [#](#method-hasflag-enum)

Inherited from Enum

Parameters

**flag Enum required**

Returns

`bool`

ToString 4 overloads

`public override string ToString()` [#](#method-tostring)

Inherited from Enum

Returns

`string`

`public string ToString(string? format)` [#](#method-tostring-string)

Inherited from Enum

Parameters

**format string? required**

Returns

`string`

`public string ToString(IFormatProvider? provider)` [#](#method-tostring-iformatprovider)

Inherited from Enum

`Obsolete("The provider argument is not used. Use ToString() instead.")`

Parameters

**provider IFormatProvider? required**

Returns

`string`

`public string ToString(string? format, IFormatProvider? provider)` [#](#method-tostring-string-iformatprovider)

Inherited from Enum

`Obsolete("The provider argument is not used. Use ToString(String) instead.")`

Parameters

**format string? required**

**provider IFormatProvider? required**

Returns

`string`

## Values

`public const OfficeChartFidelity Strict` [#](#field-strict)

[OfficeChartFidelity.cs:12](https://github.com/EvotecIT/OfficeIMO/blob/b40b65fd486e5010c220d33fb15327780cf478bd/OfficeIMO.Core/OfficeChartFidelity.cs#L12)

Draws a chart only when its native formatting can be reproduced; any other chart is skipped and reported with an unsupported-chart warning. This is the default.

Value: `0`

`public const OfficeChartFidelity BestEffort` [#](#field-besteffort)

[OfficeChartFidelity.cs:19](https://github.com/EvotecIT/OfficeIMO/blob/b40b65fd486e5010c220d33fb15327780cf478bd/OfficeIMO.Core/OfficeChartFidelity.cs#L19)

Draws the closest approximation of every chart the renderer can read and reports each approximation as a chart-approximation warning ([OfficeDiagnosticCodes.ChartApproximation](/api/core/officeimo-officediagnosticcodes/)) with an approximation loss kind, so callers can still reject the result.

Value: `1`

<!-- PowerForge markdown artifact sha256:7EE3AB37B5DF14FFF677860E34FA5DB5382655AC761E723C1B183B94AC86E1CC -->
