Skip to content

Point

Reference

Point elements are used to represent the points in a line, radar or bubble chart.

Namespace: options.elements.point

1
2
3
.Options(o => o
    .Elements(e => e
        .Point().Rotation(1).Radius(4)))

Base Element Settings

BackgroundColor

Fill color.

.BackgroundColor("blue")

BorderWidth

Stroke width.

.BorderWidth(1)

BorderColor

Stroke color.

.BorderColor("grey")

Point Element Settings

Radius

Point radius. Default 3

.Radius(4)

PointStyle

Is point style enabled. Default 'circle'

.PointStyle(true)
.PointStyle(PointStyle.Cross)

Rotation

Point rotation (in degrees). Default 0

.Rotation(1)

HitRadius

Extra radius added to point radius for hit detection. Default 1

.HitRadius(1)

HoverRadius

Point radius when hovered.. Default 4

.HoverRadius(5)

HoverBorderWidth

Stroke width when hovered. Default 1

.HoverBorderWidth(2)