ScottPlot
Loading...
Searching...
No Matches
Public Member Functions | Properties | List of all members
ScottPlot.IScatterSource Interface Reference

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

Public Member Functions

IReadOnlyList< CoordinatesGetScatterPoints ()
 Return a copy of the data in Coordinates format.
 
DataPoint GetNearest (Coordinates location, RenderDetails renderInfo, float maxDistance=15)
 Return the point nearest a specific location given the X/Y pixel scaling information from a previous render. Will return DataPoint.None if the nearest point is greater than maxDistance pixels away.
 
DataPoint GetNearestX (Coordinates location, RenderDetails renderInfo, float maxDistance=15)
 Return the point nearest a specific X location given the X/Y pixel scaling information from a previous render. Will return DataPoint.None if the nearest point is greater than maxDistance pixels away.
 
CoordinateRange GetLimitsX ()
 
CoordinateRange GetLimitsY ()
 
AxisLimits GetLimits ()
 

Properties

int MinRenderIndex [get, set]
 
int MaxRenderIndex [get, set]
 

Detailed Description

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

Member Function Documentation

◆ GetLimits()

AxisLimits ScottPlot.IScatterSource.GetLimits ( )

◆ GetLimitsX()

CoordinateRange ScottPlot.IScatterSource.GetLimitsX ( )

◆ GetLimitsY()

CoordinateRange ScottPlot.IScatterSource.GetLimitsY ( )

◆ GetNearest()

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

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

◆ GetNearestX()

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

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

◆ GetScatterPoints()

IReadOnlyList< Coordinates > ScottPlot.IScatterSource.GetScatterPoints ( )

Return a copy of the data in Coordinates format.

Property Documentation

◆ MaxRenderIndex

int ScottPlot.IScatterSource.MaxRenderIndex
getset

◆ MinRenderIndex

int ScottPlot.IScatterSource.MinRenderIndex
getset

The documentation for this interface was generated from the following file: