CursorModifier
The CursorModifier provides a cross-hairs (cursor) plus tooltip with X,Y data values under the mouse as the mouse moves. Add to a UltrachartSurface and set IsEnabled to true to enable this behaviour
Hereda de: TooltipModifierBase
Constructores
CursorModifier()
Initializes a new instance of the CursorModifier class.
Propiedades
AxisInfo : ObservableCollection<AxisInfo>
Provides a collection of AxisInfo structs, which may be data-bound to in the UI defined by the AxisLabelTemplate Control template
HoverDelay : double
Gets or sets delay for showing of tooltips in miliseconds
ShowTooltip : bool
Gets or sets value, indicates whether show cursor tooltip or not
Métodos
ClearAll()
When overriden in a derived class, this method should clear all markers and tooltips from the ModifierSurface
GetAxesData(Point)
Performs a hit-test on all axes and aggregates data into the AxisInfo collection
- mousePoint
GetIncludeSeries(DependencyObject) : bool
Gets the include Series or not
GetSeriesInfoAt(Point) : IEnumerable<SeriesInfo>
Enumerates 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
OnAttached()
Called when the Chart Modifier is attached to the Chart Surface
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
OnParentSurfaceMouseEnter()
Called when the mouse enters the parent UltrachartSurface
OnTooltipLabelTemplateChanged()
When overriden in a derived class, applies new template to tooltip label, and
SetIncludeSeries(DependencyObject, bool)
Sets the include Series or not
Campos
IncludeSeriesProperty : DependencyProperty
Defined IncludeSeries Attached Property
ShowTooltipProperty : DependencyProperty
Defines the ShowTooltip DependencyProperty