Class
ChartYAxis

Represents a chart Y Axis.

Definition

Namespace:Telerik.Charting

Assembly:Telerik.WinControls.RadChart.dll

Syntax:

cs-api-definition
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.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.ViewStateIgnoresCase

Constructors

ChartYAxis(ChartPlotArea, ChartYAxisType)

Creates a new instance of the ChartYAxis class.

Declaration

cs-api-definition
public ChartYAxis(ChartPlotArea parent, ChartYAxisType type)

Parameters

parent

ChartPlotArea

type

ChartYAxisType

Properties

AxisMode

Gets or sets the style of the Y axis.

Declaration

cs-api-definition
[Browsable(true)]
public ChartYAxisMode AxisMode { get; set; }

Property Value

ChartYAxisMode

IsLogarithmic

Use Logarithmic scale or not.

Declaration

cs-api-definition
[Browsable(true)]
public bool IsLogarithmic { get; set; }

Property Value

bool

LogarithmBase

Logarithm base. Min possible value is 2

Declaration

cs-api-definition
[Browsable(true)]
public double LogarithmBase { get; set; }

Property Value

double

MaxValue

Specifies the max value of the axis range.

Declaration

cs-api-definition
[Browsable(true)]
public override double MaxValue { get; set; }

Property Value

double

Overrides ChartAxis.MaxValue

MinValue

Specifies the min value of the axis range.

Declaration

cs-api-definition
[Browsable(true)]
public override double MinValue { get; set; }

Property Value

double

Overrides ChartAxis.MinValue

ScaleBreaks

Scale breaks settings

Declaration

cs-api-definition
[Browsable(true)]
[TypeConverter(typeof(ExpandableObjectConverter))]
[SkinnableProperty]
public ScaleBreak ScaleBreaks { get; }

Property Value

ScaleBreak

Segments

Segments collection

Declaration

cs-api-definition
[Browsable(false)]
public AxisSegmentCollection Segments { get; }

Property Value

AxisSegmentCollection

Step

Specifies the step at which axis values are calculated

Declaration

cs-api-definition
[Browsable(true)]
public override double Step { get; set; }

Property Value

double

Overrides ChartAxis.Step

YAxisType

Defines a type of YAxis

Declaration

cs-api-definition
[Browsable(false)]
public ChartYAxisType YAxisType { get; set; }

Property Value

ChartYAxisType

Methods

GetAxisEndCoord()

Gets the end value coordinate

Declaration

cs-api-definition
protected override float GetAxisEndCoord()

Returns

float

Coordinate

Overrides ChartAxis.GetAxisEndCoord()

GetAxisStartCoord()

Gets the start value coordinate

Declaration

cs-api-definition
protected override float GetAxisStartCoord()

Returns

float

Coordinate

Overrides ChartAxis.GetAxisStartCoord()

LoadViewState(object)

Loads Y axis settings from view state

Declaration

cs-api-definition
protected override void LoadViewState(object savedState)

Parameters

savedState

object

View state

Overrides ChartAxis.LoadViewState(object)

SaveViewState()

Saves axis settings to a state bag

Declaration

cs-api-definition
protected override object SaveViewState()

Returns

object

Overrides ChartAxis.SaveViewState()

TrackViewState()

Tracks view state changes

Declaration

cs-api-definition
protected override void TrackViewState()

Overrides ChartAxis.TrackViewState()