New to Kendo UI for Angular? Start a free 30-day trial

LegendMarkers

The configuration options of the legend markers.

height?

number

The height (in pixels) of the markers. Defaults to 3.

type?

MarkerType

The shape of the legend item markers.

The supported values are:

  • (Default) "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.

visible?

boolean

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

visual?

(e: MarkersVisualArgs) => Element

A function for creating a custom visual for the markers.

The available argument fields are:

  • rectThe geometry Rect that defines where the visual will be rendered.
  • optionsThe marker options.
  • createVisualA function for getting the default visual.
  • categoryThe category of the marker point.
  • dataItemThe dataItem of the marker point.
  • valueThe value of the marker point.
  • senderThe Chart instance.
  • seriesThe series of the marker point.

width?

number

The width (in pixels) of the markers. Defaults to 15.

In this article

Not finding the help you need?