Defines the fluent API for configuring ChartXAxisMajorGridLinesSettings
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Type Parameters:
T
Syntax:
public class ChartXAxisMajorGridLinesSettingsBuilder<T> where T : class
Inheritance: objectChartXAxisMajorGridLinesSettingsBuilder<T>
Inherited Members
Constructors
Initializes a new instance of the ChartXAxisMajorGridLinesSettingsBuilder<T> class.
public ChartXAxisMajorGridLinesSettingsBuilder(ChartXAxisMajorGridLinesSettings<T> container)
The ChartXAxisMajorGridLinesSettings<T> container
Properties
Gets the ChartXAxisMajorGridLinesSettings<T> container.
protected ChartXAxisMajorGridLinesSettings<T> Container { get; }
Methods
The color of the lines. Accepts a valid CSS color string, including hex and rgb.
public ChartXAxisMajorGridLinesSettingsBuilder<T> Color(string value)
The value for Color
Returns:ChartXAxisMajorGridLinesSettingsBuilder<T>
Returns the current ChartXAxisMajorGridLinesSettingsBuilder<T> instance.
The dash type of the line.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 ChartXAxisMajorGridLinesSettingsBuilder<T> DashType(ChartDashType value)
The value for DashType
Returns:ChartXAxisMajorGridLinesSettingsBuilder<T>
Returns the current ChartXAxisMajorGridLinesSettingsBuilder<T> instance.
The skip of the x axis major grid lines.
public ChartXAxisMajorGridLinesSettingsBuilder<T> Skip(double value)
The value for Skip
Returns:ChartXAxisMajorGridLinesSettingsBuilder<T>
Returns the current ChartXAxisMajorGridLinesSettingsBuilder<T> instance.
The step of the x axis major grid lines.
public ChartXAxisMajorGridLinesSettingsBuilder<T> Step(double value)
The value for Step
Returns:ChartXAxisMajorGridLinesSettingsBuilder<T>
Returns the current ChartXAxisMajorGridLinesSettingsBuilder<T> instance.
If set to false the chart will not display the x major grid lines. By default the x major grid lines are visible.
public ChartXAxisMajorGridLinesSettingsBuilder<T> Visible(bool value)
The value for Visible
Returns:ChartXAxisMajorGridLinesSettingsBuilder<T>
Returns the current ChartXAxisMajorGridLinesSettingsBuilder<T> instance.
The width of the line in pixels. Also affects the major and minor ticks, but not the grid lines.
public ChartXAxisMajorGridLinesSettingsBuilder<T> Width(double value)
The value for Width
Returns:ChartXAxisMajorGridLinesSettingsBuilder<T>
Returns the current ChartXAxisMajorGridLinesSettingsBuilder<T> instance.