New to Telerik Document Processing? Start a free 30-day trial

Axis

Class

Axis settings for plotting chart data in documents, providing shared range, formatting, visibility, and gridline configuration. Use as the base for category, value, and date axes when rendering charts.

Definition

Namespace:Telerik.Documents.Model.Drawing.Charts

Assembly:Telerik.Windows.Documents.Core.dll

Syntax:

C#
public abstract class Axis

Inheritance: objectAxis

Derived Classes: CategoryAxisDateAxisValueAxis

Constructors

Initializes a new instance of the Axis class.

C#
protected Axis()

Properties

Identifies the axis kind (value, category, or date) used to plot series.

C#
public abstract AxisType AxisType { get; }

Controls whether the axis line, labels, and gridlines are rendered.

C#
public bool IsVisible { get; set; }

Line style for the axis’s major gridlines drawn across the plot area.

C#
public ChartLine MajorGridlines { get; }

Upper bound of the axis scale; when null the maximum is determined automatically. For data axes, use an OLE Automation date value; for a categorical axis, use the position of the category within the collection.

C#
public double? Max { get; set; }

Lower bound of the axis scale; when null the minimum is determined automatically. For data axes, use an OLE Automation date value; for a categorical axis, use the position of the category within the collection.

C#
public double? Min { get; set; }

Format string applied to axis values when rendered (e.g., numeric or date/time); affects label text only.

C#
public string NumberFormat { get; set; }

Stroke style for the axis line; influences rendered thickness and color.

C#
public Outline Outline { get; }

Indicates whether the number format is linked to the source data. When false, the axis uses the format specified by NumberFormat. When null, no explicit value is written.

C#
public bool? SourceLinked { get; set; }

Methods

Creates a deep copy of this axis, duplicating value range, visibility, number format, outline, and major gridline settings.

C#
public Axis Clone()
Returns:

Axis

The deep copy of the object.