# HtmlChartMotionOptionsFluent

The fluent methods of HtmlChartMotionOptions, generated from its public properties: A property-named method sets a property and a singular-named method adds…

 Class  

`ChartForgeX.Interactivity.Html`

**Namespace**

`ChartForgeX.Interactivity.Html`

**Assembly**

`ChartForgeX.Interactivity.Html`

**Modifiers**

static

The fluent methods of [HtmlChartMotionOptions](/api/chartforgex-interactivity-html-htmlchartmotionoptions/), generated from its public properties: A property-named method sets a property and a singular-named method adds to a collection, both returning the same instance.

## Inheritance

- object
- HtmlChartMotionOptionsFluent

 Filter members   

    Show inherited   

 

## Methods

 `public static HtmlChartMotionOptions DurationMilliseconds(HtmlChartMotionOptions htmlChartMotionOptions, int value)` [#](#method-durationmilliseconds-chartforgex-interactivity-html-htmlchartmotionoptions-int32) 

Sets [HtmlChartMotionOptions.DurationMilliseconds](/api/chartforgex-interactivity-html-htmlchartmotionoptions/): Gets or sets the ease-out duration in milliseconds, from 0 to 1000. The default is 300.

Parameters

**htmlChartMotionOptions ChartForgeX.Interactivity.Html.HtmlChartMotionOptions required**

The instance.

**value int required**

The value.

Returns

 `HtmlChartMotionOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                                                          // C# fluent
new global::ChartForgeX.Interactivity.Html.HtmlChartMotionOptions { DurationMilliseconds = value };    htmlChartMotionOptions.DurationMilliseconds(value);
```

 `public static HtmlChartMotionOptions Enabled(HtmlChartMotionOptions htmlChartMotionOptions, bool value = true)` [#](#method-enabled-chartforgex-interactivity-html-htmlchartmotionoptions-boolean) 

Sets [HtmlChartMotionOptions.Enabled](/api/chartforgex-interactivity-html-htmlchartmotionoptions/): Gets or sets whether charts animate on load and ease toolbar zoom, brush zoom, reset and legend rescaling. The default is true.

Parameters

**htmlChartMotionOptions ChartForgeX.Interactivity.Html.HtmlChartMotionOptions required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

 `HtmlChartMotionOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                                             // C# fluent
new global::ChartForgeX.Interactivity.Html.HtmlChartMotionOptions { Enabled = value };    htmlChartMotionOptions.Enabled(value);
```

## 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?` 

<!-- PowerForge markdown artifact sha256:9CFFBBE4C884A3BB83AEDE656E148FE3683B4CEC5AA6AEFF38B3E685C52F5EFF -->
