Arc Element
Reference External Link
Arcs are used in the polar area, doughnut and pie charts.
Namespace:
options.elements.arc
.Options(o => o
.Elements(e => e
.Arc().Angle(1).Circular(true)))Base Element Settings
BackgroundColor
Fill color.
.BackgroundColor("blue").BackgroundColors("rgba(255, 99, 132, 0.2)", "rgba(255, 159, 64, 0.2)")BorderWidth
Stroke width.
.BorderWidth(1)BorderColor
Stroke color.
.BorderColor("grey").BorderColors("yellow", "blue")Arc Element Settings
Angle
Arc angle to cover (for polar only). Default circumference / (arc count)
.Angle(1)BorderAlign
Arc stroke alignment. Default 'center'
.BorderAlign(BorderAlign.Inner)BorderDash
Arc line dash.
.BorderDash(15, 3, 3)BorderDashOffset
Arc line dash offset. Default 0.0
.BorderDashOffset(0.1)BorderJoinStyle
Line join style. The default is 'round' when borderAlign is 'inner'
.BorderJoinStyle(JoinStyle.Miter)Circular
By default the Arc is curved. If circular: false the Arc will be flat. Default true
.Circular(false)