VerticalSliceModifier
The VerticalSliceModifier provides drawing of vertical slices based on collection of VerticalLineAnnotation Add to a UltrachartSurface and set VerticalLines collection to enable this behaviour
Inherits: VerticalSliceModifierBase
Constructors
public VerticalSliceModifier()
verticalSliceModifier = VerticalSliceModifier()
Initializes a new instance of the VerticalSliceModifier class.
Properties
public VerticalLineAnnotationCollection VerticalLines { get; set; }
value = verticalSliceModifier.VerticalLines
verticalSliceModifier.VerticalLines = value
Gets or sets VerticalLineAnnotationCollection of VerticalLineAnnotation for making vertical slices
Methods
protected override void DetachRolloverMarker(FrameworkElement rolloverMarker)
verticalSliceModifier.DetachRolloverMarker(rolloverMarker)
Detaches a RolloverMarker from the ModifierSurface
- rolloverMarker
- The rollover marker.
public static bool GetIncludeSeries(DependencyObject obj)
result = VerticalSliceModifier.GetIncludeSeries(obj)
Gets the include Series or not
protected override FrameworkElement GetRolloverMarkerFrom(SeriesInfo seriesInfo)
result = verticalSliceModifier.GetRolloverMarkerFrom(seriesInfo)
Get rollover marker from SeriesInfo to place on chart
- seriesInfo
protected override IEnumerable<SeriesInfo> GetSeriesInfoAt(Point point)
result = verticalSliceModifier.GetSeriesInfoAt(point)
Enumerates the RenderableSeries on the parent ParentSurface and gets SeriesInfo objects in given point
- point
protected override bool IsEnabledAt(Point point)
result = verticalSliceModifier.IsEnabledAt(point)
When overridden in derived classes, indicates whether mouse point is valid for current modifier
- point
public override void OnAttached()
verticalSliceModifier.OnAttached()
Called when the element is attached to the Chart Surface
public override void OnDetached()
verticalSliceModifier.OnDetached()
Called immediately before the Chart Modifier is detached from the Chart Surface
protected override void OnIsEnabledChanged()
verticalSliceModifier.OnIsEnabledChanged()
Called when the IsEnabled property changes on this ChartModifierBase instance
protected override void OnParentSurfaceMouseLeave()
verticalSliceModifier.OnParentSurfaceMouseLeave()
Called when the mouse leaves the parent UltrachartSurface
public static void SetIncludeSeries(DependencyObject obj, bool value)
VerticalSliceModifier.SetIncludeSeries(obj, value)
Sets the include Series or not
Fields
public static readonly DependencyProperty IncludeSeriesProperty
value = VerticalSliceModifier.IncludeSeriesProperty
Defined IncludeSeries Attached Property
public static readonly DependencyProperty VerticalLinesProperty
value = VerticalSliceModifier.VerticalLinesProperty
Defines the VerticalLines DependencyProperty