Kendo UI ChartAxisDefaultsSettings class
Definition
Namespace:Kendo.Mvc.UI
Assembly:Kendo.Mvc.dll
Type Parameters:
T
Syntax:
public class ChartAxisDefaultsSettings<T> where T : class
Inheritance: objectChartAxisDefaultsSettings<T>
Inherited Members
Constructors
public ChartAxisDefaultsSettings()
Properties
The background color of the axis.
public string Background { get; set; }
The color to apply to all axis elements. Accepts a valid CSS color string, including hex and rgb.
public string Color { get; set; }
The crosshair configuration options.
public ChartAxisDefaultsCrosshairSettings<T> Crosshair { get; }
The axis labels configuration.
public ChartAxisDefaultsLabelsSettings<T> Labels { get; }
The configuration of the axis lines. Also affects the major and minor ticks, but not the grid lines.
public ChartAxisDefaultsLineSettings<T> Line { get; }
The configuration of the major grid lines. These are the lines that are an extension of the major ticks through the body of the chart.
public ChartAxisDefaultsMajorGridLinesSettings<T> MajorGridLines { get; }
The configuration of the axis major ticks.
public ChartAxisDefaultsMajorTicksSettings<T> MajorTicks { get; }
The configuration of the minor grid lines. These are the lines that are an extension of the minor ticks through the body of the chart.
public ChartAxisDefaultsMinorGridLinesSettings<T> MinorGridLines { get; }
The configuration of the axis minor ticks.
public ChartAxisDefaultsMinorTicksSettings<T> MinorTicks { get; }
If set to true the chart will prevent the axis range from snapping to 0. Setting it to false will force the axis range to snap to 0.
public bool? NarrowRange { get; set; }
The name of the pane that the axis should be rendered in. The axis will be rendered in the first (default) pane if not set.
public string Pane { get; set; }
The plot bands of the axis.
public List<ChartAxisDefaultsSettingsPlotBand<T>> PlotBands { get; set; }
If set to true the axis direction will be reversed. By default categories are listed from left to right and from bottom to top.
public bool? Reverse { get; set; }
The angle (degrees) of the first category on the axis.Angles increase clockwise and zero is to the left. Negative values are acceptable.
public double? StartAngle { get; set; }
The title configuration of the axis.
public ChartAxisDefaultsTitleSettings<T> Title { get; }
Methods
Serializes the settings to a Dictionary.
Serialize current instance to Dictionary
protected virtual Dictionary<string, object> SerializeSettings()