StockChartNavigatorSeriesLabelsSettingsBuilder

Methods

TemplateView(Microsoft.AspNetCore.Html.IHtmlContent)

The template which renders the chart series label.The fields which can be used in the template are: * category - the category name. Available for area, bar, column, bubble, donut, line and pie series. * dataItem - the original data item used to construct the point. Will be null if binding to array. * percentage - the point value represented as a percentage value. Available only for 100% stacked charts. * series - the data series * value - the point value. Can be a number or object containing each bound field.

Parameters

value - Microsoft.AspNetCore.Html.IHtmlContent

The view which contains the template for Template

RETURNS

The current StockChartNavigatorSeriesLabelsSettingsBuilder instance.

TemplateHandler(System.String)

The name of the JavaScript function that returns the template which renders the chart series label.The fields which can be used in the template are: * category - the category name. Available for area, bar, column, bubble, donut, line and pie series. * dataItem - the original data item used to construct the point. Will be null if binding to array. * percentage - the point value represented as a percentage value. Available only for 100% stacked charts. * series - the data series * value - the point value. Can be a number or object containing each bound field.

Parameters

value - System.String

The name of the JavaScript function that returns the template

RETURNS

The current StockChartNavigatorSeriesLabelsSettingsBuilder instance.

Background(System.String)

The background color of the labels.

Parameters

value - System.String

The value for Background

Border(System.Action)

The border of the labels.

Parameters

configurator - System.Action<StockChartNavigatorSeriesLabelsBorderSettingsBuilder>

The configurator for the border setting.

Color(System.String)

The text color of the labels.

Parameters

value - System.String

The value for Color

Font(System.String)

The font style of the labels.

Parameters

value - System.String

The value for Font

Format(System.String)

The format of the labels.

Parameters

value - System.String

The value for Format

Margin(System.Double)

The margin of the labels.

Parameters

value - System.Double

The value for Margin

Padding(System.Double)

The padding of the labels.

Parameters

value - System.Double

The value for Padding

Position(System.String)

Defines the position of the labels.

Parameters

value - System.String

The value for Position

Template(System.String)

The template which renders the chart series label.The fields which can be used in the template are: * category - the category name. Available for area, bar, column, bubble, donut, line and pie series. * dataItem - the original data item used to construct the point. Will be null if binding to array. * percentage - the point value represented as a percentage value. Available only for 100% stacked charts. * series - the data series * value - the point value. Can be a number or object containing each bound field.

Parameters

value - System.String

The value for Template

TemplateId(System.String)

The template which renders the chart series label.The fields which can be used in the template are: * category - the category name. Available for area, bar, column, bubble, donut, line and pie series. * dataItem - the original data item used to construct the point. Will be null if binding to array. * percentage - the point value represented as a percentage value. Available only for 100% stacked charts. * series - the data series * value - the point value. Can be a number or object containing each bound field.

Parameters

templateId - System.String

Visible(System.Boolean)

The visibility of the labels.

Parameters

value - System.Boolean

The value for Visible

Visible()

The visibility of the labels.