ScottPlot
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Public Attributes | Properties | List of all members
ScottPlot.Plottables.IsoLines Class Reference
Inheritance diagram for ScottPlot.Plottables.IsoLines:
ScottPlot.IPlottable ScottPlot.IHasLine

Public Member Functions

AxisLimits GetAxisLimits ()
 Return the 2D area (in coordinate space) occupied by the data contained in this plottable.
 
virtual void Render (RenderPack rp)
 Draw the data from this plottable into the data area defined in the Axes. By default the surface is already clipped to the data area, but this can be cleared inside the plottable.
 

Static Public Member Functions

static string DefaultTickFormatter (double yIntercept)
 

Public Attributes

LabelStyle TickLabelStyle = new()
 
readonly List<(double, string)> ManualPositions = []
 
Func< double, string > TickLabelFormatter = DefaultTickFormatter
 

Properties

bool IsVisible = true [get, set]
 Toggles whether this plottable is shown and contributes to the automatic axis limit detection. The calling method will check this variable (it does not need to be checked inside the Render method).
 
IAxes Axes = new Axes() [get, set]
 This object performs coordinate/pixel translation at render time based on the latest data area. It stores the axes to use for this plottable and also the data area (in pixels) updated just before each render. If this object is null it will be constructed using the default X and Y axes at render time.
 
IEnumerable< LegendItemLegendItems [get]
 Items which will appear in the legend.
 
bool RotateLabels = true [get, set]
 
bool ExteriorTickLabels = false [get, set]
 
LineStyle LineStyle [get, set]
 
float LineWidth [get, set]
 
LinePattern LinePattern [get, set]
 
Color LineColor [get, set]
 
- Properties inherited from ScottPlot.IPlottable
- Properties inherited from ScottPlot.IHasLine

Member Function Documentation

◆ DefaultTickFormatter()

static string ScottPlot.Plottables.IsoLines.DefaultTickFormatter ( double  yIntercept)
inlinestatic

◆ GetAxisLimits()

AxisLimits ScottPlot.Plottables.IsoLines.GetAxisLimits ( )

Return the 2D area (in coordinate space) occupied by the data contained in this plottable.

Implements ScottPlot.IPlottable.

◆ Render()

virtual void ScottPlot.Plottables.IsoLines.Render ( RenderPack  rp)
inlinevirtual

Draw the data from this plottable into the data area defined in the Axes. By default the surface is already clipped to the data area, but this can be cleared inside the plottable.

Implements ScottPlot.IPlottable.

Member Data Documentation

◆ ManualPositions

readonly List<(double, string)> ScottPlot.Plottables.IsoLines.ManualPositions = []

◆ TickLabelFormatter

Func<double, string> ScottPlot.Plottables.IsoLines.TickLabelFormatter = DefaultTickFormatter

◆ TickLabelStyle

LabelStyle ScottPlot.Plottables.IsoLines.TickLabelStyle = new()

Property Documentation

◆ Axes

IAxes ScottPlot.Plottables.IsoLines.Axes = new Axes()
getset

This object performs coordinate/pixel translation at render time based on the latest data area. It stores the axes to use for this plottable and also the data area (in pixels) updated just before each render. If this object is null it will be constructed using the default X and Y axes at render time.

Implements ScottPlot.IPlottable.

◆ ExteriorTickLabels

bool ScottPlot.Plottables.IsoLines.ExteriorTickLabels = false
getset

◆ IsVisible

bool ScottPlot.Plottables.IsoLines.IsVisible = true
getset

Toggles whether this plottable is shown and contributes to the automatic axis limit detection. The calling method will check this variable (it does not need to be checked inside the Render method).

Implements ScottPlot.IPlottable.

◆ LegendItems

IEnumerable<LegendItem> ScottPlot.Plottables.IsoLines.LegendItems
get

Items which will appear in the legend.

Implements ScottPlot.IPlottable.

◆ LineColor

Color ScottPlot.Plottables.IsoLines.LineColor
getset

Implements ScottPlot.IHasLine.

◆ LinePattern

LinePattern ScottPlot.Plottables.IsoLines.LinePattern
getset

Implements ScottPlot.IHasLine.

◆ LineStyle

LineStyle ScottPlot.Plottables.IsoLines.LineStyle
getset
Initial value:
= new()
{
Width = 1,
Color = Colors.Black.WithAlpha(.2),
Pattern = LinePattern.DenselyDashed,
}
LinePattern LinePattern
Definition IsoLines.cs:24

Implements ScottPlot.IHasLine.

◆ LineWidth

float ScottPlot.Plottables.IsoLines.LineWidth
getset

Implements ScottPlot.IHasLine.

◆ RotateLabels

bool ScottPlot.Plottables.IsoLines.RotateLabels = true
getset

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