New to KendoReactStart a free 30-day trial

LegendItemMarkers
Premium

The configuration of the Chart legend item markers.

NameTypeDefaultDescription

background?

string

The background color of the series markers.

border?

LegendItemMarkersBorder

The border of the markers.

borderRadius?

number

The border radius in pixels when type is set to "roundedRect". Defaults to 1/5 of the marker size.

type?

MarkerType

The shape of the series markers.

The supported values are:

  • "circle"—The marker shape is a circle.
  • "square"—The marker shape is a square.
  • "triangle"—The marker shape is a triangle.
  • "cross"—The marker shape is a cross.
  • "rect"—An alias for "square".
  • "roundedRect"—The marker shape is a rounded rectangle.

visible?

boolean

If set to true, the Chart displays the series markers. By default, the Chart series markers are displayed.

visual?

(e: MarkersVisualArgs) => Element

A function for creating a custom visual for the markers.

The available argument fields are:

  • rect—The geometry Rect that defines where the visual has to be rendered.
  • options—The marker options.
  • createVisual—A function that can be used to get the default visual.
  • category—The category of the marker point.
  • dataItem—The dataItem of the marker point.
  • value—The value of the marker point.
  • sender—The Chart instance.
  • series—The series of the marker point.
Not finding the help you need?
Contact Support