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