All Components


The configuration of the Chart legend item.




cursor string

The cursor style of the legend item.

visual (e: LegendItemVisualArgs) => Element

A function that can be used to create a custom visual for the legend items.

The available argument fields are:

  • options—The item options.
  • createVisual—A function that can be used to get the default visual.
  • series—The item series.
  • pointIndex—The index of the point in the series. Available for the Pie, Donut, and Funnel series.
In this article