# LineStyle class

Describes the stroke used to draw series lines, axis lines, and other chart outlines.

**Namespace:** [`Eremex.AvaloniaUI.Charts`](./index.md)  
**Assembly:** `Eremex.Avalonia.Charts.dll`  
**NuGet Package:** [Eremex.Avalonia.Controls](https://www.nuget.org/packages/Eremex.Avalonia.Controls)

## Declaration

```csharp
public class LineStyle : ChartElementBase
```

## Public Members

| name | description |
| --- | --- |
| [LineStyle](LineStyle/LineStyle.md)() | The default constructor. |
| [Dashes](LineStyle/Dashes.md) { 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](LineStyle/DashOffset.md) { get; set; } | Gets or sets the distance from the start of the line to the first dash. |
| [LineCap](LineStyle/LineCap.md) { get; set; } | Gets or sets the shape used at the ends of the stroke. |
| [LineJoin](LineStyle/LineJoin.md) { get; set; } | Gets or sets the shape used at the corners of the stroke. |
| [MiterLimit](LineStyle/MiterLimit.md) { get; set; } | Gets or sets the limit beyond which a mitered corner is replaced by a bevel. |
| [Thickness](LineStyle/Thickness.md) { get; set; } | Gets or sets the width of the stroke, in device-independent units. |
| [GetPen](LineStyle/GetPen.md)(…) | Creates a pen that matches this style. |

## See Also

* class [ChartElementBase](./ChartElementBase.md)
* namespace [Eremex.AvaloniaUI.Charts](./index.md)

<!-- DO NOT EDIT: generated by xmldocmd for Eremex.Avalonia.Charts.dll -->
