VerticalSliceModifierBase
The VerticalSliceModifierBase is part of the ChartModifier API, which provides vertical slices on IRenderableSeries and a mouse-over templated tooltip to bind to a custom DataContext, provided by the output of the Hit-Test operation on a IRenderableSeries
Inherits: TooltipModifierBase
Constructors
protected VerticalSliceModifierBase()
verticalSliceModifierBase = VerticalSliceModifierBase()
Creates instance of VerticalSliceModifierBase
Properties
public double HoverDelay { get; set; }
value = verticalSliceModifierBase.HoverDelay
verticalSliceModifierBase.HoverDelay = value
Gets or sets delay for showing of tooltips in miliseconds
Methods
protected override void ClearAll()
verticalSliceModifierBase.ClearAll()
When overriden in a derived class, this method should clear all markers and tooltips from the ModifierSurface
protected virtual void DetachRolloverMarker(FrameworkElement rolloverMarker)
verticalSliceModifierBase.DetachRolloverMarker(rolloverMarker)
Detaches a RolloverMarker from the ModifierSurface
- rolloverMarker
- The rollover marker.
protected abstract FrameworkElement GetRolloverMarkerFrom(SeriesInfo seriesInfo)
result = verticalSliceModifierBase.GetRolloverMarkerFrom(seriesInfo)
Get rollover marker from SeriesInfo to place on chart
- seriesInfo
protected override IEnumerable<SeriesInfo> GetSeriesInfoAt(Point point)
result = verticalSliceModifierBase.GetSeriesInfoAt(point)
Enumerates the RenderableSeries on the parent ParentSurface and gets SeriesInfo objects in given point
- point
protected override void HandleMasterMouseEvent(Point mousePoint)
verticalSliceModifierBase.HandleMasterMouseEvent(mousePoint)
When overriden in a derived class, called to handle the Master ChartModifierBase MouseMove event
- mousePoint
- The current Mouse-point
protected override void HandleSlaveMouseEvent(Point mousePoint)
verticalSliceModifierBase.HandleSlaveMouseEvent(mousePoint)
When overriden in a derived class, called to handle the Slave ChartModifierBase MouseMove event
- mousePoint
- The current Mouse-point
protected override bool IsHitPointValid(HitTestInfo hitTestInfo)
result = verticalSliceModifierBase.IsHitPointValid(hitTestInfo)
When overridden in derived classes, indicates whether HitTestInfo result of hit-test should be returned from the Point) method.
protected override void OnAxisLabelTemplateChanged()
verticalSliceModifierBase.OnAxisLabelTemplateChanged()
When overriden in a derived class, applies new template to axis labels, and
public override void OnDetached()
verticalSliceModifierBase.OnDetached()
Called immediately before the Chart Modifier is detached from the Chart Surface
protected override void OnIsEnabledChanged()
verticalSliceModifierBase.OnIsEnabledChanged()
Called when the IsEnabled property changes on this ChartModifierBase instance
protected override void OnSelectedSeriesChanged(IEnumerable<IRenderableSeries> oldSeries, IEnumerable<IRenderableSeries> newSeries)
verticalSliceModifierBase.OnSelectedSeriesChanged(oldSeries, newSeries)
Called when the parent surface SelectedSeries collection changes
- oldSeries
- newSeries
protected override void OnTooltipLabelTemplateChanged()
verticalSliceModifierBase.OnTooltipLabelTemplateChanged()
When overriden in a derived class, applies new template to tooltip label, and
protected void TryUpdateAxesLabels(Point showAxesLabelsAt)
verticalSliceModifierBase.TryUpdateAxesLabels(showAxesLabelsAt)
If ShowAxisLabels, and the Point is valid for the modifier, updates axis labels
- showAxesLabelsAt
- The current mouse point
protected virtual void TryUpdateOverlays(Point atPoint)
verticalSliceModifierBase.TryUpdateOverlays(atPoint)
If the current modifier IsEnabled, and the Point is valid for the modifier, updates axis and chart overlays
- atPoint
- The current mouse point
Fields
internal static readonly DependencyProperty RolloverLabelProperty
value = VerticalSliceModifierBase.RolloverLabelProperty
Defines the RolloverLabel Attached Property, which can be attached to point marker