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

Show the entire range of data, changing the axis limits only when the data extends outside the current view. More...

Inheritance diagram for ScottPlot.AxisLimitManagers.Full:
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.
 

Properties

double ExpansionRatio = .25 [get, set]
 Defines the amount of whitespace added to the right of the data when data runs outside the current view. 1.0 for a view that tightly fits the data and is always changing. 2.0 for a view that doubles the horizontal span when new data runs outside the current view.
 

Detailed Description

Show the entire range of data, changing the axis limits only when the data extends outside the current view.

Member Function Documentation

◆ GetRangeX()

CoordinateRange ScottPlot.AxisLimitManagers.Full.GetRangeX ( CoordinateRange  viewRangeX,
CoordinateRange  dataRangeX 
)
inline

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

Property Documentation

◆ ExpansionRatio

double ScottPlot.AxisLimitManagers.Full.ExpansionRatio = .25
getset

Defines the amount of whitespace added to the right of the data when data runs outside the current view. 1.0 for a view that tightly fits the data and is always changing. 2.0 for a view that doubles the horizontal span when new data runs outside the current view.


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