API Reference
ApexChartsTitle
Builder for configuring chart title appearance when using ApexCharts. Allows setting main titles and subtitles with styling.
Inheritance
- Object
- ApexChartsTitle
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Property ApexCharts.Title
- Method ApexChartsTitle.Color
- Method ApexChartsTitle.FontSize
- Method ApexChartsTitle.FontWeight
- Method ApexChartsTitle.Text
Constructors
public ApexChartsTitle() #Methods
public ApexChartsTitle Color(RGBColor color) #ApexChartsTitleSets the title color using a CSS string value.
Parameters
- color System.String
- Color value.
Returns
The current ApexChartsTitle instance.
Color(HtmlForgeX.RGBColor color) #Sets the title color from an RGBColor.
Parameters
- color HtmlForgeX.RGBColor
- Color value.
Returns
The current ApexChartsTitle instance.
public ApexCharts End() #ApexChartsReturns control to the owning chart for continued chaining.
public ApexChartsTitle FontSize(String fontSize) #ApexChartsTitleSets the title font size.
Parameters
- fontSize System.String
- Size value with units.
Returns
The current ApexChartsTitle instance.
public ApexChartsTitle FontWeight(String fontWeight) #ApexChartsTitleSets the title font weight.
Parameters
- fontWeight System.String
- Font weight value.
Returns
The current ApexChartsTitle instance.
public ApexChartsTitle Text(String text) #ApexChartsTitleSets the title text.
Parameters
- text System.String
- Text to display.
Returns
The current ApexChartsTitle instance.
Inherited Methods
Properties
public Dictionary<String, String> Style { get; set; } #JsonPropertyName("style")Gets the style dictionary applied to the title.
public Boolean IsSet { get; } #JsonIgnoreGets a value indicating whether ApexChartTitle is set.
Value
true if this instance is set; otherwise, false.