Table of Contents

Interface IScatterSource

Namespace
ScottPlot
Assembly
ScottPlot.dll

Represents a series of data points with distinct X and Y positions in coordinate space.

public interface IScatterSource
Extension Methods

Properties

MaxRenderIndex

int MaxRenderIndex { get; set; }

Property Value

int

MinRenderIndex

int MinRenderIndex { get; set; }

Property Value

int

Methods

GetLimits()

AxisLimits GetLimits()

Returns

AxisLimits

GetLimitsX()

CoordinateRange GetLimitsX()

Returns

CoordinateRange

GetLimitsY()

CoordinateRange GetLimitsY()

Returns

CoordinateRange

GetNearest(Coordinates, RenderDetails, float)

Return the point nearest a specific location given the X/Y pixel scaling information from a previous render. Will return None if the nearest point is greater than maxDistance pixels away.

DataPoint GetNearest(Coordinates location, RenderDetails renderInfo, float maxDistance = 15)

Parameters

location Coordinates
renderInfo RenderDetails
maxDistance float

Returns

DataPoint

GetNearestX(Coordinates, RenderDetails, float)

Return the point nearest a specific X location given the X/Y pixel scaling information from a previous render. Will return None if the nearest point is greater than maxDistance pixels away.

DataPoint GetNearestX(Coordinates location, RenderDetails renderInfo, float maxDistance = 15)

Parameters

location Coordinates
renderInfo RenderDetails
maxDistance float

Returns

DataPoint

GetScatterPoints()

Return a copy of the data in Coordinates format.

IReadOnlyList<Coordinates> GetScatterPoints()

Returns

IReadOnlyList<Coordinates>