Interface IAxes
- Namespace
- ScottPlot
- Assembly
- ScottPlot.dll
This interface describes a pair of 1D axes. It is intended to be stored inside IPlottable objects, defining which axes they use and providing logic for coordinate/pixel conversions.
public interface IAxes
- Extension Methods
Properties
DataRect
Describes the region in the center of the figure where plottable data will be displayed. This region is set by the renderer immediately before a Plottable's Render() method is called.
PixelRect DataRect { get; set; }
Property Value
XAxis
IXAxis XAxis { get; set; }
Property Value
YAxis
IYAxis YAxis { get; set; }
Property Value
Methods
GetCoordinateX(float)
double GetCoordinateX(float pixel)
Parameters
pixel
float
Returns
GetCoordinateY(float)
double GetCoordinateY(float pixel)
Parameters
pixel
float
Returns
GetCoordinates(Pixel)
Coordinates GetCoordinates(Pixel pixel)
Parameters
pixel
Pixel
Returns
GetPixel(Coordinates)
Pixel GetPixel(Coordinates coordinates)
Parameters
coordinates
Coordinates
Returns
GetPixelLine(CoordinateLine)
PixelLine GetPixelLine(CoordinateLine rect)
Parameters
rect
CoordinateLine
Returns
GetPixelRect(CoordinateRect)
PixelRect GetPixelRect(CoordinateRect rect)
Parameters
rect
CoordinateRect
Returns
GetPixelX(double)
float GetPixelX(double xCoordinate)
Parameters
xCoordinate
double
Returns
GetPixelY(double)
float GetPixelY(double yCoordinate)
Parameters
yCoordinate
double