Click or drag to resize

ConstantLine Class

LightningChart .NET Help
Constant line is a horizontal line attached to a Y-axis value. It is drawn from left to right having full width of the graph.
Inheritance Hierarchy

Namespace:  Arction.Wpf.ChartingMVVM.SeriesXY
Assembly:  Arction.Wpf.ChartingMVVM.LightningChart (in Arction.Wpf.ChartingMVVM.LightningChart.dll) Version: 10.3.1
Syntax
[SerializableAttribute]
public class ConstantLine : SeriesBaseXY

The ConstantLine type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyAllowMoveByUser
Gets or sets if allows user to move the band. Move the band by dragging the band anywhere but not from its edge. This is a dependency property.
Public propertyAllowUserInteraction
Gets or sets if user interaction is allowed. This is a dependency property.
(Inherited from UserInteractiveObject.)
Public propertyAssignXAxisIndex
Gets or sets index of X axis assigned to this series. Give -1 when you don't want to assign it yet to any X axis. This is a dependency property.
(Inherited from SeriesBaseXY.)
Public propertyAssignYAxisIndex
Gets or sets index of Y axis assigned to this series. Give -1 when you don't want to assign it yet to any Y axis. This is a dependency property.
(Inherited from SeriesBaseXY.)
Public propertyBehind
Gets or sets is the constant line behind lineseries or on front of it. This is a dependency property.
Public propertyCanFreeze
Gets a value that indicates whether the object can be made unmodifiable.
(Inherited from Freezable.)
Public propertyDependencyObjectType
Gets the DependencyObjectType that wraps the CLR type of this instance. 
(Inherited from DependencyObject.)
Public propertyDisableDragToAnotherAxis
Gets or sets if disable dragging from Y axis to another Y axis or from chart to another chart. This is a dependency property. Set this true if you want to zoom in the series area, and keep other user interactive device interactivity features available.
(Inherited from SeriesBaseXY.)
Public propertyDispatcher
Gets the Dispatcher this DispatcherObject is associated with.
(Inherited from DispatcherObject.)
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 propertyIncludeInAutoFit
Gets or sets if includes series values in automatic fit. This is a dependency property.
(Inherited from SeriesBaseXY.)
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 propertyLegendBoxIndex
Gets or sets legendbox index. This is a dependency property.
(Inherited from SeriesBaseXY.)
Public propertyLimitYToStackSegment
Gets or sets if limit Y draw range to segment area when y-axes are stacked. This is a dependency property.
(Inherited from SeriesBaseXY.)
Public propertyLineStyle
Gets or sets line style. This is a dependency property.
Public propertyOwnerView
Owner view.
(Inherited from SeriesBaseXY.)
Public propertyShowInLegendBox
Gets or sets if enlists the series title text in Legend box of the chart. This is a dependency property.
(Inherited from SeriesBaseXY.)
Public propertyTitle
Gets or sets series title. This is a dependency property.
Public propertyValue
Gets or sets constant line value. This is a dependency property.
Public propertyVisible
Gets or sets series visible state. This is a dependency property.
(Inherited from SeriesBaseXY.)
Top
Methods
  NameDescription
Public methodClear
Does nothing on this series type.
(Overrides SeriesBaseXYClear.)
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 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 methodFreeze
Makes the current object unmodifiable and sets its IsFrozen property to true.
(Inherited from Freezable.)
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 methodGetClipAreas
Get clipping areas.
(Inherited from SeriesBaseXY.)
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 methodGetLocalValueEnumerator
Creates a specialized enumerator for determining which dependency properties have locally set values on this DependencyObject.
(Inherited from DependencyObject.)
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 methodInvalidateData
Series data has been modified directly by it's array. Use this method to notify chart that this series needs a refresh
(Inherited from SeriesBaseXY.)
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
Is position over item.
(Overrides SeriesBaseXYIsPositionOver(Int32, Int32, Boolean).)
Public methodLoadFromCSV
Loads series data from a CSV file.
(Inherited from SeriesBaseXY.)
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 methodSaveToCSV
Saves series data into CSV file
(Inherited from SeriesBaseXY.)
Public methodSetClipAreas
Set clipping areas. Give null to disable all clip areas.
(Inherited from SeriesBaseXY.)
Public methodSetCurrentValue
Sets the value of a dependency property without changing its value source.
(Inherited from DependencyObject.)
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.
(Overrides UserInteractiveObjectSetProperCursor.)
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 methodToString
Item to string.
(Inherited from SeriesBaseXY.)
Top
Events
  NameDescription
Public eventBeforeSeriesRendering
Occurs just before the rendering of the series takes place.
(Inherited from SeriesBaseXY.)
Public eventChanged
Occurs when the Freezable or an object it contains is modified.
(Inherited from Freezable.)
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 eventValueChanged
Value has been changed.
Top
Fields
  NameDescription
Public fieldStatic memberAllowMoveByUserProperty
Identifies the AllowMoveByUser dependency property.
Public fieldStatic memberBehindProperty
Identifies the Behind dependency property.
Public fieldStatic memberLineStyleProperty
Identifies the LineStyle dependency property.
Public fieldTag
Tag. Freely assignable object.
(Inherited from UserInteractiveObjectInt.)
Public fieldStatic memberTitleProperty
Identifies the Title dependency property.
Public fieldStatic memberValueProperty
Identifies the Value dependency property.
Top
See Also