Click or drag to resize

AxisX Methods

LightningChart .NET Help

The AxisX type exposes the following members.

Methods
  NameDescription
Public methodAxisValueToDateTime
Converts axis value to DateTime. The returned value uses value origin set by DateOrigin properties.
(Inherited from AxisBase.)
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 the specified object is equal to the current object.
(Inherited from Object.)
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 methodGetActiveAxisArea
Get active axis area.
(Inherited from AxisXYBase.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
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.
(Inherited from AxisXYBase.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
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.
(Inherited from AxisXYBase.)
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.
(Inherited from AxisXYBase.)
Public methodSetRange
Set axis range.
(Inherited from AxisBase.)
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
See Also