Table of Contents

Class Triggering

Namespace
LightningChartLib.WinForms.Charting
Assembly
LightningChart.WinForms.Charting.NET4.dll

Triggered oscilloscope view options

[TypeConverter(typeof(ExpandableObjectConverter))]
public class Triggering : ChartNode, IChartNode, IDisposable
Inheritance
Triggering
Implements
Inherited Members

Constructors

Triggering()

Constructor for Form designer list editor

public Triggering()

Triggering(AxisX)

Constructor

public Triggering(AxisX axisX)

Parameters

axisX AxisX

X axis

Properties

Edge

Triggering edge

public TriggeringEdge Edge { get; set; }

Property Value

TriggeringEdge

StaticMajorXGridOptions

Major grid options for static X major grid

public StaticXGrid StaticMajorXGridOptions { get; set; }

Property Value

StaticXGrid

StaticMinorXGridOptions

Major grid options for static X minor grid

public StaticXGrid StaticMinorXGridOptions { get; set; }

Property Value

StaticXGrid

TriggerLevel

Trigger level in units of Y axis of triggering line series

public double TriggerLevel { get; set; }

Property Value

double

TriggerLineSeriesIndex

Index of series used for triggering. Give -1 when you don't want to assign it.

public int TriggerLineSeriesIndex { get; set; }

Property Value

int

Remarks

Set both TriggerSeriesType and TriggerLineSeriesIndex to specify the triggering series.

Exceptions

Exception

Thrown if series index is invalid.

TriggerSeriesType

Triggering series type.

public TriggeringSeriesType TriggerSeriesType { get; set; }

Property Value

TriggeringSeriesType

Remarks

Set both TriggerSeriesType and TriggerLineSeriesIndex to specify the triggering series.

TriggeringActive

Is triggering active

public bool TriggeringActive { get; set; }

Property Value

bool

TriggeringXPosition

Percents of graph width where the triggered position is drawn

public double TriggeringXPosition { get; set; }

Property Value

double

Methods

Dispose(bool)

Clean up any resources being used.

protected override void Dispose(bool disposing)

Parameters

disposing bool

true if managed resources should be disposed, otherwise false.

SeekToTrigger(out double)

Seek the trig position

public bool SeekToTrigger(out double triggeredXPosition)

Parameters

triggeredXPosition double
param triggeredXPosition M:LightningChartLib.WinForms.Charting.Triggering.SeekToTrigger(System.Double@)

Returns

bool

True if seek position was found and X axis was shifted

ToString()

Convert class description to string

public override string ToString()

Returns

string

String

Events

TriggeringPositionChanged

The triggering position has been changed.

public event Triggering.TrigPositionChangedHandler TriggeringPositionChanged

Event Type

Triggering.TrigPositionChangedHandler