ChartSubtitleSettingsBuilder
Methods
Align(System.String)
The alignment of the subtitle. "center" - the text is aligned to the middle.; "left" - the text is aligned to the left. or "right" - the text is aligned to the right.. By default, the subtitle has the same alignment as the title.
Parameters
value - System.String
The value for Align
RETURNS
Returns the current ChartSubtitleSettingsBuilder instance.
Background(System.String)
The background color of the subtitle. Accepts a valid CSS color string, including hex and rgb.
Parameters
value - System.String
The value for Background
RETURNS
Returns the current ChartSubtitleSettingsBuilder instance.
Border(System.Action)
The border of the subtitle.
Parameters
configurator - System.Action<ChartSubtitleBorderSettingsBuilder>
The configurator for the border setting.
RETURNS
Returns the current instance of ChartSubtitleSettingsBuilder .
Color(System.String)
The text color of the subtitle. Accepts a valid CSS color string, including hex and rgb.
Parameters
value - System.String
The value for Color
RETURNS
Returns the current ChartSubtitleSettingsBuilder instance.
Font(System.String)
The font of the title.
Parameters
value - System.String
The value for Font
RETURNS
Returns the current ChartSubtitleSettingsBuilder instance.
Margin(System.Action)
The margin of the subtitle. A numeric value will set all margins.
Parameters
configurator - System.Action<ChartSubtitleMarginSettingsBuilder>
The configurator for the margin setting.
RETURNS
Returns the current instance of ChartSubtitleSettingsBuilder .
Padding(System.Action)
The padding of the subtitle. A numeric value will set all margins.
Parameters
configurator - System.Action<ChartSubtitlePaddingSettingsBuilder>
The configurator for the padding setting.
RETURNS
Returns the current instance of ChartSubtitleSettingsBuilder .
Position(System.String)
The position of the subtitle. "bottom" - the title is positioned on the bottom. or "top" - the title is positioned on the top.. By default, the subtitle is placed in the same position as the title.
Parameters
value - System.String
The value for Position
RETURNS
Returns the current ChartSubtitleSettingsBuilder instance.
Text(System.String)
The text of the chart subtitle. You can also set the text directly for a title with default options.
Parameters
value - System.String
The value for Text
RETURNS
Returns the current ChartSubtitleSettingsBuilder instance.
Visible(System.Boolean)
If set to true the chart will display the subtitle. By default the subtitle will be displayed.
Parameters
value - System.Boolean
The value for Visible
RETURNS
Returns the current ChartSubtitleSettingsBuilder instance.