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

Any object that renders shapes on the canvas using scale information from the axes must implement this interface. More...

Inheritance diagram for ScottPlot.IPlottable:
ScottPlot.IPlottableGL ScottPlot.Plottables.Annotation ScottPlot.Plottables.Arrow ScottPlot.Plottables.AxisLine ScottPlot.Plottables.AxisSpan ScottPlot.Plottables.BarPlot ScottPlot.Plottables.Benchmark ScottPlot.Plottables.BoxPlot ScottPlot.Plottables.Bracket ScottPlot.Plottables.Callout ScottPlot.Plottables.ContourLines ScottPlot.Plottables.Crosshair ScottPlot.Plottables.DataStreamer ScottPlot.Plottables.Ellipse ScottPlot.Plottables.ErrorBar ScottPlot.Plottables.FillY ScottPlot.Plottables.FloatingAxis ScottPlot.Plottables.HistogramBars ScottPlot.Plottables.HittablePlottableDecorator ScottPlot.Plottables.HorizontalSpan ScottPlot.Plottables.ImageMarker ScottPlot.Plottables.IsoLines ScottPlot.Plottables.LinePlot ScottPlot.Plottables.LollipopPlot ScottPlot.Plottables.Marker ScottPlot.Plottables.Phasor ScottPlot.Plottables.PieBase ScottPlot.Plottables.PolarAxis ScottPlot.Plottables.Polygon ScottPlot.Plottables.RadialGaugePlot ScottPlot.Plottables.Rectangle ScottPlot.Plottables.ScaleBar ScottPlot.Plottables.SmithChartAxis ScottPlot.Plottables.TINPlot ScottPlot.Plottables.Text ScottPlot.Plottables.TickModifierLabel ScottPlot.Plottables.VerticalSpan

Public Member Functions

AxisLimits GetAxisLimits ()
 Return the 2D area (in coordinate space) occupied by the data contained in this plottable.
 
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

bool IsVisible [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.
 

Detailed Description

Any object that renders shapes on the canvas using scale information from the axes must implement this interface.

Member Function Documentation

◆ GetAxisLimits()

AxisLimits ScottPlot.IPlottable.GetAxisLimits ( )

◆ Render()

void ScottPlot.IPlottable.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.

Implemented in ScottPlot.Plottables.ScatterGL, ScottPlot.Plottables.Annotation, ScottPlot.Plottables.Arrow, ScottPlot.Plottables.AxisLine, ScottPlot.Plottables.AxisSpan, ScottPlot.Plottables.BarPlot, ScottPlot.Plottables.Benchmark, ScottPlot.Plottables.BoxPlot, ScottPlot.Plottables.Bracket, ScottPlot.Plottables.Callout, ScottPlot.Plottables.ContourLines, ScottPlot.Plottables.Coxcomb, ScottPlot.Plottables.Crosshair, ScottPlot.Plottables.DataStreamer, ScottPlot.Plottables.Ellipse, ScottPlot.Plottables.ErrorBar, ScottPlot.Plottables.FillY, ScottPlot.Plottables.FloatingAxis, ScottPlot.Plottables.HistogramBars, ScottPlot.Plottables.HittablePlottableDecorator, ScottPlot.Plottables.HorizontalLine, ScottPlot.Plottables.HorizontalSpan, ScottPlot.Plottables.ImageMarker, ScottPlot.Plottables.IsoLines, ScottPlot.Plottables.LinePlot, ScottPlot.Plottables.LollipopPlot, ScottPlot.Plottables.Marker, ScottPlot.Plottables.Phasor, ScottPlot.Plottables.Pie, ScottPlot.Plottables.PieBase, ScottPlot.Plottables.PolarAxis, ScottPlot.Plottables.Polygon, ScottPlot.Plottables.RadialGaugePlot, ScottPlot.Plottables.Rectangle, ScottPlot.Plottables.ScaleBar, ScottPlot.Plottables.SmithChartAxis, ScottPlot.Plottables.Text, ScottPlot.Plottables.TickModifierLabel, ScottPlot.Plottables.TINPlot, ScottPlot.Plottables.VerticalLine, and ScottPlot.Plottables.VerticalSpan.

Property Documentation

◆ Axes

IAxes ScottPlot.IPlottable.Axes
getset

◆ IsVisible

bool ScottPlot.IPlottable.IsVisible
getset

◆ LegendItems

IEnumerable<LegendItem> ScottPlot.IPlottable.LegendItems
get

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