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

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. More...

Inheritance diagram for ScottPlot.IAxes:
ScottPlot.Axes

Public Member Functions

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

Properties

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.
 
IXAxis XAxis [get, set]
 
IYAxis YAxis [get, set]
 

Detailed Description

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.

Member Function Documentation

◆ GetCoordinates()

Coordinates ScottPlot.IAxes.GetCoordinates ( Pixel  pixel)

Implemented in ScottPlot.Axes.

◆ GetCoordinateX()

double ScottPlot.IAxes.GetCoordinateX ( float  pixel)

Implemented in ScottPlot.Axes.

◆ GetCoordinateY()

double ScottPlot.IAxes.GetCoordinateY ( float  pixel)

Implemented in ScottPlot.Axes.

◆ GetPixel()

Pixel ScottPlot.IAxes.GetPixel ( Coordinates  coordinates)

Implemented in ScottPlot.Axes.

◆ GetPixelLine()

PixelLine ScottPlot.IAxes.GetPixelLine ( CoordinateLine  rect)

Implemented in ScottPlot.Axes.

◆ GetPixelRect()

PixelRect ScottPlot.IAxes.GetPixelRect ( CoordinateRect  rect)

Implemented in ScottPlot.Axes.

◆ GetPixelX()

float ScottPlot.IAxes.GetPixelX ( double  xCoordinate)

Implemented in ScottPlot.Axes.

◆ GetPixelY()

float ScottPlot.IAxes.GetPixelY ( double  yCoordinate)

Implemented in ScottPlot.Axes.

Property Documentation

◆ DataRect

PixelRect ScottPlot.IAxes.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.

Implemented in ScottPlot.Axes.

◆ XAxis

IXAxis ScottPlot.IAxes.XAxis
getset

Implemented in ScottPlot.Axes.

◆ YAxis

IYAxis ScottPlot.IAxes.YAxis
getset

Implemented in ScottPlot.Axes.


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