New to Kendo UI for AngularStart a free 30-day trial

Represents the Kendo UI for Angular Chart Legend Item configuration.

Definition

Package:@progress/kendo-angular-charts

Selector:kendo-chart-legend-item

Syntax:

html
<kendo-chart>
  <kendo-chart-legend>
     <kendo-chart-legend-item cursor="crosshair"></kendo-chart-legend-item>
  </kendo-chart-legend>
</kendo-chart>

Inputs

Specifies the area configuration for the legend item.

cursor

string

Specifies the cursor style for legend items.

Specifies the highlight configuration for the legend item.

Specifies the line configuration for the legend item.

Specifies the markers configuration for the legend item.

Specifies the type of the legend item.

Specifies a function that creates a custom visual for the legend item.

Parameters:eLegendItemVisualArgsReturns:

Element

Methods

Updates the component fields with the specified values and refreshes the Chart.

Use this method when the configuration values cannot be set through the template.

Parameters:changesany

An object containing the updated input fields.