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

Represents a single bar in a bar chart. More...

Inheritance diagram for ScottPlot.Bar:
ScottPlot.IHasFill ScottPlot.IHasLine

Public Member Functions

void Render (RenderPack rp, IAxes axes, SKPaint paint, LabelStyle labelStyle)
 

Properties

double Position [get, set]
 
double Value [get, set]
 
double ValueBase [get, set]
 
double Size = 0.8 [get, set]
 
double Error = 0 [get, set]
 Size of the error bar extending from Value
 
double ErrorSize = 0.2 [get, set]
 Width of the error bar whiskers in axis units (same units as Position)
 
bool IsVisible = true [get, set]
 
FillStyle FillStyle = new() { Color = Colors.Gray, IsVisible = true } [get, set]
 
Color FillHatchColor [get, set]
 
IHatchFillHatch [get, set]
 
Color FillColor [get, set]
 
LineStyle LineStyle = new() { Color = Colors.Black, Width = 1, IsVisible = true } [get, set]
 
float LineWidth [get, set]
 
LinePattern LinePattern [get, set]
 
Color LineColor [get, set]
 
Color BorderColor [get, set]
 
float BorderLineWidth = 1 [get, set]
 
float ErrorLineWidth = 0 [get, set]
 
bool ErrorPositive = true [get, set]
 
bool ErrorNegative = true [get, set]
 
string Label = string.Empty [get, set]
 
bool CenterLabel = false [get, set]
 
float LabelOffset = 5 [get, set]
 
Orientation Orientation = Orientation.Vertical [get, set]
 
CoordinateRect Rect [get]
 
IEnumerable< CoordinateLineErrorLines [get]
 
AxisLimits AxisLimits [get]
 
- Properties inherited from ScottPlot.IHasFill
- Properties inherited from ScottPlot.IHasLine

Detailed Description

Represents a single bar in a bar chart.

Member Function Documentation

◆ Render()

void ScottPlot.Bar.Render ( RenderPack  rp,
IAxes  axes,
SKPaint  paint,
LabelStyle  labelStyle 
)
inline

Property Documentation

◆ AxisLimits

AxisLimits ScottPlot.Bar.AxisLimits
get

◆ BorderColor

Color ScottPlot.Bar.BorderColor
getset

◆ BorderLineWidth

float ScottPlot.Bar.BorderLineWidth = 1
getset

◆ CenterLabel

bool ScottPlot.Bar.CenterLabel = false
getset

◆ Error

double ScottPlot.Bar.Error = 0
getset

Size of the error bar extending from Value

◆ ErrorLines

IEnumerable<CoordinateLine> ScottPlot.Bar.ErrorLines
get

◆ ErrorLineWidth

float ScottPlot.Bar.ErrorLineWidth = 0
getset

◆ ErrorNegative

bool ScottPlot.Bar.ErrorNegative = true
getset

◆ ErrorPositive

bool ScottPlot.Bar.ErrorPositive = true
getset

◆ ErrorSize

double ScottPlot.Bar.ErrorSize = 0.2
getset

Width of the error bar whiskers in axis units (same units as Position)

◆ FillColor

Color ScottPlot.Bar.FillColor
getset

Implements ScottPlot.IHasFill.

◆ FillHatch

IHatch? ScottPlot.Bar.FillHatch
getset

Implements ScottPlot.IHasFill.

◆ FillHatchColor

Color ScottPlot.Bar.FillHatchColor
getset

Implements ScottPlot.IHasFill.

◆ FillStyle

FillStyle ScottPlot.Bar.FillStyle = new() { Color = Colors.Gray, IsVisible = true }
getset

Implements ScottPlot.IHasFill.

◆ IsVisible

bool ScottPlot.Bar.IsVisible = true
getset

◆ Label

string ScottPlot.Bar.Label = string.Empty
getset

◆ LabelOffset

float ScottPlot.Bar.LabelOffset = 5
getset

◆ LineColor

Color ScottPlot.Bar.LineColor
getset

Implements ScottPlot.IHasLine.

◆ LinePattern

LinePattern ScottPlot.Bar.LinePattern
getset

Implements ScottPlot.IHasLine.

◆ LineStyle

LineStyle ScottPlot.Bar.LineStyle = new() { Color = Colors.Black, Width = 1, IsVisible = true }
getset

Implements ScottPlot.IHasLine.

◆ LineWidth

float ScottPlot.Bar.LineWidth
getset

Implements ScottPlot.IHasLine.

◆ Orientation

Orientation ScottPlot.Bar.Orientation = Orientation.Vertical
getset

◆ Position

double ScottPlot.Bar.Position
getset

◆ Rect

CoordinateRect ScottPlot.Bar.Rect
get

◆ Size

double ScottPlot.Bar.Size = 0.8
getset

◆ Value

double ScottPlot.Bar.Value
getset

◆ ValueBase

double ScottPlot.Bar.ValueBase
getset

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