WPF Charting Documentation - SciChart WPF Charts SDK v5.x
RolloverModifier Class
Members  Example 
The RolloverModifier provides a mouse-over hit-test to a chart, plus a collection of SciChart.Charting.Model.ChartData.SeriesInfo objects to bind to which updates as the mouse moves. Add to a SciChart.Charting.Visuals.SciChartSurface and set IsEnabled to true to enable this behaviour
Object Model
RolloverModifier ClassIChartModifierSurface InterfaceISciChartSurface InterfaceIAnnotationCanvas InterfaceAnnotationCollection ClassIAnnotation InterfaceIAnnotationCanvas InterfaceIChartModifier InterfaceIGridLinesPanel InterfaceIChartModifierSurface InterfaceIRenderSurface InterfaceIMainGrid InterfaceIServiceContainer InterfaceIViewportManager InterfaceAxisCollection ClassIAxis InterfaceIAxis InterfaceAxisCollection ClassIAxis InterfaceIAxis InterfaceIZoomHistoryManager InterfaceIMainGrid InterfaceChartDataObject ClassIServiceContainer InterfaceIAxis InterfaceIRange InterfaceIRange InterfaceILabelProvider InterfaceIAnnotationCanvas InterfaceISciChartSurfaceBase InterfaceIServiceContainer InterfaceITickProvider InterfaceIRange InterfaceIRange InterfaceIAxis InterfaceIRange InterfaceIRange InterfaceILabelProvider InterfaceIAnnotationCanvas InterfaceISciChartSurfaceBase InterfaceIServiceContainer InterfaceITickProvider InterfaceIRange InterfaceIRange Interface
Syntax
Example
Shows how to assign a RolloverModifier to a SciChartSurface in XAMLShows how to assign a RolloverModifier to a SciChartSurface in C#
<!-- where xmlns:s="http://schemas.abtsoftware.co.uk/SciChart" -->
<s:SciChartSurface>
   <s:SciChartSurface.ChartModifier>
      <s:ModifierGroup>
	  <s:RolloverModifier IsEnabled="True" DrawVerticalLine="True" 
                             ShowTooltipOn="Always" SourceMode="AllSeries"/>
      </s:ModifierGroup>
   </s:SciChartSurface.ChartModifier>
</s:SciChartSurface>
var sciChartSurface = new SciChartSurface();
sciChartSurface.ChartModifier = new ModifierGroup(new RolloverModifier() 
{
   IsEnabled = true,
   ShowTooltipOn = ShowTooltipOptions.Always,
   DrawVerticalLine = true,
   SourceMode = SourceMode.AllSeries,
});
Inheritance Hierarchy

System.Object
   System.Windows.Threading.DispatcherObject
      System.Windows.DependencyObject
         System.Windows.Media.Visual
            System.Windows.UIElement
               System.Windows.FrameworkElement
                  System.Windows.Controls.Control
                     System.Windows.Controls.ContentControl
                        SciChart.Charting.ChartModifiers.ApiElementBase
                           SciChart.Charting.ChartModifiers.ChartModifierBase
                              SciChart.Charting.ChartModifiers.InspectSeriesModifierBase
                                 SciChart.Charting.ChartModifiers.TooltipModifierBase
                                    SciChart.Charting.ChartModifiers.VerticalSliceModifierBase
                                       SciChart.Charting.ChartModifiers.RolloverModifier

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

RolloverModifier Members
SciChart.Charting.ChartModifiers Namespace
RolloverModifier Class
TooltipModifier Class
VerticalSliceModifier Class
TooltipModifier Class

 

 


SCICHART ® is a Registered Trademark in the UK, US and EU. Copyright SciChart Ltd 2011-2018.

Send Feedback