Table of Contents

Interface ILiveScopeModel

Namespace
LiveScope.Net.UI
Assembly
LiveScope.Net.dll
public interface ILiveScopeModel

Properties

ActiveSeriesId

Unique identifier of the currently active series

uint ActiveSeriesId { get; set; }

Property Value

uint

Colors

View settings

ColorInfo Colors { get; }

Property Value

ColorInfo

EnableCursorLock

Lock cursor horizontal position to sample values

bool EnableCursorLock { get; }

Property Value

bool

SeriesLayout

The manner in which series are laid out visually on a given chart

See SeriesLayoutTypes for more information

SeriesLayoutTypes SeriesLayout { get; set; }

Property Value

SeriesLayoutTypes

XMax

X-axis maximum

double XMax { get; set; }

Property Value

double

XMin

X-axis minimum

double XMin { get; set; }

Property Value

double

YMax

Y-axis maximum

double YMax { get; set; }

Property Value

double

YMin

Y-axis minimum

double YMin { get; set; }

Property Value

double

Methods

GetSeriesData(uint?)

Retrieve sample data for the specified series

ReadOnlySpan<Sample> GetSeriesData(uint? index = null)

Parameters

index uint?

(Optional) Series index (defaults to active series)

Returns

ReadOnlySpan<Sample>

Sample data buffer

SaveSeriesDataAs(string, uint?)

Retrieve sample data for the specified series and save it to disk

void SaveSeriesDataAs(string path, uint? index = null)

Parameters

path string

Save file path

index uint?

(Optional) Series index (defaults to active series)