ScottPlot
Loading...
Searching...
No Matches
Public Member Functions | Properties | List of all members
ScottPlot.Plottables.FillY Class Reference
Inheritance diagram for ScottPlot.Plottables.FillY:
ScottPlot.IPlottable ScottPlot.IHasLine ScottPlot.IHasFill ScottPlot.IHasMarker ScottPlot.IHasLegendText

Public Member Functions

 FillY ()
 Creates an empty RangePlot plot, call SetDataSource() to set the coordinates.
 
 FillY (Scatter scatter1, Scatter scatter2)
 Creates a RangePlot plot from two scatter plots.
 
void SetDataSource (ICollection<(double X, double Top, double Bottom)> items)
 
void SetDataSource< T > (ICollection< T > items, Func< T,(double X, double Top, double Bottom)> coordinateSolver)
 
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.
 

Properties

string Label [get, set]
 
string LegendText = string.Empty [get, set]
 If populated, this text appears in the legend.
 
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 [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.
 
FillStyle FillStyle [get, set]
 
Color FillColor [get, set]
 
Color FillHatchColor [get, set]
 
IHatchFillHatch [get, set]
 
LineStyle LineStyle [get, set]
 
float LineWidth [get, set]
 
LinePattern LinePattern [get, set]
 
Color LineColor [get, set]
 
MarkerStyle MarkerStyle [get, set]
 
MarkerShape MarkerShape [get, set]
 
float MarkerSize [get, set]
 
Color MarkerFillColor [get, set]
 
Color MarkerLineColor [get, set]
 
Color MarkerColor [get, set]
 
float MarkerLineWidth [get, set]
 
- Properties inherited from ScottPlot.IPlottable
- Properties inherited from ScottPlot.IHasLine
- Properties inherited from ScottPlot.IHasFill
- Properties inherited from ScottPlot.IHasMarker
- Properties inherited from ScottPlot.IHasLegendText

Constructor & Destructor Documentation

◆ FillY() [1/2]

ScottPlot.Plottables.FillY.FillY ( )
inline

Creates an empty RangePlot plot, call SetDataSource() to set the coordinates.

◆ FillY() [2/2]

ScottPlot.Plottables.FillY.FillY ( Scatter  scatter1,
Scatter  scatter2 
)
inline

Creates a RangePlot plot from two scatter plots.

Parameters
scatter1
scatter2

Member Function Documentation

◆ GetAxisLimits()

AxisLimits ScottPlot.Plottables.FillY.GetAxisLimits ( )
inline

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

Implements ScottPlot.IPlottable.

◆ Render()

virtual void ScottPlot.Plottables.FillY.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.

◆ SetDataSource()

void ScottPlot.Plottables.FillY.SetDataSource ( ICollection<(double X, double Top, double Bottom)>  items)
inline

◆ SetDataSource< T >()

void ScottPlot.Plottables.FillY.SetDataSource< T > ( ICollection< T >  items,
Func< T,(double X, double Top, double Bottom)>  coordinateSolver 
)
inline

Property Documentation

◆ Axes

IAxes ScottPlot.Plottables.FillY.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.

◆ FillColor

Color ScottPlot.Plottables.FillY.FillColor
getset

Implements ScottPlot.IHasFill.

◆ FillHatch

IHatch? ScottPlot.Plottables.FillY.FillHatch
getset

Implements ScottPlot.IHasFill.

◆ FillHatchColor

Color ScottPlot.Plottables.FillY.FillHatchColor
getset

Implements ScottPlot.IHasFill.

◆ FillStyle

FillStyle ScottPlot.Plottables.FillY.FillStyle
getset

Implements ScottPlot.IHasFill.

◆ IsVisible

bool ScottPlot.Plottables.FillY.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.

◆ Label

string ScottPlot.Plottables.FillY.Label
getset

◆ LegendItems

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

Items which will appear in the legend.

Implements ScottPlot.IPlottable.

◆ LegendText

string ScottPlot.Plottables.FillY.LegendText = string.Empty
getset

If populated, this text appears in the legend.

Implements ScottPlot.IHasLegendText.

◆ LineColor

Color ScottPlot.Plottables.FillY.LineColor
getset

Implements ScottPlot.IHasLine.

◆ LinePattern

LinePattern ScottPlot.Plottables.FillY.LinePattern
getset

Implements ScottPlot.IHasLine.

◆ LineStyle

LineStyle ScottPlot.Plottables.FillY.LineStyle
getset

Implements ScottPlot.IHasLine.

◆ LineWidth

float ScottPlot.Plottables.FillY.LineWidth
getset

Implements ScottPlot.IHasLine.

◆ MarkerColor

Color ScottPlot.Plottables.FillY.MarkerColor
getset

Implements ScottPlot.IHasMarker.

◆ MarkerFillColor

Color ScottPlot.Plottables.FillY.MarkerFillColor
getset

Implements ScottPlot.IHasMarker.

◆ MarkerLineColor

Color ScottPlot.Plottables.FillY.MarkerLineColor
getset

Implements ScottPlot.IHasMarker.

◆ MarkerLineWidth

float ScottPlot.Plottables.FillY.MarkerLineWidth
getset

Implements ScottPlot.IHasMarker.

◆ MarkerShape

MarkerShape ScottPlot.Plottables.FillY.MarkerShape
getset

Implements ScottPlot.IHasMarker.

◆ MarkerSize

float ScottPlot.Plottables.FillY.MarkerSize
getset

Implements ScottPlot.IHasMarker.

◆ MarkerStyle

MarkerStyle ScottPlot.Plottables.FillY.MarkerStyle
getset

Implements ScottPlot.IHasMarker.


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