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

This object holds an X axis and Y axis and performs 2D coordinate/pixel conversions. More...

Inheritance diagram for ScottPlot.Axes:
ScottPlot.IAxes

Public Member Functions

 Axes ()
 
Coordinates GetCoordinates (Pixel pixel)
 
double GetCoordinateX (float pixel)
 
double GetCoordinateY (float pixel)
 
Pixel GetPixel (Coordinates coordinates)
 
PixelLine GetPixelLine (CoordinateLine line)
 
float GetPixelX (double xCoordinate)
 
float GetPixelY (double yCoordinate)
 
PixelRect GetPixelRect (CoordinateRect rect)
 

Properties

IXAxis XAxis = null! [get, set]
 
IYAxis YAxis = null! [get, set]
 
PixelRect DataRect [get, set]
 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.
 
static Axes Default [get]
 
- Properties inherited from ScottPlot.IAxes

Detailed Description

This object holds an X axis and Y axis and performs 2D coordinate/pixel conversions.

Constructor & Destructor Documentation

◆ Axes()

ScottPlot.Axes.Axes ( )
inline

Member Function Documentation

◆ GetCoordinates()

Coordinates ScottPlot.Axes.GetCoordinates ( Pixel  pixel)
inline

Implements ScottPlot.IAxes.

◆ GetCoordinateX()

double ScottPlot.Axes.GetCoordinateX ( float  pixel)

Implements ScottPlot.IAxes.

◆ GetCoordinateY()

double ScottPlot.Axes.GetCoordinateY ( float  pixel)

Implements ScottPlot.IAxes.

◆ GetPixel()

Pixel ScottPlot.Axes.GetPixel ( Coordinates  coordinates)
inline

Implements ScottPlot.IAxes.

◆ GetPixelLine()

PixelLine ScottPlot.Axes.GetPixelLine ( CoordinateLine  line)
inline

Implements ScottPlot.IAxes.

◆ GetPixelRect()

PixelRect ScottPlot.Axes.GetPixelRect ( CoordinateRect  rect)
inline

Implements ScottPlot.IAxes.

◆ GetPixelX()

float ScottPlot.Axes.GetPixelX ( double  xCoordinate)

Implements ScottPlot.IAxes.

◆ GetPixelY()

float ScottPlot.Axes.GetPixelY ( double  yCoordinate)

Implements ScottPlot.IAxes.

Property Documentation

◆ DataRect

PixelRect ScottPlot.Axes.DataRect
getset

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.

Implements ScottPlot.IAxes.

◆ Default

Axes ScottPlot.Axes.Default
staticget

◆ XAxis

IXAxis ScottPlot.Axes.XAxis = null!
getset

Implements ScottPlot.IAxes.

◆ YAxis

IYAxis ScottPlot.Axes.YAxis = null!
getset

Implements ScottPlot.IAxes.


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