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

Public Member Functions

void Title (string title)
 
void Title (string title, Color color)
 
void Color (Color color)
 
 TriangularAxisEdge (CoordinateLine line)
 
Coordinates GetCoordinates (double fraction)
 Return the point along this axis a given fraction between 0 and 1.
 

Static Public Member Functions

static TriangularAxisEdge Left (bool clockwise=true)
 
static TriangularAxisEdge Right (bool clockwise=true)
 
static TriangularAxisEdge Bottom (bool clockwise=true)
 

Static Public Attributes

static readonly double MaxY = Math.Sqrt(3) / 2
 
static readonly AxisLimits AxisLimits = new(0, 1, 0, MaxY)
 

Properties

CoordinateLine Line [get]
 
Coordinates Start [get]
 
Coordinates End [get]
 
List<(Coordinates Point, string Label)> Ticks = [] [get]
 
LineStyle EdgeLineStyle = new() { IsVisible = true, Width = 1, Color = Colors.Black, } [get, set]
 
TickMarkStyle TickMarkStyle = new() { Length = 5, Color = Colors.Black } [get, set]
 
LabelStyle TickLabelStyle = new() [get, set]
 
LabelStyle LabelStyle = new() { FontSize = 16, Bold = true } [get, set]
 
PixelOffset TickOffset [get, set]
 
string LabelText = string.Empty [get, set]
 

Constructor & Destructor Documentation

◆ TriangularAxisEdge()

ScottPlot.TriangularAxisEdge.TriangularAxisEdge ( CoordinateLine  line)
inline

Member Function Documentation

◆ Bottom()

static TriangularAxisEdge ScottPlot.TriangularAxisEdge.Bottom ( bool  clockwise = true)
inlinestatic

◆ Color()

void ScottPlot.TriangularAxisEdge.Color ( Color  color)
inline

◆ GetCoordinates()

Coordinates ScottPlot.TriangularAxisEdge.GetCoordinates ( double  fraction)
inline

Return the point along this axis a given fraction between 0 and 1.

◆ Left()

static TriangularAxisEdge ScottPlot.TriangularAxisEdge.Left ( bool  clockwise = true)
inlinestatic

◆ Right()

static TriangularAxisEdge ScottPlot.TriangularAxisEdge.Right ( bool  clockwise = true)
inlinestatic

◆ Title() [1/2]

void ScottPlot.TriangularAxisEdge.Title ( string  title)
inline

◆ Title() [2/2]

void ScottPlot.TriangularAxisEdge.Title ( string  title,
Color  color 
)
inline

Member Data Documentation

◆ AxisLimits

readonly AxisLimits ScottPlot.TriangularAxisEdge.AxisLimits = new(0, 1, 0, MaxY)
static

◆ MaxY

readonly double ScottPlot.TriangularAxisEdge.MaxY = Math.Sqrt(3) / 2
static

Property Documentation

◆ EdgeLineStyle

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

◆ End

Coordinates ScottPlot.TriangularAxisEdge.End
get

◆ LabelStyle

LabelStyle ScottPlot.TriangularAxisEdge.LabelStyle = new() { FontSize = 16, Bold = true }
getset

◆ LabelText

string ScottPlot.TriangularAxisEdge.LabelText = string.Empty
getset

◆ Line

CoordinateLine ScottPlot.TriangularAxisEdge.Line
get

◆ Start

Coordinates ScottPlot.TriangularAxisEdge.Start
get

◆ TickLabelStyle

LabelStyle ScottPlot.TriangularAxisEdge.TickLabelStyle = new()
getset

◆ TickMarkStyle

TickMarkStyle ScottPlot.TriangularAxisEdge.TickMarkStyle = new() { Length = 5, Color = Colors.Black }
getset

◆ TickOffset

PixelOffset ScottPlot.TriangularAxisEdge.TickOffset
getset

◆ Ticks

List<(Coordinates Point, string Label)> ScottPlot.TriangularAxisEdge.Ticks = []
get

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