• 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
    • Dropdownsupdated
    • Editor
    • Excel Export
    • File Saver
    • Formupdated
    • Ganttupdated
    • Gauges
    • Indicators
    • Inputsupdated
    • Labels
    • Layoutupdated
    • ListBox
    • ListView
    • Map
    • Notification
    • OrgChartnew
    • PDF Processing
    • PDFViewer
    • PivotGrid
    • Popup
    • Progress Bars
    • Ripple
    • Scheduler
    • ScrollView
    • Sortable
    • Spreadsheetupdated
    • TaskBoard
    • Tooltips
    • TreeList
    • TreeViewupdated
    • Upload
  • Sample Applications
  • Styling & Themes
  • Common Features
  • Project Setup
  • Knowledge Base
  • Changelog
  • Updates
  • Troubleshooting

LegendLabels

The appearance configuration for the legend labels.

NameTypeDefaultDescription

color?

string

The color of the legend label text. Accepts a valid CSS color configuration string, including hex and rgb.

content?

(e: LegendLabelsContentArgs) => string

A function used to generate the content of each label.

font?

string

The font of the legend label text. Accepts a valid CSS font configuration string.

margin?

number | Margin

The margin of the labels. A numeric value sets all margins.

padding?

number | Padding

The padding of the labels. A numeric value sets all paddings.

In this article

Not finding the help you need?