Skip to content
ChartForgeX
Class

GraphNodeStyleFluent

ChartForgeX.Interactivity

Namespace
ChartForgeX.Interactivity
Assembly
ChartForgeX.Interactivity
Modifiers
static

The fluent methods of GraphNodeStyle, 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
  • GraphNodeStyleFluent

Methods

public static GraphNodeStyle BackgroundColor(GraphNodeStyle graphNodeStyle, string? value) #

Sets GraphNodeStyle.BackgroundColor: Gets or sets the node fill color.

Parameters

graphNodeStyle ChartForgeX.Interactivity.GraphNodeStyle required
The instance.
value string? required
The value.

Returns

GraphNodeStyle The same instance.

Examples

// C# initializer or property                                                        // C# fluent
new global::ChartForgeX.Interactivity.GraphNodeStyle { BackgroundColor = value };    graphNodeStyle.BackgroundColor(value);
public static GraphNodeStyle BorderColor(GraphNodeStyle graphNodeStyle, string? value) #

Sets GraphNodeStyle.BorderColor: Gets or sets the node border color.

Parameters

graphNodeStyle ChartForgeX.Interactivity.GraphNodeStyle required
The instance.
value string? required
The value.

Returns

GraphNodeStyle The same instance.

Examples

// C# initializer or property                                                    // C# fluent
new global::ChartForgeX.Interactivity.GraphNodeStyle { BorderColor = value };    graphNodeStyle.BorderColor(value);
public static GraphNodeStyle LabelBackgroundColor(GraphNodeStyle graphNodeStyle, string? value) #

Sets GraphNodeStyle.LabelBackgroundColor: Gets or sets an optional label background color.

Parameters

graphNodeStyle ChartForgeX.Interactivity.GraphNodeStyle required
The instance.
value string? required
The value.

Returns

GraphNodeStyle The same instance.

Examples

// C# initializer or property                                                             // C# fluent
new global::ChartForgeX.Interactivity.GraphNodeStyle { LabelBackgroundColor = value };    graphNodeStyle.LabelBackgroundColor(value);
public static GraphNodeStyle LabelColor(GraphNodeStyle graphNodeStyle, string? value) #

Sets GraphNodeStyle.LabelColor: Gets or sets the node label color.

Parameters

graphNodeStyle ChartForgeX.Interactivity.GraphNodeStyle required
The instance.
value string? required
The value.

Returns

GraphNodeStyle The same instance.

Examples

// C# initializer or property                                                   // C# fluent
new global::ChartForgeX.Interactivity.GraphNodeStyle { LabelColor = value };    graphNodeStyle.LabelColor(value);
public static GraphNodeStyle Shadow(GraphNodeStyle graphNodeStyle, bool value = true) #

Sets GraphNodeStyle.Shadow: Gets or sets whether the adapter should render a node shadow when supported.

Parameters

graphNodeStyle ChartForgeX.Interactivity.GraphNodeStyle required
The instance.
value bool = true optional
The value; true when omitted.

Returns

GraphNodeStyle The same instance.

Examples

// C# initializer or property                                               // C# fluent
new global::ChartForgeX.Interactivity.GraphNodeStyle { Shadow = value };    graphNodeStyle.Shadow(value);