Skip to content

LineStyle class

Describes the stroke used to draw series lines, axis lines, and other chart outlines.

Namespace: Eremex.AvaloniaUI.Charts
Assembly: Eremex.Avalonia.Charts.dll
NuGet Package: Eremex.Avalonia.Controls

Declaration

public class LineStyle : ChartElementBase

Public Members

name description
LineStyle() The default constructor.
Dashes { get; set; } Gets or sets the lengths of the dashes and the gaps between them. Leave this property unset to draw a solid line.
DashOffset { get; set; } Gets or sets the distance from the start of the line to the first dash.
LineCap { get; set; } Gets or sets the shape used at the ends of the stroke.
LineJoin { get; set; } Gets or sets the shape used at the corners of the stroke.
MiterLimit { get; set; } Gets or sets the limit beyond which a mitered corner is replaced by a bevel.
Thickness { get; set; } Gets or sets the width of the stroke, in device-independent units.
GetPen(…) Creates a pen that matches this style.

See Also