Defines the fluent API for configuring ChartCategoryAxisMajorGridLinesSettings
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Type Parameters:
T
Syntax:
public class ChartCategoryAxisMajorGridLinesSettingsBuilder<T> where T : class
Inheritance: objectChartCategoryAxisMajorGridLinesSettingsBuilder<T>
Inherited Members
Constructors
Initializes a new instance of the ChartCategoryAxisMajorGridLinesSettingsBuilder<T> class.
public ChartCategoryAxisMajorGridLinesSettingsBuilder(ChartCategoryAxisMajorGridLinesSettings<T> container)
The ChartCategoryAxisMajorGridLinesSettings<T> container
Properties
Gets the ChartCategoryAxisMajorGridLinesSettings<T> container.
protected ChartCategoryAxisMajorGridLinesSettings<T> Container { get; }
Methods
The color of the major grid lines. Accepts a valid CSS color string, including hex and rgb.
public ChartCategoryAxisMajorGridLinesSettingsBuilder<T> Color(string value)
The value for Color
Returns:ChartCategoryAxisMajorGridLinesSettingsBuilder<T>
Returns the current ChartCategoryAxisMajorGridLinesSettingsBuilder<T> instance.
The dash type of the major grid lines.The following dash types are supported: "dash" - a line consisting of dashes; "dashDot" - a line consisting of a repeating pattern of dash-dot; "dot" - a line consisting of dots; "longDash" - a line consisting of a repeating pattern of long-dash; "longDashDot" - a line consisting of a repeating pattern of long-dash-dot; "longDashDotDot" - a line consisting of a repeating pattern of long-dash-dot-dot or "solid" - a solid line.
public ChartCategoryAxisMajorGridLinesSettingsBuilder<T> DashType(ChartDashType value)
The value for DashType
Returns:ChartCategoryAxisMajorGridLinesSettingsBuilder<T>
Returns the current ChartCategoryAxisMajorGridLinesSettingsBuilder<T> instance.
The skip of the category axis major grid lines.
public ChartCategoryAxisMajorGridLinesSettingsBuilder<T> Skip(double value)
The value for Skip
Returns:ChartCategoryAxisMajorGridLinesSettingsBuilder<T>
Returns the current ChartCategoryAxisMajorGridLinesSettingsBuilder<T> instance.
The step of the category axis major grid lines.
public ChartCategoryAxisMajorGridLinesSettingsBuilder<T> Step(double value)
The value for Step
Returns:ChartCategoryAxisMajorGridLinesSettingsBuilder<T>
Returns the current ChartCategoryAxisMajorGridLinesSettingsBuilder<T> instance.
Makes the major grid lines visible.
public ChartCategoryAxisMajorGridLinesSettingsBuilder<T> Visible()
If set to false the chart will not display the major grid lines. By default the major grid lines are visible.
public ChartCategoryAxisMajorGridLinesSettingsBuilder<T> Visible(bool value)
The value for Visible
Returns:ChartCategoryAxisMajorGridLinesSettingsBuilder<T>
Returns the current ChartCategoryAxisMajorGridLinesSettingsBuilder<T> instance.
The width of the category axis major grid lines in pixels.
public ChartCategoryAxisMajorGridLinesSettingsBuilder<T> Width(double value)
The value for Width
Returns:ChartCategoryAxisMajorGridLinesSettingsBuilder<T>
Returns the current ChartCategoryAxisMajorGridLinesSettingsBuilder<T> instance.