Knowledgebase: RenderableSeries API
Adding RolloverMarkers for the RolloverModifier
Posted by Admin - on 21 March 2014 11:19 AM
When used in conjunction with the RolloverModifier, each series displays a RolloverMarker, which tracks the currently highlighted data-point as the user-moves the mouse. The RolloverModifier is the subject of its individual tutorial, but for the sake of complete documentation, we show how to set a RolloverMarkerTemplate on a series:
<SciChart:FastLineRenderableSeries x:Name=”rSeries0” SeriesColor="DarkSlateGray">
   <SciChart:FastLineRenderableSeries.RolloverMarkerTemplate>
      <!-- Define a control template for the first series rollover marker -->
      <!-- Interally, this will be used to template a blank control which will be overlaid on -->
      <!-- the ChartModifierSurface (canvas) which exists over the SciChartSurface -->
      <ControlTemplate x:Key="FirstSeriesRolloverTemplate">
          <Ellipse Fill="#77FFFFFF" Stroke="#FF708090" Width="11" Height="11" StrokeThickness="2"/>
      </ControlTemplate>
   </SciChart:FastLineRenderableSeries.RolloverMarkerTempalte>
</ SciChart:FastLineRenderableSeries>

This defines the appearance you will see when hovering the mouse over a data-point and using the RolloverModifier. For instance, the Ellipse template above creates something like this:

 

 

Complete RolloverModifier Example

For a complete RolloverModifier example including source code, please see the Examples Suite -> Rollover Modifier example.

 

 

 

(0 vote(s))
Helpful
Not helpful

CONTACT US

Not sure where to start? Contact us, we are happy to help!


CONTACT US

SciChart Ltd, 16 Beaufort Court, Admirals Way, Docklands, London, E14 9XL. Email: Legal Company Number: 07430048, VAT Number: 101957725