Series.legendItem.markers
configurationThe configuration of the Chart legend item markers.
By default, the marker configuration will be the same as the series.markers settings of the displayed series.
series.legendItem.markers.background
String|FunctionThe background color of the legend item markers.
series.legendItem.markers.border
Object|FunctionThe border of the markers.
The border radius in pixels when type is set to "roundedRect".
series.legendItem.markers.type
String|FunctionThe markers shape.
The supported values are:
- "circle" - the marker shape is circle.
- "square" - the marker shape is square.
- "triangle" - the marker shape is triangle.
- "cross" - the marker shape is cross.
- "rect" - alias for "square".
- "roundedRect" - the marker shape is a rounded rectangle.
series.legendItem.markers.visible
Boolean|FunctionIf set to true the chart will display the legend item markers. Defaults to the series options.
series.legendItem.markers.visual
FunctionA function that can be used to create a custom visual for the markers. The available argument fields are:
- rect - the
kendo.geometry.Rectthat defines where the visual should 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.