ChartPaneTitleSettingsBuilder

Methods

Background(System.String)

The background color of the title. Accepts a valid CSS color string, including hex and rgb.

Parameters

value - System.String

The value for Background

RETURNS

Returns the current ChartPaneTitleSettingsBuilder instance.

Border(System.Action)

The border of the title.

Parameters

configurator - System.Action<ChartPaneTitleBorderSettingsBuilder>

The configurator for the border setting.

RETURNS

Returns the current instance of ChartPaneTitleSettingsBuilder .

Color(System.String)

The text color of the title. Accepts a valid CSS color string, including hex and rgb.

Parameters

value - System.String

The value for Color

RETURNS

Returns the current ChartPaneTitleSettingsBuilder instance.

Font(System.String)

The font style of the title.

Parameters

value - System.String

The value for Font

RETURNS

Returns the current ChartPaneTitleSettingsBuilder instance.

Margin(System.Action)

The margin of the title. A numeric value will set all margins.

Parameters

configurator - System.Action<ChartPaneTitleMarginSettingsBuilder>

The configurator for the margin setting.

RETURNS

Returns the current instance of ChartPaneTitleSettingsBuilder .

Position(System.String)

The position of the title.The supported values are: "left" - the axis title is positioned on the left (applicable to horizontal axis); "right" - the axis title is positioned on the right (applicable to horizontal axis) or "center" - the axis title is positioned in the center.

Parameters

value - System.String

The value for Position

RETURNS

Returns the current ChartPaneTitleSettingsBuilder instance.

Text(System.String)

The text of the title.

Parameters

value - System.String

The value for Text

RETURNS

Returns the current ChartPaneTitleSettingsBuilder instance.

Visible(System.Boolean)

If set to true the chart will display the pane title. By default the pane title is visible.

Parameters

value - System.Boolean

The value for Visible

RETURNS

Returns the current ChartPaneTitleSettingsBuilder instance.

Visual(System.String)

A function that can be used to create a custom visual for the title. The available argument fields are: text - the label text.; rect - the kendo.geometry.Rect that defines where the visual should be rendered.; sender - the chart instance (may be undefined).; options - the label options. or createVisual - a function that can be used to get the default visual..

Parameters

handler - System.String

The name of the JavaScript function that will be evaluated.

RETURNS

Returns the current ChartPaneTitleSettingsBuilder instance.

Visual(System.Func)

A function that can be used to create a custom visual for the title. The available argument fields are: text - the label text.; rect - the kendo.geometry.Rect that defines where the visual should be rendered.; sender - the chart instance (may be undefined).; options - the label options. or createVisual - a function that can be used to get the default visual..

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

RETURNS

Returns the current ChartPaneTitleSettingsBuilder instance.