Search results

LegendPosition API in React Chart API component

Defines the position of the legend. They are:

  • Auto - Places the legend based on the area type.
  • Top - Displays the legend on the top of the chart.
  • Left - Displays the legend on the left of the chart.
  • Bottom - Displays the legend on the bottom of the chart.
  • Right - Displays the legend on the right of the chart.
  • Custom - Displays the legend based on the given x and y value.
  • Auto
  • Top
  • Left
  • Bottom
  • Right
  • Custom