HtmlForgeX

API Reference

Class

ApexChartsTitle

Namespace HtmlForgeX
Assembly HtmlForgeX

Builder for configuring chart title appearance when using ApexCharts. Allows setting main titles and subtitles with styling.

Inheritance

  • Object
  • ApexChartsTitle

Constructors

Methods

Color 2 overloads
public ApexChartsTitle Color(RGBColor color) #
Returns: ApexChartsTitle

Sets the title color using a CSS string value.

Parameters

color System.String requiredposition: 0
Color value.

Returns

The current ApexChartsTitle instance.

Color(HtmlForgeX.RGBColor color) #

Sets the title color from an RGBColor.

Parameters

color HtmlForgeX.RGBColor required
Color value.

Returns

The current ApexChartsTitle instance.

public ApexCharts End() #
Returns: ApexCharts

Returns control to the owning chart for continued chaining.

public ApexChartsTitle FontSize(String fontSize) #
Returns: ApexChartsTitle

Sets the title font size.

Parameters

fontSize System.String requiredposition: 0
Size value with units.

Returns

The current ApexChartsTitle instance.

public ApexChartsTitle FontWeight(String fontWeight) #
Returns: ApexChartsTitle

Sets the title font weight.

Parameters

fontWeight System.String requiredposition: 0
Font weight value.

Returns

The current ApexChartsTitle instance.

public ApexChartsTitle Text(String text) #
Returns: ApexChartsTitle

Sets the title text.

Parameters

text System.String requiredposition: 0
Text to display.

Returns

The current ApexChartsTitle instance.

Properties

public String TitleText { get; set; } #
JsonPropertyName("text")

Gets or sets the title text.

public String TitleAlign { get; set; } #
JsonPropertyName("align")

Gets or sets the title alignment.

public Dictionary<String, String> Style { get; set; } #
JsonPropertyName("style")

Gets the style dictionary applied to the title.

public Boolean IsSet { get; } #
JsonIgnore

Gets a value indicating whether ApexChartTitle is set.

Value

true if this instance is set; otherwise, false.