New to Telerik ReportingStart a free 30-day trial

Represents an axis in a GraphCoordinateSystem.

Definition

Namespace:Telerik.Reporting

Assembly:Telerik.Reporting.dll

Syntax:

C#
[TypeConverter(typeof(ExpandableObjectConverter))]
public class GraphAxis : ReportObject

Inheritance: objectReportObjectGraphAxis

Inherited Members ReportObject.ToString(string[])

Constructors

TODO: Add documentation.

C#
public GraphAxis()

Properties

Gets or sets the angle in degrees at which the axis labels are rotated.

C#
public int LabelAngle { get; set; }

Gets or sets a value that indicates how to format the labels.

C#
[AIAssistantDescription("Format string for axis tick labels. IMPORTANT — before setting this property, inspect the Scale.NetType of this axis and follow EXACTLY ONE of the two paths below: PATH A — Scale is NOT CategoryScale (i.e. NumericalScale, DateTimeScale, or LogarithmicScale): set LabelFormat directly on the GraphAxis object (never inside the Scale). Examples: \"{0:N2}\", \"{0:yyyy-MM-dd}\", \"{0:yyyy}\". PATH B — Scale IS CategoryScale: do NOT set LabelFormat at all (it is silently ignored). Instead, set the Label property on the CategoryGroup that drives this axis to a Format expression: \"= Format('{0:N2}', Fields.Value)\". Do not set LabelFormat anywhere when the scale is CategoryScale.")]
public string LabelFormat { get; set; }

Gets or sets the position of the axis labels according to the complementary axis' min/max values.

C#
public GraphAxisLabelPlacement LabelPlacement { get; set; }

Gets the style of the grid lines that correspond to the major axis steps.

C#
[TypeConverter(typeof(ExpandableObjectConverter))]
public Style MajorGridLineStyle { get; }

Gets or sets a value that indicates how to display the tick marks that correspond to the major axis steps.

C#
public GraphAxisTickMarkDisplayType MajorTickMarkDisplayType { get; set; }

Specifies the graph item's left position.

C#
public Unit MaxSize { get; set; }

Gets the style of the grid lines that correspond to the minor axis steps.

C#
[TypeConverter(typeof(ExpandableObjectConverter))]
public Style MinorGridLineStyle { get; }

Gets or sets a value that indicates how to display the tick marks that correspond to the minor axis steps.

C#
public GraphAxisTickMarkDisplayType MinorTickMarkDisplayType { get; set; }

Specifies the minimum Axis size.

C#
public Unit MinSize { get; set; }

Gets or sets a value indicating whether to display multidimensional category scale labels on one or more levels.

C#
public bool MultiLevelCategoryLabels { get; set; }

Name

string

TODO: Add documentation.

C#
[Browsable(false)]
public string Name { get; set; }

Gets or sets the scale for the current axis.

C#
public Scale Scale { get; set; }
Remarks:

The scale can be one of the following types: CategoryScale, NumericalScale, LogarithmicScale, DateTimeScale.

Site

ISite

TODO: Add documentation.

C#
[Browsable(false)]
public virtual ISite Site { get; set; }

Specifies the Axis exact size.

C#
public Unit Size { get; set; }

Gets the default style for the current axis, tick marks and labels.

C#
[TypeConverter(typeof(ExpandableObjectConverter))]
public Style Style { get; }

Title

string

Gets or sets the title of the axis.

C#
public string Title { get; set; }
Property Value:

A string started with "=" is interpreted as an expression to calculate the real data, otherwise - literal string. Supports embedded expressions also.

Gets or sets the placement of the axis title.

C#
public GraphAxisTitlePlacement TitlePlacement { get; set; }

Gets the default style for the title of the current axis.

C#
[TypeConverter(typeof(ExpandableObjectConverter))]
public Style TitleStyle { get; }

Methods

TODO: Add documentation.

C#
public void Dispose()

TODO: Add documentation.

C#
protected virtual void Dispose(bool disposing)
Parameters:disposingbool

TODO: Add documentation.

C#
public override string ToString()
Returns:

string

Overrides: object.ToString()

Events

Disposed

EventHandler

Occurs when the report item is disposed.

C#
public event EventHandler Disposed