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
VerticalSliceModifierBase()
Creates instance of VerticalSliceModifierBase
Properties
HoverDelay : double
Gets or sets delay for showing of tooltips in miliseconds
Methods
ClearAll()
When overriden in a derived class, this method should clear all markers and tooltips from the ModifierSurface
DetachRolloverMarker(FrameworkElement)
Detaches a RolloverMarker from the ModifierSurface
- rolloverMarker
- The rollover marker.
GetRolloverMarkerFrom(SeriesInfo) : FrameworkElement
Get rollover marker from SeriesInfo to place on chart
- seriesInfo
GetSeriesInfoAt(Point) : IEnumerable<SeriesInfo>
Enumerates the RenderableSeries on the parent ParentSurface and gets SeriesInfo objects in given point
- point
HandleMasterMouseEvent(Point)
When overriden in a derived class, called to handle the Master ChartModifierBase MouseMove event
- mousePoint
- The current Mouse-point
HandleSlaveMouseEvent(Point)
When overriden in a derived class, called to handle the Slave ChartModifierBase MouseMove event
- mousePoint
- The current Mouse-point
IsHitPointValid(HitTestInfo) : bool
When overridden in derived classes, indicates whether HitTestInfo result of hit-test should be returned from the Point) method.
OnAxisLabelTemplateChanged()
When overriden in a derived class, applies new template to axis labels, and
OnDetached()
Called immediately before the Chart Modifier is detached from the Chart Surface
OnIsEnabledChanged()
Called when the IsEnabled property changes on this ChartModifierBase instance
OnSelectedSeriesChanged(IEnumerable<IRenderableSeries>, IEnumerable<IRenderableSeries>)
Called when the parent surface SelectedSeries collection changes
- oldSeries
- newSeries
OnTooltipLabelTemplateChanged()
When overriden in a derived class, applies new template to tooltip label, and
TryUpdateAxesLabels(Point)
If ShowAxisLabels, and the Point is valid for the modifier, updates axis labels
- showAxesLabelsAt
- The current mouse point
TryUpdateOverlays(Point)
If the current modifier IsEnabled, and the Point is valid for the modifier, updates axis and chart overlays
- atPoint
- The current mouse point
Fields
RolloverLabelProperty : DependencyProperty
Defines the RolloverLabel Attached Property, which can be attached to point marker