GraphAxis
Represents an axis in a GraphCoordinateSystem.
Definition
Namespace:Telerik.Reporting
Assembly:Telerik.Reporting.dll
Syntax:
[TypeConverter(typeof(ExpandableObjectConverter))]
public class GraphAxis : ReportObject
Inheritance: objectReportObjectGraphAxis
Inherited Members
Constructors
TODO: Add documentation.
public GraphAxis()
Properties
LabelAngle
int
Gets or sets the angle in degrees at which the axis labels are rotated.
public int LabelAngle { get; set; }
LabelFormat
string
Gets or sets a value that indicates how to format the labels.
[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.
public GraphAxisLabelPlacement LabelPlacement { get; set; }
Gets the style of the grid lines that correspond to the major axis steps.
[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.
public GraphAxisTickMarkDisplayType MajorTickMarkDisplayType { get; set; }
Gets the style of the grid lines that correspond to the minor axis steps.
[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.
public GraphAxisTickMarkDisplayType MinorTickMarkDisplayType { get; set; }
Gets or sets a value indicating whether to display multidimensional category scale labels on one or more levels.
public bool MultiLevelCategoryLabels { get; set; }
Name
string
TODO: Add documentation.
[Browsable(false)]
public string Name { get; set; }
Gets or sets the scale for the current axis.
public Scale Scale { get; set; }
The scale can be one of the following types: CategoryScale, NumericalScale, LogarithmicScale, DateTimeScale.
Site
ISite
TODO: Add documentation.
[Browsable(false)]
public virtual ISite Site { get; set; }
Gets the default style for the current axis, tick marks and labels.
[TypeConverter(typeof(ExpandableObjectConverter))]
public Style Style { get; }
Title
string
Gets or sets the title of the axis.
public string Title { get; set; }
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.
public GraphAxisTitlePlacement TitlePlacement { get; set; }
Gets the default style for the title of the current axis.
[TypeConverter(typeof(ExpandableObjectConverter))]
public Style TitleStyle { get; }
Methods
TODO: Add documentation.
public void Dispose()
TODO: Add documentation.
protected virtual void Dispose(bool disposing)
ToString()
string
TODO: Add documentation.
public override string ToString()
string
Overrides:
Events
Disposed
EventHandler
Occurs when the report item is disposed.
public event EventHandler Disposed