New to Telerik ReportingStart a free 30-day trial

Axis appearance

Definition

Namespace:Telerik.Reporting.Charting.Styles

Assembly:Telerik.Reporting.dll

Syntax:

C#
[TypeConverter(typeof(ExpandableObjectConverter))]
public class StyleAxis : LineStyle, IChartingStateManagedItem, IChartingStateManager

Inheritance: objectStateManagedObjectStyleBorderLineStyleStyleAxis

Derived Classes: StyleAxisXStyleAxisY

Implements: IChartingStateManagedItemIChartingStateManager

Inherited Members LineStyle.Equals(object)LineStyle.GetHashCode()LineStyle.Clone()LineStyle.EndCapLineStyle.StartCapStyleBorder.PenStyleStateManagedObject.CloneState()StateManagedObject.SetDirty()StateManagedObject.Dispose()StateManagedObject.ViewStateIgnoresCase...

Constructors

Creates new instance of StyleAxis class

C#
public StyleAxis()

Creates new instance of StyleAxis class

C#
public StyleAxis(ChartAxis axis)
Parameters:axisChartAxis

Axis related to

Creates new instance of StyleAxis class

C#
public StyleAxis(Orientation orientation, ChartAxis axis)
Parameters:orientationOrientation

Axis orientation

axisChartAxis

Axis related to

Creates new instance of StyleAxis class

C#
public StyleAxis(Orientation orientation, ChartAxisVisibility visibility, ChartAxis axis)
Parameters:orientationOrientation

Axis orientation

visibilityChartAxisVisibility

Visibility of axis

axisChartAxis

Axis orientation

Creates new instance of StyleAxis class

C#
public StyleAxis(Orientation orientation, ChartAxisVisibility visibility, LineStyle lineStyle)
Parameters:orientationOrientation

Axis orientation

visibilityChartAxisVisibility

Visisbility of axis

lineStyleLineStyle

Line style of axis

Creates new instance of StyleAxis class

C#
public StyleAxis(Orientation orientation, ChartAxisVisibility visibility)
Parameters:orientationOrientation

Axis orientation

visibilityChartAxisVisibility

Visibility of axis

Creates new instance of StyleAxis class

C#
public StyleAxis(Orientation orientation)
Parameters:orientationOrientation

Axis orientation

Fields

Default style for axis label

C#
protected StyleLabel styleAxisLabelAppearance

Major Grid Lines options

C#
protected StyleGridLine styleAxisMajorGridLines

Axis major ticks style

C#
protected StyleTickMajor styleAxisMajorTick

Minor Grid Lines options

C#
protected StyleGridLine styleAxisMinorGridLines

Axis minor ticks style

C#
protected StyleTickMinor styleAxisMinorTick

Specifies the orientation property

C#
protected Orientation styleAxisOrientation

Default axis items text properties style

C#
protected StyleAxisItemText styleAxisTextAppearance

Properties

Color

Color

Color of Axis

C#
[SkinnableProperty]
public override Color Color { get; set; }

Overrides: StyleBorder.Color

Specifies a custom numerical format string.

C#
[Browsable(true)]
[SkinnableProperty]
public string CustomFormat { get; set; }

Default style for all axis items

C#
[TypeConverter(typeof(ExpandableObjectConverter))]
[Browsable(true)]
[PersistenceMode(PersistenceMode.InnerProperty)]
[SkinnableProperty]
public virtual StyleLabel LabelAppearance { get; }

Major Grid Lines options

C#
[Browsable(true)]
[TypeConverter(typeof(ExpandableObjectConverter))]
[PersistenceMode(PersistenceMode.InnerProperty)]
[SkinnableProperty]
public StyleGridLine MajorGridLines { get; }

ChartAxis major ticks style

C#
[TypeConverter(typeof(ExpandableObjectConverter))]
[SkinnableProperty]
public StyleTickMajor MajorTick { get; }

Minor Grid Lines options

C#
[Browsable(true)]
[TypeConverter(typeof(ExpandableObjectConverter))]
[PersistenceMode(PersistenceMode.InnerProperty)]
[SkinnableProperty]
public virtual StyleGridLine MinorGridLines { get; }

ChartAxis minor ticks style

C#
[TypeConverter(typeof(ExpandableObjectConverter))]
[SkinnableProperty]
public virtual StyleTickMinor MinorTick { get; }

Common axis items labels text blocks settings

C#
[TypeConverter(typeof(ExpandableObjectConverter))]
[Browsable(true)]
[PersistenceMode(PersistenceMode.InnerProperty)]
[SkinnableProperty]
public StyleAxisItemText TextAppearance { get; }

Specifies a predefined numerical format string.

C#
[Browsable(true)]
[PersistenceMode(PersistenceMode.Attribute)]
[SkinnableProperty]
public ChartValueFormat ValueFormat { get; set; }

Specifies the axis visibility option

C#
[Browsable(true)]
public ChartAxisVisibility Visible { get; set; }

Width

float

Specifies the width of the axis.

C#
[Browsable(true)]
[SkinnableProperty]
public override float Width { get; set; }

Overrides: StyleBorder.Width

Methods

Releases unmanaged and - optionally - managed resources

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

true to release both managed and unmanaged resources; false to release only unmanaged resources.

Overrides: StateManagedObject.Dispose(bool)

Load data from ViewState

C#
protected override void LoadViewState(object savedState)
Parameters:savedStateobject

ViewState with data

Overrides: StateManagedObject.LoadViewState(object)

Save data to ViewState

C#
protected override object SaveViewState()
Returns:

object

Saved data

Overrides: StateManagedObject.SaveViewState()

Track ViewState

C#
protected override void TrackViewState()

Overrides: StateManagedObject.TrackViewState()