• What is KendoReact
  • Getting Started
  • Server Components
  • Components
    • Animation
    • Barcodes
    • Buttons
    • Chartsupdated
    • Common Utilities
    • Conversational UIupdated
    • Data Gridupdated
    • Data Query
    • Data Tools
    • Date Inputs
    • Date Math
    • Dialogs
    • Drawing
    • Dropdowns
    • Editor
    • Excel Export
    • File Saver
    • Form
    • Gantt
    • Gauges
    • Indicators
    • Inputs
    • Labels
    • Layout
    • ListBoxupdated
    • ListView
    • Map
    • Notification
    • OrgChart
    • PDF Processing
    • PDF Viewer
    • PivotGrid
    • Popup
    • Progress Bars
    • Ripple
    • Schedulerupdated
    • ScrollView
    • Sortable
    • Spreadsheet
    • TaskBoard
    • Tooltips
    • TreeList
    • TreeViewupdated
    • Upload
  • Sample Applications
  • Styling & Themes
  • Common Features
  • Project Setup
  • Knowledge Base
  • Changelog
  • Updates
  • Troubleshooting

LegendItemMarkers

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.

In this article

Not finding the help you need?