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