# MermaidXYChartRenderOptions

Defines conversion and rendering defaults for Mermaid XY charts.

 Class  

`ChartForgeX.Mermaid`

**Namespace**

`ChartForgeX.Mermaid`

**Assembly**

`ChartForgeX.Mermaid`

**Source**

[MermaidXYChartRendering.cs:144](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidXYChartRendering.cs#L144)

**Base**

`MermaidDiagramRenderOptions`

**Modifiers**

sealed

Defines conversion and rendering defaults for Mermaid XY charts.

## Inheritance

- [MermaidDiagramRenderOptions](/api/chartforgex-mermaid-mermaiddiagramrenderoptions/)
- MermaidXYChartRenderOptions

## Usage

 Explore 9 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 [MermaidRenderOptions.XYChart](/api/chartforgex-mermaid-mermaidrenderoptions/#property-xychart)

### Accepted by parameters 8

- Extension method [MermaidXYChartDocument.ToChart](/api/chartforgex-mermaid-mermaidxychartdocument/#extension-tochart-chartforgex-mermaid-mermaidxychartdocument-chartforgex-mermaid-mermaidxychartrenderoptions) parameter `options`
- Extension method [MermaidXYChartDocument.ToPng](/api/chartforgex-mermaid-mermaidxychartdocument/#extension-topng-chartforgex-mermaid-mermaidxychartdocument-chartforgex-mermaid-mermaidxychartrenderoptions) parameter `options`
- Extension method [MermaidXYChartDocument.ToSvg](/api/chartforgex-mermaid-mermaidxychartdocument/#extension-tosvg-chartforgex-mermaid-mermaidxychartdocument-chartforgex-mermaid-mermaidxychartrenderoptions) parameter `options`
- Extension method [MermaidXYChartDocument.ToVisualArtifact](/api/chartforgex-mermaid-mermaidxychartdocument/#extension-tovisualartifact-chartforgex-mermaid-mermaidxychartdocument-chartforgex-mermaid-mermaidxychartrenderoptions) parameter `options`
- Method [MermaidXYChartRendering.ToChart](/api/chartforgex-mermaid-mermaidxychartrendering/#method-tochart-chartforgex-mermaid-mermaidxychartdocument-chartforgex-mermaid-mermaidxychartrenderoptions) parameter `options`
- Method [MermaidXYChartRendering.ToPng](/api/chartforgex-mermaid-mermaidxychartrendering/#method-topng-chartforgex-mermaid-mermaidxychartdocument-chartforgex-mermaid-mermaidxychartrenderoptions) parameter `options`
- Method [MermaidXYChartRendering.ToSvg](/api/chartforgex-mermaid-mermaidxychartrendering/#method-tosvg-chartforgex-mermaid-mermaidxychartdocument-chartforgex-mermaid-mermaidxychartrenderoptions) parameter `options`
- Method [MermaidXYChartRendering.ToVisualArtifact](/api/chartforgex-mermaid-mermaidxychartrendering/#method-tovisualartifact-chartforgex-mermaid-mermaidxychartdocument-chartforgex-mermaid-mermaidxychartrenderoptions) parameter `options`

 Filter members   

    Show inherited   

 

## Constructors

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

## Inherited Methods

 `public MermaidDiagramRenderOptions Clone()` [#](#method-clone) 

[MermaidDiagramRenderOptions.cs:15](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidDiagramRenderOptions.cs#L15)

Inherited from [MermaidDiagramRenderOptions](/api/chartforgex-mermaid-mermaiddiagramrenderoptions/)

Returns

 `MermaidDiagramRenderOptions` 

 `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 int? Width { get; set; }` [#](#property-width) 

[MermaidXYChartRendering.cs:144](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidXYChartRendering.cs#L144)

Gets or sets a host width override. Null uses source configuration, then 900 pixels.

 `public int? Height { get; set; }` [#](#property-height) 

[MermaidXYChartRendering.cs:147](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidXYChartRendering.cs#L147)

Gets or sets a host height override. Null uses source configuration, then 520 pixels.

 `public bool? ShowDataLabels { get; set; }` [#](#property-showdatalabels) 

[MermaidXYChartRendering.cs:150](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidXYChartRendering.cs#L150)

Gets or sets an explicit host data-label policy. Null retains source captions and native defaults.

 `public bool? ShowLegend { get; set; }` [#](#property-showlegend) 

[MermaidXYChartRendering.cs:153](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidXYChartRendering.cs#L153)

Gets or sets a host legend override. Null retains source configuration and the existing visible native legend.

 `public bool? ShowTitle { get; set; }` [#](#property-showtitle) 

[MermaidXYChartRendering.cs:156](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidXYChartRendering.cs#L156)

Gets or sets a host heading override. Null retains source showTitle; an explicit Title is visible by default.

## Inherited Properties

 `public string? Id { get; set; }` [#](#property-id) 

[MermaidDiagramRenderOptions.cs:6](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidDiagramRenderOptions.cs#L6)

Inherited from [MermaidDiagramRenderOptions](/api/chartforgex-mermaid-mermaiddiagramrenderoptions/)

 `public string? Title { get; set; }` [#](#property-title) 

[MermaidDiagramRenderOptions.cs:8](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidDiagramRenderOptions.cs#L8)

Inherited from [MermaidDiagramRenderOptions](/api/chartforgex-mermaid-mermaiddiagramrenderoptions/)

 `public string? Subtitle { get; set; }` [#](#property-subtitle) 

[MermaidDiagramRenderOptions.cs:10](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidDiagramRenderOptions.cs#L10)

Inherited from [MermaidDiagramRenderOptions](/api/chartforgex-mermaid-mermaiddiagramrenderoptions/)

 `public MermaidPresentationOptions? Presentation { get; set; }` [#](#property-presentation) 

[MermaidDiagramRenderOptions.cs:12](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidDiagramRenderOptions.cs#L12)

Inherited from [MermaidDiagramRenderOptions](/api/chartforgex-mermaid-mermaiddiagramrenderoptions/)

<!-- PowerForge markdown artifact sha256:D263582B6522E74CBBC40108DFFE4EA0CCD3A0E5537F5A3CFCCC066B76039C94 -->
