Click or drag to resize

AxisX Class

LightningChart .NET Help
X axis class
Inheritance Hierarchy

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

The AxisX type exposes the following members.

Constructors
  NameDescription
Public methodAxisX
Constructor for Form designer's list editor
Public methodAxisX(ViewXY)
Constructor
Top
Properties
  NameDescription
Public propertyAllowScaling
Gets or sets if axis min and max values can be adjusted by user. This is a dependency property.
Public propertyAllowScrolling
Gets or sets if axis scrolling is allowed by mouse. Drag from axis line. This is a dependency property.
(Inherited from AxisXYBase.)
Public propertyAllowSeriesDragDrop
Gets or sets if 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. This is a dependency property.
(Inherited from AxisXYBase.)
Public propertyAllowUserInteraction
Gets or sets if user interaction is allowed. This is a dependency property.
(Inherited from UserInteractiveObject.)
Public propertyAutoDivSeparationPercent
Gets or sets labels gap in percents of their height when AutoDivSpacing is enabled. This is a dependency property.
(Inherited from AxisBase.)
Public propertyAutoDivSpacing
Gets or sets automatic division spacing. This is a dependency property.
(Inherited from AxisBase.)
Public propertyAutoFormatLabels
Gets or sets if automatically determines number of decimals or time format. This is a dependency property.
(Inherited from AxisBase.)
Public propertyAxisColor
Gets or sets axis line color. This is a dependency property.
(Inherited from AxisBase.)
Public propertyAxisThickness
Gets or sets thickness of the axis line. This is a dependency property.
(Inherited from AxisBase.)
Public propertyCanFreeze
Gets a value that indicates whether the object can be made unmodifiable.
(Inherited from Freezable.)
Public propertyCustomTicks
Gets or sets 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. This is a dependency property.
(Inherited from AxisBase.)
Public propertyCustomTicksEnabled
Gets or sets custom ticks on/off. Uses the ticks defined in CustomTicks property. This is a dependency property. If this is enabled, only major ticks are drawn, not minor.
(Inherited from AxisBase.)
Public propertyDateOriginDay
Gets or sets date origin day. Keep this as close as possible to your actual first date. This is a dependency property. Applies when using DateTime formatted axis.
(Inherited from AxisBase.)
Public propertyDateOriginMonth
Gets or sets date origin month. Keep this as close as possible to your actual first date. This is a dependency property. Applies when using DateTime formatted axis.
(Inherited from AxisBase.)
Public propertyDateOriginYear
Gets or sets date origin year. Keep this as close as possible to your actual first date. This is a dependency property. Applies when using DateTime formatted axis.
(Inherited from AxisBase.)
Public propertyDateTimeRange
Gets or sets the string presentation of axis range. This property is affects when ValueType is DateTime. This is a dependency property.
(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
Gets or sets if divisions are reduced, when Automatic division spacing is not set, and divisions get too close to each other. This is a dependency property.
(Inherited from AxisBase.)
Public propertyDragSnapToDiv
Gets or sets if axis scrolling or scaling snaps to divisions. This is a dependency property.
(Inherited from AxisXYBase.)
Public propertyExplicitAutoPlacementSide
Axis automatic location, when XAxisAutoPlacement is Explicit. This is a dependency property.
Public propertyGridSegmentIndex
Gets or sets the index of a segment to clip the grid dependency property. This is a dependency property.
Public propertyGridStripColor
Gets or sets grid strip color. Views AxisLayout.AxisGridStrips property must define the strips to be used in order for this color to have any effect. This is a dependency property.
(Inherited from AxisXYBase.)
Public propertyHighlight
Gets or sets highlight style. Item can be highlighted by user interactive device or by code. This is a dependency property.
(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
Gets or sets if division count prefer magnitude. This is a dependency property. When true, keeps division count instead of division magnitude, when axis min or max is changed. When false, keeps division magnitude instead instead of count.
(Inherited from AxisBase.)
Public propertyLabelsAngle
Gets or sets labels rotation angle, in degrees. This is a dependency property.
(Inherited from AxisBase.)
Public propertyLabelsColor
Gets or sets labels color. This is a dependency property.
(Inherited from AxisBase.)
Public propertyLabelsFont
Gets or sets labels font. This is a dependency property.
(Inherited from AxisBase.)
Public propertyLabelsNumberFormat
Gets or sets labels number format, used when ValueType is 'Number'. This is a dependency property.
(Inherited from AxisBase.)
Public propertyLabelsPosition
Gets or sets labels position. This is a dependency property.
Public propertyLabelsTimeFormat
Gets or sets labels number format, used when ValueType is 'Time'. This is a dependency property.
(Inherited from AxisBase.)
Public propertyLabelsVisible
Gets or sets labels visibility. This is a dependency property.
(Inherited from AxisBase.)
Public propertyLabelTicksGap
Gets or sets gap between labels and ticks. Value in in pixels. This is a dependency property.
(Inherited from AxisXYBase.)
Public propertyLogBase
Gets or sets logarithmic base. Applies only when ScaleType is set to Logarithmic. This is a dependency property.
(Inherited from AxisBase.)
Public propertyLogLabelsType
Gets or sets logarithmic axis labels special formatting type. This is a dependency property.
(Inherited from AxisBase.)
Public propertyLogZeroClamp
Gets or sets zero clamp value. Values below this limit will get this limit value when logarithmic presentation is used. This is needed to handle 0 and values below that. This is a dependency property.
(Inherited from AxisBase.)
Public propertyMajorDiv
Gets or sets major tick interval (units / division). This is a dependency property.
(Inherited from AxisBase.)
Public propertyMajorDivCount
Gets or sets major division count. This is a dependency property.
(Inherited from AxisBase.)
Public propertyMajorDivTickStyle
Gets or sets major division ticks style. This is a dependency property.
(Inherited from AxisBase.)
Public propertyMajorGrid
Gets or sets grid at major divisions. This is a dependency property.
(Inherited from AxisBase.)
Public propertyMaximum
Gets or sets maximum axis value. This is a dependency property.
(Inherited from AxisBase.)
Public propertyMaximumDateTime
Gets or sets maximum axis value. Use this property when axis' ValueType is DateTime. This is a dependency property.
(Inherited from AxisBase.)
Public propertyMinimum
Gets or sets minimum axis value. This is a dependency property.
(Inherited from AxisBase.)
Public propertyMinimumDateTime
Gets or sets minimum axis value. Use this property when axis' ValueType is DateTime. This is a dependency property.
(Inherited from AxisBase.)
Public propertyMinorDivCount
Gets or sets minor division count. The count of divisions inside a major division. This is a dependency property.
(Inherited from AxisBase.)
Public propertyMinorDivTickStyle
Gets or sets minor division ticks style. This is a dependency property.
(Inherited from AxisBase.)
Public propertyMinorGrid
Gets or sets grid at minor divisions. This is a dependency property.
(Inherited from AxisBase.)
Public propertyOwnerView
Gets owner view.
(Inherited from AxisXYBase.)
Public propertyPanningEnabled
Gets or sets if panning is enabled. This is a dependency property.
(Inherited from AxisXYBase.)
Public propertyPosition
Gets or sets axis placement as percents of the graph height. This is a dependency property. 0 sets the axis in top edge, 50 in the middle and 100 in bottom edge.
Public propertyRangeRevertEnabled
Gets or sets range revert state. Disable this if you don't want the RangeRevert operation to effect this axis. This is a dependency property.
(Inherited from AxisXYBase.)
Public propertyRangeRevertMaximum
Gets or sets range revert maximum. Sets axis Maximum to this value when Range revert operation is applied with mouse, or called by code. This is a dependency property.
(Inherited from AxisXYBase.)
Public propertyRangeRevertMinimum
Gets or sets range revert minimum. Sets axis Minimum to this value when Range revert operation is applied with mouse, or called by code. This is a dependency property.
(Inherited from AxisXYBase.)
Public propertyReversed
Gets or sets axis reversed. Set true if you want to have low values higher and the high values lower on the graph. This is a dependency property.
(Inherited from AxisXYBase.)
Public propertyScaleBreaks
Gets or sets ScaleBreaks. This is a dependency property.
Public propertyScaleNibs
Gets or sets scale nib appearance. This is a dependency property.
(Inherited from AxisXYBase.)
Public propertyScaleType
Gets or sets axis scale type. This is a dependency property.
(Inherited from AxisBase.)
Public propertyScrollingGap
Gets or sets scrolling gap, percents of graph width. This is a dependency property. Used when ScrollType is set to Scrolling. If this set to 0, scrolling occurs when scroll position reaches end of the X-axis. Valid range is 0...90 %
Public propertyScrollMode
Gets or sets scroll mode. This is a dependency property. In real-time monitoring, set 'Scrolling', 'Sweeping' or 'Stepping', and give current monitoring position via ScrollPosition property. If not real-time monitoring, but displaying data normally, you should set this to 'None'.
Public propertyScrollPosition
Gets or sets current real-time scrolling position, in X axis values. This is a dependency property. This is intended to be updated by the real-time monitoring process.
Public propertySteppingInterval
Gets or sets stepping interval. This is a dependency property. Used when ScrollType is set to Stepping Current scrolling position, in number values (ValueType = Number) or seconds (ValueType = Time)
Public propertySweepingGap
Gets or sets sweeping gap, percents of graph width. This is a dependency property. Used when ScrollType is set to Sweeping Valid range is 0...20 %
Public propertyTitle
Gets or sets axis title. This is a dependency property.
Public propertyTriggering
Gets or sets triggering options. Used when ScrollMode is 'Triggered'. This is a dependency property.
Public propertyUnits
Gets or sets axis units. This is a dependency property.
Public propertyValueType
Gets or sets value type: time, numeric or coordinates. This is a dependency property.
(Inherited from AxisBase.)
Public propertyVerticalAlign
Gets or sets axis alignment from its calculated position. This is a dependency property.
Public propertyVisible
Gets or sets axis visibility. This is a dependency property.
(Inherited from AxisBase.)
Public propertyZoomingEnabled
Gets or sets if zooming is enabled. This is a dependency property.
(Inherited from AxisXYBase.)
Public propertyZoomOrigin
Gets or sets zoom origin. This is a dependency property.
(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 X screen coordinates to values on X axis.
Public methodCoordToValue
Convert X screen coordinate (in DIPs or PX) to value on X axis.
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
Modifies the axis ranges so that all the data fits into the view.
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 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 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 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
Converts X value to screen coordinates
Public methodValueToCoord
Converts X value to screen coordinate
Public methodValueToCoordD
Converts X value to screen coordinate. Version that returns double instead of float.
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 fieldStatic memberAllowScalingProperty
Identifies the AllowScaling dependency property.
Public fieldStatic memberGridSegmentIndexProperty
Identify the index of a segment to clip the grid dependency property.
Public fieldStatic memberLabelsPositionProperty
Identifies the LabelsPosition dependency property.
Public fieldStatic memberPositionProperty
Identifies the Position dependency property.
Public fieldStatic memberScaleBreaksProperty
Identify the ScaleBreaks dependency property.
Public fieldStatic memberScrollingGapProperty
Identifies the ScrollingGap dependency property.
Public fieldStatic memberScrollModeProperty
Identifies the ScrollMode dependency property.
Public fieldStatic memberScrollPositionProperty
Identifies the ScrollPosition dependency property.
Public fieldStatic memberSteppingIntervalProperty
Identifies the SteppingInterval dependency property.
Public fieldStatic memberSweepingGapProperty
Identifies the SweepingGap dependency property.
Public fieldTag
Tag. Freely assignable object.
(Inherited from UserInteractiveObjectInt.)
Public fieldStatic memberTitleProperty
Identifies the Title dependency property.
Public fieldStatic memberTriggeringProperty
Identifies the Triggering dependency property.
Public fieldStatic memberUnitsProperty
Identifies the Units dependency property.
Public fieldStatic memberVerticalAlignProperty
Identifies the VerticalAlign dependency property.
Public fieldStatic memberXAxisExplicitAutoPlacementSideProperty
Identifies the XAxisExplicitAutoPlacementSide dependency property.
Top
See Also