ScottPlot
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
ScottPlot.AxisLimitManagers.FixedWidth Class Reference
Inheritance diagram for ScottPlot.AxisLimitManagers.FixedWidth:
ScottPlot.IAxisLimitManager

Public Member Functions

CoordinateRange GetRangeX (CoordinateRange viewRangeX, CoordinateRange dataRangeX)
 Returns the recommended X axis range given the current view and size of the data.
 
CoordinateRange GetRangeY (CoordinateRange viewRangeY, CoordinateRange dataRangeY)
 Returns the recommended Y axis range given the current view and size of the data.
 

Public Attributes

double ExpandFractionY = 0.5
 Fractional amount to expand the axis vertically if data runs outside the current view.
 

Member Function Documentation

◆ GetRangeX()

CoordinateRange ScottPlot.AxisLimitManagers.FixedWidth.GetRangeX ( CoordinateRange  viewRangeX,
CoordinateRange  dataRangeX 
)

Returns the recommended X axis range given the current view and size of the data.

Parameters
viewRangeXX axis view range
dataRangeXX axis data range
Returns

Implements ScottPlot.IAxisLimitManager.

◆ GetRangeY()

CoordinateRange ScottPlot.AxisLimitManagers.FixedWidth.GetRangeY ( CoordinateRange  viewRangeY,
CoordinateRange  dataRangeY 
)
inline

Returns the recommended Y axis range given the current view and size of the data.

Parameters
viewRangeYY axis view range
dataRangeYY axis view range
Returns

Implements ScottPlot.IAxisLimitManager.

Member Data Documentation

◆ ExpandFractionY

double ScottPlot.AxisLimitManagers.FixedWidth.ExpandFractionY = 0.5

Fractional amount to expand the axis vertically if data runs outside the current view.


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