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