TooltipModifier
The TooltipModifier provides a mouse-over tooltip to a chart, outputting a single SeriesInfo object to bind to which updates as the mouse moves over data-points. Add to a UltrachartSurface and set IsEnabled to true to enable this behaviour
Inherits: TooltipModifierBase
Constructors
public TooltipModifier()
tooltipModifier = TooltipModifier()
Initializes a new instance of the TooltipModifier class
Properties
public Func<SeriesInfo, object> TooltipLabelDataContextSelector { get; set; }
value = tooltipModifier.TooltipLabelDataContextSelector
tooltipModifier.TooltipLabelDataContextSelector = value
Gets or sets the function which is called internally to get a DataContext for a particular data point
Methods
protected override void ClearAll()
tooltipModifier.ClearAll()
When overriden in a derived class, this method should clear all markers and tooltips from the ModifierSurface
public static bool GetIncludeSeries(DependencyObject obj)
result = TooltipModifier.GetIncludeSeries(obj)
Gets the include Series or not
protected override void HandleMasterMouseEvent(Point mousePoint)
tooltipModifier.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)
tooltipModifier.HandleSlaveMouseEvent(mousePoint)
When overriden in a derived class, called to handle the Slave ChartModifierBase MouseMove event
- mousePoint
- The current Mouse-point
protected override void OnAxisLabelTemplateChanged()
tooltipModifier.OnAxisLabelTemplateChanged()
When overriden in a derived class, applies new template to axis labels, and
protected override void OnTooltipLabelTemplateChanged()
tooltipModifier.OnTooltipLabelTemplateChanged()
When overriden in a derived class, applies new template to tooltip label, and
public static void SetIncludeSeries(DependencyObject obj, bool value)
TooltipModifier.SetIncludeSeries(obj, value)
Sets the include Series or not
Fields
public static readonly DependencyProperty IncludeSeriesProperty
value = TooltipModifier.IncludeSeriesProperty
Defined IncludeSeries Attached Property
public static readonly DependencyProperty TooltipLabelDataContextSelectorProperty
value = TooltipModifier.TooltipLabelDataContextSelectorProperty
Defines the TooltipLabelDataContext DependencyProperty