Defines the fluent API for configuring StockChartNavigatorCategoryAxisLabelsSettings
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Type Parameters:
T
Syntax:
public class StockChartNavigatorCategoryAxisLabelsSettingsBuilder<T> where T : class
Inheritance: objectStockChartNavigatorCategoryAxisLabelsSettingsBuilder<T>
Inherited Members
Constructors
StockChartNavigatorCategoryAxisLabelsSettingsBuilder method.
public StockChartNavigatorCategoryAxisLabelsSettingsBuilder(StockChartNavigatorCategoryAxisLabelsSettings<T> container)
Properties
Gets or sets the Container.
protected StockChartNavigatorCategoryAxisLabelsSettings<T> Container { get; }
Methods
The background color of the labels. Accepts a valid CSS color string, including hex and rgb.
public StockChartNavigatorCategoryAxisLabelsSettingsBuilder<T> Background(string value)
The value for Background
Returns:StockChartNavigatorCategoryAxisLabelsSettingsBuilder<T>
Returns the current StockChartNavigatorCategoryAxisLabelsSettingsBuilder<T> instance.
The border of the labels.
public StockChartNavigatorCategoryAxisLabelsSettingsBuilder<T> Border(Action<StockChartNavigatorCategoryAxisLabelsBorderSettingsBuilder<T>> configurator)
The StockChartNavigatorCategoryAxisLabelsBorderSettingsBuilder<T> for the border setting.
Returns:StockChartNavigatorCategoryAxisLabelsSettingsBuilder<T>
Returns the current instance of StockChartNavigatorCategoryAxisLabelsSettingsBuilder<T> .
The text color of the labels. Accepts a valid CSS color string, including hex and rgb.
public StockChartNavigatorCategoryAxisLabelsSettingsBuilder<T> Color(string value)
The value for Color
Returns:StockChartNavigatorCategoryAxisLabelsSettingsBuilder<T>
Returns the current StockChartNavigatorCategoryAxisLabelsSettingsBuilder<T> instance.
The culture to use when formatting date values. See the globalization overview for more information.
public StockChartNavigatorCategoryAxisLabelsSettingsBuilder<T> Culture(string value)
The value for Culture
Returns:StockChartNavigatorCategoryAxisLabelsSettingsBuilder<T>
Returns the current StockChartNavigatorCategoryAxisLabelsSettingsBuilder<T> instance.
The format used to display the labels when the categories are dates. Uses kendo.format. Contains one placeholder ("{0}") which represents the category value.
public StockChartNavigatorCategoryAxisLabelsSettingsBuilder<T> DateFormats(Action<StockChartNavigatorCategoryAxisLabelsDateFormatsSettingsBuilder<T>> configurator)
The StockChartNavigatorCategoryAxisLabelsDateFormatsSettingsBuilder<T> for the dateformats setting.
Returns:StockChartNavigatorCategoryAxisLabelsSettingsBuilder<T>
Returns the current instance of StockChartNavigatorCategoryAxisLabelsSettingsBuilder<T> .
The font style of the labels.
public StockChartNavigatorCategoryAxisLabelsSettingsBuilder<T> Font(string value)
The value for Font
Returns:StockChartNavigatorCategoryAxisLabelsSettingsBuilder<T>
Returns the current StockChartNavigatorCategoryAxisLabelsSettingsBuilder<T> instance.
The format used to display the labels. Uses kendo.format. Contains one placeholder ("{0}") which represents the category value.
public StockChartNavigatorCategoryAxisLabelsSettingsBuilder<T> Format(string value)
The value for Format
Returns:StockChartNavigatorCategoryAxisLabelsSettingsBuilder<T>
Returns the current StockChartNavigatorCategoryAxisLabelsSettingsBuilder<T> instance.
The margin of the labels. A numeric value will set all margins.
public StockChartNavigatorCategoryAxisLabelsSettingsBuilder<T> Margin(Action<StockChartNavigatorCategoryAxisLabelsMarginSettingsBuilder<T>> configurator)
The StockChartNavigatorCategoryAxisLabelsMarginSettingsBuilder<T> for the margin setting.
Returns:StockChartNavigatorCategoryAxisLabelsSettingsBuilder<T>
Returns the current instance of StockChartNavigatorCategoryAxisLabelsSettingsBuilder<T> .
If set to true the chart will mirror the axis labels and ticks. If the labels are normally on the left side of the axis, mirroring the axis will render them to the right.
public StockChartNavigatorCategoryAxisLabelsSettingsBuilder<T> Mirror()
StockChartNavigatorCategoryAxisLabelsSettingsBuilder<T>
Returns the current StockChartNavigatorCategoryAxisLabelsSettingsBuilder<T> instance.
If set to true the chart will mirror the axis labels and ticks. If the labels are normally on the left side of the axis, mirroring the axis will render them to the right.
public StockChartNavigatorCategoryAxisLabelsSettingsBuilder<T> Mirror(bool value)
The value for Mirror
Returns:StockChartNavigatorCategoryAxisLabelsSettingsBuilder<T>
Returns the current StockChartNavigatorCategoryAxisLabelsSettingsBuilder<T> instance.
The padding of the labels. A numeric value will set all paddings.
public StockChartNavigatorCategoryAxisLabelsSettingsBuilder<T> Padding(Action<StockChartNavigatorCategoryAxisLabelsPaddingSettingsBuilder<T>> configurator)
The StockChartNavigatorCategoryAxisLabelsPaddingSettingsBuilder<T> for the padding setting.
Returns:StockChartNavigatorCategoryAxisLabelsSettingsBuilder<T>
Returns the current instance of StockChartNavigatorCategoryAxisLabelsSettingsBuilder<T> .
The rotation angle of the labels. By default the labels are not rotated.
public StockChartNavigatorCategoryAxisLabelsSettingsBuilder<T> Rotation(double value)
The value for Rotation
Returns:StockChartNavigatorCategoryAxisLabelsSettingsBuilder<T>
Returns the current StockChartNavigatorCategoryAxisLabelsSettingsBuilder<T> instance.
The number of labels to skip. By default no labels are skipped.
public StockChartNavigatorCategoryAxisLabelsSettingsBuilder<T> Skip(double value)
The value for Skip
Returns:StockChartNavigatorCategoryAxisLabelsSettingsBuilder<T>
Returns the current StockChartNavigatorCategoryAxisLabelsSettingsBuilder<T> instance.
The label rendering step - render every n-th label. By default every label is rendered.
public StockChartNavigatorCategoryAxisLabelsSettingsBuilder<T> Step(double value)
The value for Step
Returns:StockChartNavigatorCategoryAxisLabelsSettingsBuilder<T>
Returns the current StockChartNavigatorCategoryAxisLabelsSettingsBuilder<T> instance.
The template which renders the labels.The fields which can be used in the template are: value - the category value; dataItem - the data item for the category; format - the default format of the label; culture - the default culture (if set) on the label; index - the 0-based index of the current label or count - the total number of labels on the axis.
public StockChartNavigatorCategoryAxisLabelsSettingsBuilder<T> Template(string value)
The value for Template
Returns:StockChartNavigatorCategoryAxisLabelsSettingsBuilder<T>
Returns the current StockChartNavigatorCategoryAxisLabelsSettingsBuilder<T> instance.
The template which renders the labels.The fields which can be used in the template are: value - the category value; dataItem - the data item for the category; format - the default format of the label; culture - the default culture (if set) on the label; index - the 0-based index of the current label or count - the total number of labels on the axis.
public StockChartNavigatorCategoryAxisLabelsSettingsBuilder<T> Template<TModel>(TemplateBuilder<TModel> template)
A Template component that configures the template.
Returns:StockChartNavigatorCategoryAxisLabelsSettingsBuilder<T>
Returns the current StockChartNavigatorCategoryAxisLabelsSettingsBuilder<T> instance.
The template which renders the labels.The fields which can be used in the template are: value - the category value; dataItem - the data item for the category; format - the default format of the label; culture - the default culture (if set) on the label; index - the 0-based index of the current label or count - the total number of labels on the axis.
public StockChartNavigatorCategoryAxisLabelsSettingsBuilder<T> TemplateHandler(string templateHandler)
The handler that returs the template for Template
Returns:StockChartNavigatorCategoryAxisLabelsSettingsBuilder<T>
Returns the current StockChartNavigatorCategoryAxisLabelsSettingsBuilder<T> instance.
The template which renders the labels.The fields which can be used in the template are: value - the category value; dataItem - the data item for the category; format - the default format of the label; culture - the default culture (if set) on the label; index - the 0-based index of the current label or count - the total number of labels on the axis.
public StockChartNavigatorCategoryAxisLabelsSettingsBuilder<T> TemplateId(string templateId)
The ID of the template element for Template
Returns:StockChartNavigatorCategoryAxisLabelsSettingsBuilder<T>
Returns the current StockChartNavigatorCategoryAxisLabelsSettingsBuilder<T> instance.
The template which renders the labels.The fields which can be used in the template are: value - the category value; dataItem - the data item for the category; format - the default format of the label; culture - the default culture (if set) on the label; index - the 0-based index of the current label or count - the total number of labels on the axis.
public StockChartNavigatorCategoryAxisLabelsSettingsBuilder<T> TemplateView(IHtmlContent templateView)
The view that contains the template for Template
Returns:StockChartNavigatorCategoryAxisLabelsSettingsBuilder<T>
Returns the current StockChartNavigatorCategoryAxisLabelsSettingsBuilder<T> instance.
If set to true the chart will display the category axis labels. By default the category axis labels are visible.
public StockChartNavigatorCategoryAxisLabelsSettingsBuilder<T> Visible(bool value)
The value for Visible
Returns:StockChartNavigatorCategoryAxisLabelsSettingsBuilder<T>
Returns the current StockChartNavigatorCategoryAxisLabelsSettingsBuilder<T> instance.