# ChartOptions

Options controlling Chart.js rendering when used in a WebView/browser context. Generic charts are authored as fenced code blocks named chart containing JSON.

Class 

`OfficeIMO.MarkdownRenderer`

**Namespace**

`OfficeIMO.MarkdownRenderer`

**Assembly**

`OfficeIMO.MarkdownRenderer`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[ChartOptions.cs:17](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.MarkdownRenderer/ChartOptions.cs#L17)

**Modifiers**

sealed

Options controlling Chart.js rendering when used in a WebView/browser context. Generic charts are authored as fenced code blocks named chart containing JSON. IntelligenceX/chat hosts can opt into the ix-chart alias through [MarkdownRendererIntelligenceXAdapter](/api/markdown-renderer/officeimo-markdownrenderer-markdownrendererintelligencexadapter/) or the chat preset family.

## Inheritance

- object
- ChartOptions

## Usage

Explore 1 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 1

- Property [MarkdownRendererOptions.Chart](/api/markdown-renderer/officeimo-markdownrenderer-markdownrendereroptions/#property-chart)

Filter members 

Show inherited

## Constructors

`public ChartOptions()` [#](#constructor-ctor)

[ChartOptions.cs:17](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.MarkdownRenderer/ChartOptions.cs#L17)

## Inherited Methods

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

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

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

Inherited from object

Returns

`int`

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

Inherited from object

Returns

`Type`

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

Inherited from object

Returns

`string?`

## Properties

`public bool Enabled { get; set; }` [#](#property-enabled)

[ChartOptions.cs:11](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.MarkdownRenderer/ChartOptions.cs#L11)

Enable Chart.js support. Default: false.

`public string ScriptUrl { get; set; }` [#](#property-scripturl)

[ChartOptions.cs:17](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.MarkdownRenderer/ChartOptions.cs#L17)

Script URL for Chart.js (UMD). Default points at jsDelivr. Hosts can override this to use a local asset for offline scenarios.

<!-- PowerForge markdown artifact sha256:07B2263D7F4C56BA39A24871802213F93817F6E19B2763F6806CE3DFDB567BDD -->
