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

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.
 

Properties

double X [get, set]
 
double Y [get, set]
 
Coordinates Location [get, set]
 
Coordinates Position [get, set]
 
Coordinates Coordinates [get, set]
 
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).
 
MarkerStyle MarkerStyle = new() [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]
 
float Size [get, set]
 
float LineWidth [set]
 
MarkerShape Shape [get, set]
 
Color Color [get, set]
 
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.
 
- Properties inherited from ScottPlot.IPlottable
- Properties inherited from ScottPlot.IHasMarker
- Properties inherited from ScottPlot.IHasLegendText

Member Function Documentation

◆ GetAxisLimits()

AxisLimits ScottPlot.Plottables.Marker.GetAxisLimits ( )

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

Implements ScottPlot.IPlottable.

◆ Render()

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

Property Documentation

◆ Axes

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

◆ Color

Color ScottPlot.Plottables.Marker.Color
getset

◆ Coordinates

Coordinates ScottPlot.Plottables.Marker.Coordinates
getset

◆ IsVisible

bool ScottPlot.Plottables.Marker.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.Marker.Label
getset

◆ LegendItems

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

Items which will appear in the legend.

Implements ScottPlot.IPlottable.

◆ LegendText

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

If populated, this text appears in the legend.

Implements ScottPlot.IHasLegendText.

◆ LineWidth

float ScottPlot.Plottables.Marker.LineWidth
set

◆ Location

Coordinates ScottPlot.Plottables.Marker.Location
getset

◆ MarkerColor

Color ScottPlot.Plottables.Marker.MarkerColor
getset

Implements ScottPlot.IHasMarker.

◆ MarkerFillColor

Color ScottPlot.Plottables.Marker.MarkerFillColor
getset

Implements ScottPlot.IHasMarker.

◆ MarkerLineColor

Color ScottPlot.Plottables.Marker.MarkerLineColor
getset

Implements ScottPlot.IHasMarker.

◆ MarkerLineWidth

float ScottPlot.Plottables.Marker.MarkerLineWidth
getset

Implements ScottPlot.IHasMarker.

◆ MarkerShape

MarkerShape ScottPlot.Plottables.Marker.MarkerShape
getset

Implements ScottPlot.IHasMarker.

◆ MarkerSize

float ScottPlot.Plottables.Marker.MarkerSize
getset

Implements ScottPlot.IHasMarker.

◆ MarkerStyle

MarkerStyle ScottPlot.Plottables.Marker.MarkerStyle = new()
getset

Implements ScottPlot.IHasMarker.

◆ Position

Coordinates ScottPlot.Plottables.Marker.Position
getset

◆ Shape

MarkerShape ScottPlot.Plottables.Marker.Shape
getset

◆ Size

float ScottPlot.Plottables.Marker.Size
getset

◆ X

double ScottPlot.Plottables.Marker.X
getset

◆ Y

double ScottPlot.Plottables.Marker.Y
getset

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