Click or drag to resize

AxisXYBase Class

LightningChart .NET Help
XY view axis base class.
Inheritance Hierarchy

Namespace: LightningChartLib.UWP.ChartingMVVM.Axes
Assembly: LightningChart.UWP.ChartingMVVM (in LightningChart.UWP.ChartingMVVM.dll) Version: 11.0.1
XMLNS for XAML: Not mapped to an xmlns.
Syntax
[SerializableAttribute]
[TypeConverterAttribute(typeof(GeneralTypeConverter))]
public class AxisXYBase : AxisBase

The AxisXYBase type exposes the following members.

Properties
 NameDescription
Public propertyAllowScaling Gets or sets if axis min and max values can be adjusted by user. Draws scale nibs in the ends of the axis. 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.
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.
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 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 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.
Public propertyEndPointLabelsVisible Gets or sets end point labels visibility. This is a dependency property.
Public propertyEndPointMajorTickThreshold Gets or sets the number of major ticks that must be visible before end point labels are hidden. -1 means end point labels will be visible regardless of how many major ticks are visible.
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.
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 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 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.
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 propertyPanningEnabled Gets or sets if panning is enabled. This is a dependency property.
Public propertyPreferEndPointLabelsOverNearbyMajorTick Gets or sets end point labels visible preference over nearby major tick. This is a dependency property.
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.
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.
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.
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.
Public propertyScaleNibs Gets or sets scale nib appearance. This is a dependency property.
Public propertyScaleType Gets or sets axis scale type. This is a dependency property.
(Inherited from AxisBase)
Public propertyValueType Gets or sets value type: time, numeric or coordinates. This is a dependency property.
(Inherited from AxisBase)
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.
Public propertyZoomOrigin Gets or sets zoom origin. This is a dependency property.
Top
Methods
 NameDescription
Public methodAxisValueToDateTime Converts axis value to DateTime. The returned value uses value origin set by DateOrigin properties.
(Inherited from AxisBase)
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 methodFormatAxisValue Format axis value to string.
(Inherited from AxisBase)
Public methodGetActiveAxisArea Get active axis area (in PX).
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 methodGetMajorTicks Get major ticks for current axis range.
Public methodInvalidateCustomTicks Sets new custom ticks to take effect instantly. Call this after you have added the ticks in code.
(Inherited from AxisBase)
Public methodIsHighlighted returns true if the object is highlighted.
(Inherited from HighlightingItemBase)
Public methodIsPositionOver Defines if mouse is over an item.
(Overrides UserInteractiveObjectIsPositionOver(Int32, Int32, Boolean))
Public methodRemoveHighlight Removes forced highlighting.
(Inherited from HighlightingItemBase)
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.
(Overrides UserInteractiveObjectSetProperCursor)
Public methodSetRange Set axis range.
(Inherited from AxisBase)
Public methodStoreRangeRevertValues Store Revert values, minimum and maximum at same time.
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 Item to string.
(Inherited from HighlightingItemBase)
Top
Events
 NameDescription
Public eventDoubleTapped Item has been doubletapped.
(Inherited from UserInteractiveObject)
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 eventPointerEntered Pointer has been moved over object.
(Inherited from UserInteractiveObject)
Public eventPointerExited Pointer has been moved outside of object.
(Inherited from UserInteractiveObject)
Public eventPointerPressed Pointer has been pressed down.
(Inherited from UserInteractiveObject)
Public eventPointerReleased Pointer has been released.
(Inherited from UserInteractiveObject)
Public eventRangeChanged Range has changed (Minimum and/or Maximum value).
(Inherited from AxisBase)
Public eventTapped Item has been tapped.
(Inherited from UserInteractiveObject)
Public eventValueChangedInternallyEvent Value has changed internally by chart or by user manipulation of chart object.
(Inherited from ChartNode)
Top
Fields
 NameDescription
Public fieldStatic memberAllowScalingProperty Identifies the AllowScaling dependency property.
Public fieldStatic memberAllowScrollingProperty Identifies the AllowScrolling dependency property.
Public fieldStatic memberAllowSeriesDragDropProperty Identifies the AllowSeriesDragDrop dependency property.
Public fieldStatic memberDragSnapToDivProperty Identifies the DragSnapToDiv dependency property.
Public fieldStatic memberEndPointLabelsVisibleProperty Identifies the EndPointLabelsVisible dependency property.
Public fieldStatic memberEndPointMajorTickThresholdProperty Identifies the EndPointMajorTickThreshold dependency property.
Public fieldStatic memberGridStripColorProperty Identifies the GridStripColor dependency property.
Public fieldStatic memberLabelTicksGapProperty Identifies the LabelTicksGap dependency property.
Public fieldStatic memberPanningEnabledProperty Identifies the PanningEnabled dependency property.
Public fieldStatic memberPreferEndPointLabelsOverNearbyMajorTickProperty Identifies the PreferEndPointLabelsOverNearbyMajorTick dependency property.
Public fieldStatic memberRangeRevertEnabledProperty Identifies the RangeRevertEnabled dependency property.
Public fieldStatic memberRangeRevertMaximumProperty Identifies the RangeRevertMaximum dependency property.
Public fieldStatic memberRangeRevertMinimumProperty Identifies the RangeRevertMinimum dependency property.
Public fieldStatic memberReversedProperty Identifies the Reversed dependency property.
Public fieldStatic memberScaleNibsProperty Identifies the ScaleNibs dependency property.
Public fieldTag Tag. Freely assignable object.
(Inherited from UserInteractiveObjectInt)
Public fieldStatic memberZoomingEnabledProperty Identifies the ZoomingEnabled dependency property.
Public fieldStatic memberZoomOriginProperty Identifies the ZoomOrigin dependency property.
Top
See Also