ScottPlot
|
Any object that renders shapes on the canvas using scale information from the axes must implement this interface. More...
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< LegendItem > | LegendItems [get] |
Items which will appear in the legend. | |
Any object that renders shapes on the canvas using scale information from the axes must implement this interface.
AxisLimits ScottPlot.IPlottable.GetAxisLimits | ( | ) |
Return the 2D area (in coordinate space) occupied by the data contained in this plottable.
Implemented in 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.
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.
|
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.
Implemented in 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.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.Text, ScottPlot.Plottables.TickModifierLabel, and ScottPlot.Plottables.TINPlot.
|
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).
Implemented in 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.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.Text, ScottPlot.Plottables.TickModifierLabel, and ScottPlot.Plottables.TINPlot.
|
get |
Items which will appear in the legend.
Implemented in 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.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.Text, ScottPlot.Plottables.TickModifierLabel, and ScottPlot.Plottables.TINPlot.