Members  Example 
VerticalSliceModifier Class
The VerticalSliceModifier provides drawing of vertical slices based on collection of SciChart.Charting.Visuals.Annotations.VerticalLineAnnotation Add to a SciChart.Charting.Visuals.SciChartSurface and set VerticalLines collection to enable this behaviour
Object Model
VerticalSliceModifier ClassIChartModifierSurface InterfaceISciChartSurface InterfaceIAnnotationCanvas InterfaceAnnotationCollection ClassIAnnotation InterfaceIAnnotationCanvas InterfaceIChartModifier InterfaceIGridLinesPanel InterfaceIChartModifierSurface InterfaceIRenderSurface InterfaceIMainGrid InterfaceIServiceContainer InterfaceIViewportManager InterfaceAxisCollection ClassIAxis InterfaceIAxis InterfaceAxisCollection ClassIAxis InterfaceIAxis InterfaceIZoomHistoryManager InterfaceIMainGrid InterfaceChartDataObject ClassIServiceContainer InterfaceVerticalLineAnnotationCollection ClassVerticalLineAnnotation ClassIAxis InterfaceIRange InterfaceIRange InterfaceILabelProvider InterfaceIAnnotationCanvas InterfaceISciChartSurfaceBase InterfaceIServiceContainer InterfaceITickProvider InterfaceIRange InterfaceIRange InterfaceIAxis InterfaceIRange InterfaceIRange InterfaceILabelProvider InterfaceIAnnotationCanvas InterfaceISciChartSurfaceBase InterfaceIServiceContainer InterfaceITickProvider InterfaceIRange InterfaceIRange Interface
Syntax
[DefaultProperty("Content")]
[ContentProperty("Content")]
[Localizability(LocalizationCategory.None, Readability=Readability.Unreadable)]
[StyleTypedProperty(Property="FocusVisualStyle", StyleTargetType=System.Windows.Controls.Control)]
[XmlLangProperty("Language")]
[UsableDuringInitialization(true)]
[RuntimeNameProperty("Name")]
[UidProperty("Uid")]
[TypeDescriptionProvider(MS.Internal.ComponentModel.DependencyObjectProvider)]
[NameScopeProperty("NameScope", System.Windows.NameScope)]
public class VerticalSliceModifier : VerticalSliceModifierBase, IChartModifier, IChartModifierBase, SciChart.Core.Utility.Mouse.IReceiveMouseEvents, SciChart.Core.Utility.Mouse.IReceiveTouchEvents  
Example
Shows how to assign a VerticalSliceModifier to a SciChartSurface in XAMLShows how to assign a VerticalSliceModifier to a SciChartSurface in C#
<s:SciChartSurface>
 
<!-- XAxis, YAxis, RenderableSeries omitted for brevity -->
 
    <s:SciChartSurface.ChartModifier>
        <s:ModifierGroup>
            <s:VerticalSliceModifier Name="sliceModifier">
                <s:VerticalSliceModifier.VerticalLines>
                    <s:VerticalLineAnnotation X1="1" />
                    <s:VerticalLineAnnotation X1="3" />
                    <s:VerticalLineAnnotation X1="5" />
                    <s:VerticalLineAnnotation X1="7" />
                    <s:VerticalLineAnnotation X1="9" />
                </s:VerticalSliceModifier.VerticalLines>
            </s:VerticalSliceModifier>
        </s:ModifierGroup>
    </s:SciChartSurface.ChartModifier>
</s:SciChartSurface>
var sciChartSurface = new SciChartSurface();
sciChartSurface.XAxis = new NumericAxis();
sciChartSurface.YAxis = new NumericAxis();
var verticalSliceModifier = new VerticalSliceModifier();
verticalSliceModifier.VerticalLines.Add(new VerticalLineAnnotation() { X1 = 1 } );
verticalSliceModifier.VerticalLines.Add(new VerticalLineAnnotation() { X1 = 3 } );
sciChartSurface.ChartModifier = new ModifierGroup(verticalSliceModifier);
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.VerticalSliceModifier

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