Skip to content
ChartForgeX
Class

GraphSceneStaticRenderOptions

ChartForgeX.Interactivity.Html

Namespace
ChartForgeX.Interactivity.Html
Assembly
ChartForgeX.Interactivity.Html
Modifiers
sealed
Attributes
Fluent

Controls script-free SVG and PNG graph output.

Inheritance

  • object
  • GraphSceneStaticRenderOptions

Usage

Explore 25 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 16

Constructors

public GraphSceneStaticRenderOptions() #

Properties

public int Width { get; set; } #

Gets or sets the output width in pixels.

public int Height { get; set; } #

Gets or sets the output height in pixels.

public int MaximumNodeLabels { get; set; } #

Gets or sets the maximum number of node labels painted into a static image. Important summaries and high-degree nodes are selected deterministically.

public ThemeMode ThemeMode { get; set; } #

Gets or sets the color theme of the static image. ThemeMode.Light is the default. ThemeMode.Auto lets SVG follow the viewer's color preference; PNG output, which has no viewer, renders it light.

Extension Methods

public static GraphSceneStaticRenderOptions Height(GraphSceneStaticRenderOptions graphSceneStaticRenderOptions, int value) #

Sets GraphSceneStaticRenderOptions.Height: Gets or sets the output height in pixels.

Parameters

graphSceneStaticRenderOptions ChartForgeX.Interactivity.Html.GraphSceneStaticRenderOptions required
The instance.
value int required
The value.

Returns

GraphSceneStaticRenderOptions The same instance.

Examples

// C# initializer or property                                                                   // C# fluent
new global::ChartForgeX.Interactivity.Html.GraphSceneStaticRenderOptions { Height = value };    graphSceneStaticRenderOptions.Height(value);
public static GraphSceneStaticRenderOptions MaximumNodeLabels(GraphSceneStaticRenderOptions graphSceneStaticRenderOptions, int value) #

Sets GraphSceneStaticRenderOptions.MaximumNodeLabels: Gets or sets the maximum number of node labels painted into a static image. Important summaries and high-degree nodes are selected deterministically.

Parameters

graphSceneStaticRenderOptions ChartForgeX.Interactivity.Html.GraphSceneStaticRenderOptions required
The instance.
value int required
The value.

Returns

GraphSceneStaticRenderOptions The same instance.

Examples

// C# initializer or property                                                                              // C# fluent
new global::ChartForgeX.Interactivity.Html.GraphSceneStaticRenderOptions { MaximumNodeLabels = value };    graphSceneStaticRenderOptions.MaximumNodeLabels(value);
public static GraphSceneStaticRenderOptions ThemeMode(GraphSceneStaticRenderOptions graphSceneStaticRenderOptions, ThemeMode value) #

Sets GraphSceneStaticRenderOptions.ThemeMode: Gets or sets the color theme of the static image. ThemeMode.Light is the default. ThemeMode.Auto lets SVG follow the viewer's color preference; PNG output, which has no viewer, renders it light.

Parameters

graphSceneStaticRenderOptions ChartForgeX.Interactivity.Html.GraphSceneStaticRenderOptions required
The instance.
value ChartForgeX.ThemeMode required
The value.

Returns

GraphSceneStaticRenderOptions The same instance.

Examples

// C# initializer or property                                                                      // C# fluent
new global::ChartForgeX.Interactivity.Html.GraphSceneStaticRenderOptions { ThemeMode = value };    graphSceneStaticRenderOptions.ThemeMode(value);
public static GraphSceneStaticRenderOptions Width(GraphSceneStaticRenderOptions graphSceneStaticRenderOptions, int value) #

Sets GraphSceneStaticRenderOptions.Width: Gets or sets the output width in pixels.

Parameters

graphSceneStaticRenderOptions ChartForgeX.Interactivity.Html.GraphSceneStaticRenderOptions required
The instance.
value int required
The value.

Returns

GraphSceneStaticRenderOptions The same instance.

Examples

// C# initializer or property                                                                  // C# fluent
new global::ChartForgeX.Interactivity.Html.GraphSceneStaticRenderOptions { Width = value };    graphSceneStaticRenderOptions.Width(value);