# HtmlWidthSetOptions

What a chart width set carries besides its drawings. By default, nothing.

 Class  

`ChartForgeX.Html`

**Namespace**

`ChartForgeX.Html`

**Assembly**

`ChartForgeX`

**Source**

[HtmlWidthSetOptions.cs:14](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Html/HtmlWidthSetOptions.cs#L14)

**Modifiers**

sealed

What a chart width set carries besides its drawings. By default, nothing.

## Inheritance

- object
- HtmlWidthSetOptions

## 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.

### Accepted by parameters 1

- Method [HtmlChartRenderer.RenderWidths](/api/chartforgex-html-htmlchartrenderer/#method-renderwidths-chartforgex-core-chart-chartforgex-html-htmlwidthsetoptions-string-int32) parameter `options`

 Filter members   

    Show inherited   

 

## Constructors

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

## 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 IncludeData { get; set; }` [#](#property-includedata) 

[HtmlWidthSetOptions.cs:14](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Html/HtmlWidthSetOptions.cs#L14)

Gets or sets whether the fragment carries the chart's data as one inert JSON block, shared by every drawing, for CfxEnhance.data.

 `public bool Hover { get; set; }` [#](#property-hover) 

[HtmlWidthSetOptions.cs:18](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Html/HtmlWidthSetOptions.cs#L18)

Gets or sets whether the hover runtime can show values at the pointer and for the keyboard. Includes the data block. Charts without vertical lines or areas only get the data.

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

[HtmlWidthSetOptions.cs:23](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Html/HtmlWidthSetOptions.cs#L23)

Gets or sets the most rows or periods the block carries, or null (the default) for all. Time rows and periods keep the newest. Category rows keep the first. Readers report the number left out. Hover reaches the carried samples visible in the plot.

## Fields

 `public const string DataAttribute` [#](#field-dataattribute) 

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

The attribute that marks the data block's script element.

Value: `data-cfx-chart-data`

<!-- PowerForge markdown artifact sha256:81FA285C1D795719975736B737FE8CFB536E9C0326BF6FFE68227C94784C6938 -->
