HtmlForgeX

API Reference

Class

ApexFillOptions

Namespace HtmlForgeX
Assembly HtmlForgeX

Represents fill configuration options for ApexCharts.

Inheritance

  • Object
  • ApexFillOptions

Constructors

public ApexFillOptions() #

Methods

public ApexFillOptions SetColors(params String[] colors) #
Returns: ApexFillOptions

Sets the fill colors.

Parameters

colors System.String[] requiredposition: 0
public ApexFillOptions SetGradient(Action<ApexGradient> configure) #
Returns: ApexFillOptions

Configures the gradient.

Parameters

configure System.Action{HtmlForgeX.ApexGradient} requiredposition: 0
public ApexFillOptions SetOpacity(Object opacity) #
Returns: ApexFillOptions

Sets the opacity (single value or array).

Parameters

opacity System.Object requiredposition: 0
public ApexFillOptions SetPattern(Action<ApexPattern> configure) #
Returns: ApexFillOptions

Configures the pattern.

Parameters

configure System.Action{HtmlForgeX.ApexPattern} requiredposition: 0
SetType 2 overloads
public ApexFillOptions SetType(ApexFillType type) #
Returns: ApexFillOptions

Sets the fill type.

Parameters

type HtmlForgeX.ApexFillType requiredposition: 0
public ApexFillOptions SetType(Object type) #
Returns: ApexFillOptions

Sets the fill type (for arrays or custom values).

Parameters

type System.Object requiredposition: 0

Properties

public String[] Colors { get; set; } #
JsonPropertyName("colors")

Gets or sets the fill colors.

public Object Opacity { get; set; } #
JsonPropertyName("opacity")

Gets or sets the opacity.

public Object Type { get; set; } #
JsonPropertyName("type")

Gets or sets the fill type.

public ApexGradient Gradient { get; set; } #
JsonPropertyName("gradient")

Gets or sets the gradient configuration.

public ApexPattern Pattern { get; set; } #
JsonPropertyName("pattern")

Gets or sets the pattern configuration.