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
pixelfloat
Returns
GetCoordinateY(float)
double GetCoordinateY(float pixel)
Parameters
pixelfloat
Returns
GetCoordinates(Pixel)
Coordinates GetCoordinates(Pixel pixel)
Parameters
pixelPixel
Returns
GetPixel(Coordinates)
Pixel GetPixel(Coordinates coordinates)
Parameters
coordinatesCoordinates
Returns
GetPixelLine(CoordinateLine)
PixelLine GetPixelLine(CoordinateLine rect)
Parameters
rectCoordinateLine
Returns
GetPixelRect(CoordinateRect)
PixelRect GetPixelRect(CoordinateRect rect)
Parameters
rectCoordinateRect
Returns
GetPixelX(double)
float GetPixelX(double xCoordinate)
Parameters
xCoordinatedouble
Returns
GetPixelY(double)
float GetPixelY(double yCoordinate)
Parameters
yCoordinatedouble