New to Telerik ReportingStart a free 30-day trial

Represents a chart Y Axis.

Definition

Namespace:Telerik.Reporting.Charting

Assembly:Telerik.Reporting.dll

Syntax:

C#
public class ChartYAxis : ChartAxis, IChartingStateManagedItem, IChartingStateManager, IOrdering

Inheritance: objectStateManagedObjectRenderedObjectChartAxisChartYAxis

Implements: IChartingStateManagedItemIChartingStateManagerIOrdering

Inherited Members ChartAxis.chartAxisAppearanceChartAxis.chartAxisLabelChartAxis.chartAxisItemsChartAxis.chartAxisParentChartAxis.chartAxisRealIsZeroBasedChartAxis.chartAxisMinItemValueChartAxis.chartAxisMaxItemValueChartAxis.chartAxisMinAxisValueChartAxis.chartAxisMaxAxisValueChartAxis.chartAxisPointStartChartAxis.chartAxisPointEndChartAxis.pixelsPerValueChartAxis.zeroCoordChartAxis.GetDistance(PointF, PointF)ChartAxis.DisableCachedValues()ChartAxis.SetMinValue(double)ChartAxis.ShouldSerializeMinValue()ChartAxis.ResetMinValue()ChartAxis.ShouldSerializeMaxValue()ChartAxis.ResetMaxValue()ChartAxis.SetMaxValue(double)ChartAxis.ShouldSerializeStep()ChartAxis.ResetStep()ChartAxis.AutoCalcAxisExtents()ChartAxis.AddItem(ChartAxisItem, params ChartAxisItem[])ChartAxis.AddItem(ChartAxisItemsCollection)ChartAxis.AddItem(ChartAxisItem[])ChartAxis.AddItem(List<ChartAxisItem>)ChartAxis.GetItem(int)ChartAxis.RemoveAllItems()ChartAxis.RemoveItem(ChartAxisItem, params ChartAxisItem[])ChartAxis.RemoveItem(int, params int[])ChartAxis.RemoveItem(int)ChartAxis.RemoveLastItem()ChartAxis.Clear()ChartAxis.AddRange(double, double, double)ChartAxis.AddItem(string, Color)ChartAxis.AddItem(string, Color, bool)ChartAxis.SetItemLabel(int, string)ChartAxis.SetItemLabel(int, ChartAxisItem)ChartAxis.SetItemColor(int, Color)ChartAxis.Dispose(bool)ChartAxis.VisibleChartAxis.this[int]ChartAxis.AutoScaleChartAxis.AppearanceChartAxis.AxisLabelChartAxis.ParentChartAxis.IsZeroBasedChartAxis.MaxItemsCountChartAxis.VisibleValuesChartAxis.LabelStepChartAxis.ItemsRenderedObject.objectContainerRenderedObject.GetOrder()RenderedObject.SetOrder(int)RenderedObject.Remove()RenderedObject.BringForward()RenderedObject.BringToFront()RenderedObject.SendBackward()RenderedObject.SendToBack()RenderedObject.ContainerStateManagedObject.CloneState()StateManagedObject.SetDirty()StateManagedObject.Dispose()StateManagedObject.ViewStateIgnoresCase...

Constructors

Creates a new instance of the ChartYAxis class.

C#
public ChartYAxis(ChartPlotArea parent, ChartYAxisType type)
Parameters:parentChartPlotAreatypeChartYAxisType

Properties

Gets or sets the style of the Y axis.

C#
[Browsable(true)]
public ChartYAxisMode AxisMode { get; set; }

Use Logarithmic scale or not.

C#
[Browsable(true)]
public bool IsLogarithmic { get; set; }

Logarithm base. Min possible value is 2

C#
[Browsable(true)]
public double LogarithmBase { get; set; }

MaxValue

double

Specifies the max value of the axis range.

C#
[Browsable(true)]
[PersistenceMode(PersistenceMode.Attribute)]
public override double MaxValue { get; set; }

Overrides: ChartAxis.MaxValue

MinValue

double

Specifies the min value of the axis range.

C#
[Browsable(true)]
[PersistenceMode(PersistenceMode.Attribute)]
public override double MinValue { get; set; }

Overrides: ChartAxis.MinValue

Scale breaks settings

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

Segments collection

C#
[Browsable(false)]
public AxisSegmentCollection Segments { get; }

Step

double

Specifies the step at which axis values are calculated

C#
[Browsable(true)]
[PersistenceMode(PersistenceMode.Attribute)]
public override double Step { get; set; }

Overrides: ChartAxis.Step

Defines a type of YAxis

C#
[Browsable(false)]
public ChartYAxisType YAxisType { get; set; }

Methods

Gets the end value coordinate

C#
protected override float GetAxisEndCoord()
Returns:

float

Coordinate

Overrides: ChartAxis.GetAxisEndCoord()

Gets the start value coordinate

C#
protected override float GetAxisStartCoord()
Returns:

float

Coordinate

Overrides: ChartAxis.GetAxisStartCoord()

Loads Y axis settings from view state

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

View state

Overrides: ChartAxis.LoadViewState(object)

Saves axis settings to a state bag

C#
protected override object SaveViewState()
Returns:

object

Overrides: ChartAxis.SaveViewState()

Tracks view state changes

C#
protected override void TrackViewState()

Overrides: ChartAxis.TrackViewState()