Click or drag to resize

AxisBase Methods

LightningChart .NET Help

The AxisBase type exposes the following members.

Methods
  NameDescription
Public methodAxisValueToDateTime
Converts axis value to DateTime. The returned value uses value origin set by DateOrigin properties.
Public methodStatic memberCalculateUserFriendlyScaleRange
Calculates user friendly scale range. Fits the decimals so that they got values of 1, 2 and 5.
Public methodDateTimeToAxisValue
Converts a DateTime object to value on this axis. The returned value uses value origin set by DateOrigin properties.
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 methodFormatAxisValue
Format axis value to string.
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.
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.
Public methodIsHighlighted
returns true if the object is highlighted.
(Inherited from HighlightingItemBase.)
Public methodIsPositionOver
Defines if position is over an item.
(Inherited from UserInteractiveObject.)
Public methodRemoveHighlight
Removes forced highlighting.
(Inherited from HighlightingItemBase.)
Public methodSetDateOrigin
Set DateOriginYear, DateOriginMonth and DateOriginDay all at same time.
Public methodSetDateTimeRange
Set date time range. This effects when ValueType is DateTime.
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 drag cursor. Default is hand.
(Inherited from UserInteractiveObject.)
Public methodSetRange
Set axis range.
Public methodTimeString
Converts time value to string by given format. Handles also negative values and formats having more than three second fractions.
Public methodToString
Item to string.
(Inherited from HighlightingItemBase.)
Top
See Also