Click or drag to resize

AxisY Class

LightningChart .NET Help
Y-axis class.
Inheritance Hierarchy

Namespace:  Arction.Wpf.Charting.Axes
Assembly:  Arction.Wpf.Charting.LightningChart (in Arction.Wpf.Charting.LightningChart.dll) Version: 10.3.1
Syntax
[SerializableAttribute]
[TypeConverterAttribute(typeof(GeneralTypeConverter))]
public class AxisY : AxisXYBase

The AxisY type exposes the following members.

Constructors
  NameDescription
Public methodAxisY
Constructor for Form designer's list editor.
Public methodAxisY(ViewXY)
Constructor.
Public methodAxisY(ViewXY, Boolean)
Constructor.
Top
Properties
  NameDescription
Public propertyAlignment
Axis alignment from its calculated position.
Public propertyAllowAutoYFit
Allow automatic Y fitting.
Public propertyAllowScaling
Axis min and max values adjust by user. Draws scale nibs in the ends of the axis.
(Inherited from AxisXYBase.)
Public propertyAllowScrolling
Axis scrolling by user. Drag from axis line.
(Inherited from AxisXYBase.)
Public propertyAllowSeriesDragDrop
Allow series adding to this axis by dragging it from other axis of this chart or from another chart's axis. Once the drag drop operation is complete, the series is removed from the axis/chart where the drag begun and the series is assigned for the target axis.
(Inherited from AxisXYBase.)
Public propertyAllowUserInteraction
Gets or sets whether allow user interaction.
(Inherited from UserInteractiveObject.)
Public propertyAutoDivSeparationPercent
Labels gap in percents of their height when AutoDivSpacing is enabled.
(Inherited from AxisBase.)
Public propertyAutoDivSpacing
Automatic division spacing.
(Inherited from AxisBase.)
Public propertyAutoFormatLabels
Automatically determines number of decimals or time format.
(Inherited from AxisBase.)
Public propertyAxisColor
Axis line color.
(Inherited from AxisBase.)
Public propertyAxisThickness
Thickness of the axis line.
(Inherited from AxisBase.)
Public propertyCanFreeze
Gets a value that indicates whether the object can be made unmodifiable.
(Inherited from Freezable.)
Public propertyCustomTicks
Custom axis ticks. Allows uneven major division spacing and label text setting. Note that to see the ticks you must set CustomAxisTicksEnabled property to true.
(Inherited from AxisBase.)
Public propertyCustomTicksEnabled
Custom ticks on/off. Uses the ticks defined in CustomTicks property. If this is enabled, only major ticks are drawn, not minor.
(Inherited from AxisBase.)
Public propertyDateOriginDay
Date origin day. Keep this as close as possible to your actual first date. Applies when using DateTime formatted axis.
(Inherited from AxisBase.)
Public propertyDateOriginMonth
Date origin month. Keep this as close as possible to your actual first date. Applies when using DateTime formatted axis.
(Inherited from AxisBase.)
Public propertyDateOriginYear
Date origin year. Keep this as close as possible to your actual first date. Applies when using DateTime formatted axis.
(Inherited from AxisBase.)
Public propertyDateTimeRange
Gets or sets the string presentation of axis range. This property effects when ValueType is DateTime.
(Inherited from AxisBase.)
Public propertyDependencyObjectType
Gets the DependencyObjectType that wraps the CLR type of this instance. 
(Inherited from DependencyObject.)
Public propertyDispatcher
Gets the Dispatcher this DispatcherObject is associated with.
(Inherited from DispatcherObject.)
Public propertyDivisionReduction
Reduce divisions when Automatic division spacing is not set, and divisions get too close to each other.
(Inherited from AxisBase.)
Public propertyDragSnapToDiv
Axis scrolling or scaling snaps to divisions.
(Inherited from AxisXYBase.)
Public propertyExplicitAutoPlacementSide
Axis automatic location, when YAxisAutoPlacement is Explicit.
Public propertyGridStripColor
Grid strip color. Views AxisLayout.AxisGridStrips property must define the strips to be used in order for this color to have any effect.
(Inherited from AxisXYBase.)
Public propertyHighlight
Gets or sets highlight style. Item can be highlighted by user interactive device or by code.
(Inherited from HighlightingItemBase.)
Public propertyIsFrozen
Gets a value that indicates whether the object is currently modifiable.
(Inherited from Freezable.)
Public propertyIsSealed
Gets a value that indicates whether this instance is currently sealed (read-only).
(Inherited from DependencyObject.)
Public propertyKeepDivCountOnRangeChange
When true, keeps division count instead of division magnitude, when axis min or max is changed. When false, keeps division magnitude instead of count.
(Inherited from AxisBase.)
Public propertyLabelsAngle
Labels rotation angle, in degrees.
(Inherited from AxisBase.)
Public propertyLabelsColor
Labels color.
(Inherited from AxisBase.)
Public propertyLabelsFont
Labels font.
(Inherited from AxisBase.)
Public propertyLabelsNumberFormat
Labels number format, used when ValueType is 'Number'.
(Inherited from AxisBase.)
Public propertyLabelsTimeFormat
Labels number format, used when ValueType is 'Time'.
(Inherited from AxisBase.)
Public propertyLabelsVisible
Defines if labels are visible or not.
(Inherited from AxisBase.)
Public propertyLabelTicksGap
Gap between labels and ticks. Value is in pixels.
(Inherited from AxisXYBase.)
Public propertyLogBase
Logarithmic base. Applies only when ScaleType is set to Logarithmic.
(Inherited from AxisBase.)
Public propertyLogLabelsType
Logarithmic axis labels special formatting type.
(Inherited from AxisBase.)
Public propertyLogZeroClamp
Values below this limit will get this limit value when logarithmic presentation is used. This is needed to handle 0 and values below that.
(Inherited from AxisBase.)
Public propertyMajorDiv
Major tick interval (units / division).
(Inherited from AxisBase.)
Public propertyMajorDivCount
Major division count.
(Inherited from AxisBase.)
Public propertyMajorDivTickStyle
Major division ticks style.
(Inherited from AxisBase.)
Public propertyMajorGrid
Grid at major divisions.
(Inherited from AxisBase.)
Public propertyMaximum
Maximum axis value.
(Inherited from AxisBase.)
Public propertyMaximumDateTime
Maximum axis value. Use this property when axis' ValueType is DateTime.
(Inherited from AxisBase.)
Public propertyMinimum
Minimum axis value.
(Inherited from AxisBase.)
Public propertyMinimumDateTime
Minimum axis value. Use this property when X axis' ValueType is DateTime.
(Inherited from AxisBase.)
Public propertyMiniScale
Miniature scale symbol.
Public propertyMinorDivCount
Minor division count. The count of divisions inside a major division.
(Inherited from AxisBase.)
Public propertyMinorDivTickStyle
Minor division ticks style.
(Inherited from AxisBase.)
Public propertyMinorGrid
Grid at minor divisions.
(Inherited from AxisBase.)
Public propertyOwnerView
Owner view.
(Inherited from AxisXYBase.)
Public propertyPaletteSeries
Palette is retrieved from this series for Y value range.
Public propertyPanningEnabled
Panning is enabled.
(Inherited from AxisXYBase.)
Public propertyPosition
Y-axis placement as percents of the graph width. 0 sets the axis in left edge, 50 in the middle and 100 in right edge.
Public propertyPositionOffset
Position offset shifts the axis by pixel count set. It allows placing the axis for example outside the graph area, handy feature when you have many Y axis and you don't want them to overlap series data.
Public propertyRangeRevertEnabled
Range revert enabled. Disable this if you don't want the RangeRevert operation to effect this axis.
(Inherited from AxisXYBase.)
Public propertyRangeRevertMaximum
Range revert maximum. Sets axis Maximum to this value when Range revert operation is applied with mouse, or called by code.
(Inherited from AxisXYBase.)
Public propertyRangeRevertMinimum
Range revert minimum. Sets axis Minimum to this value when Range revert operation is applied with mouse, or called by code.
(Inherited from AxisXYBase.)
Public propertyReversed
Set true if you want to have low values higher and the high values lower on the graph.
(Inherited from AxisXYBase.)
Public propertyScaleNibs
Scale nib appearance.
(Inherited from AxisXYBase.)
Public propertyScaleType
Axis scale type.
(Inherited from AxisBase.)
Public propertySegmentIndex
Axis segment index.
Public propertyTitle
Axis title.
Public propertyUnits
Axis units.
Public propertyUsePalette
Use palette from referenced series for Y-axis coloring.
Public propertyValueType
Value type: time, numeric or coordinates.
(Inherited from AxisBase.)
Public propertyVisible
Defines if axis is visible or not.
(Inherited from AxisBase.)
Public propertyZoomingEnabled
Zooming is enabled.
(Inherited from AxisXYBase.)
Public propertyZoomOrigin
Gets or sets zoom origin.
(Inherited from AxisXYBase.)
Top
Methods
  NameDescription
Public methodAxisValueToDateTime
Converts axis value to DateTime. The returned value uses value origin set by DateOrigin properties.
(Inherited from AxisBase.)
Public methodClearValue(DependencyProperty)
Clears the local value of a property. The property to be cleared is specified by a DependencyProperty identifier.
(Inherited from DependencyObject.)
Public methodClearValue(DependencyPropertyKey)
Clears the local value of a read-only property. The property to be cleared is specified by a DependencyPropertyKey.
(Inherited from DependencyObject.)
Public methodClone
Creates a modifiable clone of the Freezable, making deep copies of the object's values. When copying the object's dependency properties, this method copies expressions (which might no longer resolve) but not animations or their current values.
(Inherited from Freezable.)
Public methodCloneCurrentValue
Creates a modifiable clone (deep copy) of the Freezable using its current values.
(Inherited from Freezable.)
Public methodCoerceValue
Coerces the value of the specified dependency property. This is accomplished by invoking any CoerceValueCallback function specified in property metadata for the dependency property as it exists on the calling DependencyObject.
(Inherited from DependencyObject.)
Public methodCoordsToValues
Convert screen coordinates to values.
Public methodCoordToValue
Convert screen coordinate to value.
Public methodDateTimeToAxisValue
Converts a DateTime object to value on this axis. The returned value uses value origin set by DateOrigin properties.
(Inherited from AxisBase.)
Public methodDispose
Release all resources used by this instance.
(Inherited from ChartNode.)
Public methodEquals
Determines whether a provided DependencyObject is equivalent to the current DependencyObject.
(Inherited from DependencyObject.)
Public methodFit(Double, Boolean, Boolean, Boolean)
Fit axis minimum and maxium to show all series values. Note that first argument's value type defines Margin's units (Pixels or Percents).
Public methodFit(Int32, Boolean, Boolean, Boolean)
Fit axis minimum and maxium to show all series values. Note that first argument's value type defines Margin's units (Pixels or Percents).
Public methodFit(Double, Boolean, Boolean, Boolean, Double, Double)
Fit axis minimum and maximum to show all series values, while keeping the range withing given limits. Note that first argument's value type defines Margin's units (Pixels or Percents).
Public methodFit(Int32, Boolean, Boolean, Boolean, Double, Double)
Fit axis minimum and maximum to show all series values, while keeping the range withing given limits. Note that first argument's value type defines Margin's units (Pixels or Percents).
Public methodFormatAxisValue
Format axis value to string.
(Inherited from AxisBase.)
Public methodFreeze
Makes the current object unmodifiable and sets its IsFrozen property to true.
(Inherited from Freezable.)
Public methodGetActiveAxisArea
Get active axis area.
(Inherited from AxisXYBase.)
Public methodGetAsFrozen
Creates a frozen copy of the Freezable, using base (non-animated) property values. Because the copy is frozen, any frozen sub-objects are copied by reference.
(Inherited from Freezable.)
Public methodGetBarsMinMaxOfThisYAxis
Get bar series minimum and maximum value, bound to this Y axis. If stacked bar view is used, returns the highest stack sum.
Public methodGetCurrentValueAsFrozen
Creates a frozen copy of the Freezable using current property values. Because the copy is frozen, any frozen sub-objects are copied by reference.
(Inherited from Freezable.)
Public methodGetGraphSegmentTopAndHeight
Gets the axis graph segment top and height in pixels.
Public methodGetHashCode
Gets a hash code for this DependencyObject.
(Inherited from DependencyObject.)
Public methodGetLabelsFormat
Get last used label format string. "E" is for 10 base log. "e" is for Neper base log. "" is for custom label format (unknown for chart). Consider using String.Format(returned format string) to format values.
(Inherited from AxisBase.)
Public methodGetLocalValueEnumerator
Creates a specialized enumerator for determining which dependency properties have locally set values on this DependencyObject.
(Inherited from DependencyObject.)
Public methodGetMajorTicks
Get major ticks for current axis range.
(Inherited from AxisXYBase.)
Public methodGetSeriesMinMax
Get minimum and maximum of all series that are using this axis.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetValue
Returns the current effective value of a dependency property on this instance of a DependencyObject.
(Inherited from DependencyObject.)
Public methodInvalidateCustomTicks
Sets new custom ticks to take effect instantly. Call this after you have added the ticks in code.
(Inherited from AxisBase.)
Public methodInvalidateProperty
Re-evaluates the effective value for the specified dependency property
(Inherited from DependencyObject.)
Public methodIsHighlighted
returns true if the object is highlighted.
(Inherited from HighlightingItemBase.)
Public methodIsPositionOver
Defines if mouse is over an item.
(Inherited from AxisXYBase.)
Public methodReadLocalValue
Returns the local value of a dependency property, if it exists.
(Inherited from DependencyObject.)
Public methodRemoveHighlight
Removes forced highlighting.
(Inherited from HighlightingItemBase.)
Public methodSetCurrentValue
Sets the value of a dependency property without changing its value source.
(Inherited from DependencyObject.)
Public methodSetDateOrigin
Set DateOriginYear, DateOriginMonth and DateOriginDay all at same time.
(Inherited from AxisBase.)
Public methodSetDateTimeRange
Set date time range. This effects when ValueType is DateTime.
(Inherited from AxisBase.)
Public methodSetHighlight
Highlights the object.

This is a kind of "forced" highlight, and the object might be highlighted even if the highlighting type (defined by Highlight property) is set to None. How the highlighting happens, if any, depends on object. Most objects use the defined type by default, and fall back to Simple highlighting if None is set.

(Inherited from HighlightingItemBase.)
Public methodSetProperCursor
Set proper cursor. Default for dragging is hand and for resize SizeAll.
(Inherited from AxisXYBase.)
Public methodSetRange
Set axis range.
(Inherited from AxisBase.)
Public methodSetValue(DependencyProperty, Object)
Sets the local value of a dependency property, specified by its dependency property identifier.
(Inherited from DependencyObject.)
Public methodSetValue(DependencyPropertyKey, Object)
Sets the local value of a read-only dependency property, specified by the DependencyPropertyKey identifier of the dependency property.
(Inherited from DependencyObject.)
Public methodStoreRangeRevertValues
Store Revert values, minimum and maximum at same time.
(Inherited from AxisXYBase.)
Public methodTimeString
Converts time value to string by given format. Handles also negative values and formats having more than three second fractions.
(Inherited from AxisBase.)
Public methodToString
Converts object to string representation.
(Overrides HighlightingItemBaseToString.)
Public methodValuesToCoords
Convert values to Y-coordinates.
Public methodValueToCoord
Convert value to Y-coordinate.
Top
Events
  NameDescription
Public eventChanged
Occurs when the Freezable or an object it contains is modified.
(Inherited from Freezable.)
Public eventFormatValueLabel
Event to format axis tick value to custom string.
(Inherited from AxisBase.)
Public eventHighlightedStateChanged
Event telling that highlighted state has changed. Contains information of the new state.
(Inherited from HighlightingItemBase.)
Public eventMouseClick
Mouse button has been clicked.
(Inherited from UserInteractiveObject.)
Public eventMouseDoubleClick
Mouse button has been doubleclicked.
(Inherited from UserInteractiveObject.)
Public eventMouseDown
Mouse button has been pressed down.
(Inherited from UserInteractiveObject.)
Public eventMouseOverOff
Mouse has been moved outside of object.
(Inherited from UserInteractiveObject.)
Public eventMouseOverOn
Mouse has been moved over object.
(Inherited from UserInteractiveObject.)
Public eventMouseUp
Mouse button has been released.
(Inherited from UserInteractiveObject.)
Public eventRangeChanged
Range has changed (Minimum and/or Maximum value).
(Inherited from AxisBase.)
Top
Fields
  NameDescription
Public fieldTag
Tag. Freely assignable object.
(Inherited from UserInteractiveObjectInt.)
Top
See Also