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