ScottPlot
Loading...
Searching...
No Matches
Public Member Functions | Properties | List of all members
ScottPlot.PieSlice Class Reference
Inheritance diagram for ScottPlot.PieSlice:
ScottPlot.LabelStyleProperties ScottPlot.IHasLegendText ScottPlot.IHasLabel ScottPlot.IHasLabel

Public Member Functions

 PieSlice ()
 
 PieSlice (double value, Color color)
 
 PieSlice (double value, Color color, string label)
 

Properties

string Label [get, set]
 
string LegendText = string.Empty [get, set]
 If populated, this text appears in the legend.
 
double Value [get, set]
 
FillStyle Fill = new() [get, set]
 
override LabelStyle LabelStyle = new() { Alignment = Alignment.MiddleCenter } [get, set]
 
Color FillColor [get, set]
 
- Properties inherited from ScottPlot.LabelStyleProperties
LabelStyle LabelStyle [get, set]
 
float LabelOffsetX [get, set]
 
float LabelOffsetY [get, set]
 
float LabelRotation [get, set]
 
float LabelPadding [set]
 
PixelPadding LabelPixelPadding [get, set]
 
PixelRect LabelLastRenderPixelRect [get]
 
string LabelText [get, set]
 
Alignment LabelAlignment [get, set]
 
string LabelFontName [get, set]
 
float LabelFontSize [get, set]
 
float? LabelLineSpacing [get, set]
 
bool LabelItalic [get, set]
 
bool LabelBold [get, set]
 
Color LabelFontColor [get, set]
 
Color LabelBackgroundColor [get, set]
 
float LabelBorderRadius [get, set]
 
float LabelBorderRadiusX [get, set]
 
float LabelBorderRadiusY [get, set]
 
float LabelBorderWidth [get, set]
 
Color LabelBorderColor [get, set]
 
Color LabelShadowColor [get, set]
 
PixelOffset LabelShadowOffset [get, set]
 
- Properties inherited from ScottPlot.IHasLabel
- Properties inherited from ScottPlot.IHasLegendText

Constructor & Destructor Documentation

◆ PieSlice() [1/3]

ScottPlot.PieSlice.PieSlice ( )
inline

◆ PieSlice() [2/3]

ScottPlot.PieSlice.PieSlice ( double  value,
Color  color 
)
inline

◆ PieSlice() [3/3]

ScottPlot.PieSlice.PieSlice ( double  value,
Color  color,
string  label 
)
inline

Property Documentation

◆ Fill

FillStyle ScottPlot.PieSlice.Fill = new()
getset

◆ FillColor

Color ScottPlot.PieSlice.FillColor
getset

◆ Label

string ScottPlot.PieSlice.Label
getset

◆ LabelStyle

override LabelStyle ScottPlot.PieSlice.LabelStyle = new() { Alignment = Alignment.MiddleCenter }
getset

Implements ScottPlot.IHasLabel.

◆ LegendText

string ScottPlot.PieSlice.LegendText = string.Empty
getset

If populated, this text appears in the legend.

Implements ScottPlot.IHasLegendText.

◆ Value

double ScottPlot.PieSlice.Value
getset

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