Skip to content
ChartForgeX
Class

HtmlChartMotionOptionsFluent

ChartForgeX.Interactivity.Html

Namespace
ChartForgeX.Interactivity.Html
Assembly
ChartForgeX.Interactivity.Html
Modifiers
static

The fluent methods of 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

Methods

public static HtmlChartMotionOptions DurationMilliseconds(HtmlChartMotionOptions htmlChartMotionOptions, int value) #

Sets HtmlChartMotionOptions.DurationMilliseconds: 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

// 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) #

Sets HtmlChartMotionOptions.Enabled: 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

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