• What is KendoReact
  • Getting Started
  • Unstyled Mode
  • Server Components
  • Components
    • Animation
    • Barcodes
    • Buttons
    • Chart Wizardnew
    • Chartsupdated
    • Common Utilities
    • Conversational UIupdated
    • Data Gridupdated
    • Data Query
    • Data Toolsupdated
    • Date Inputs
    • Date Math
    • Dialogsupdated
    • Drawing
    • Dropdowns
    • Editor
    • Excel Export
    • File Saver
    • Form
    • Gantt
    • Gauges
    • Indicators
    • Inputsupdated
    • Labels
    • Layoutupdated
    • ListBoxupdated
    • ListView
    • Map
    • Notification
    • OrgChart
    • PDF Processing
    • PDF Viewer
    • PivotGrid
    • Popup
    • Progress Bars
    • Ripple
    • Schedulerupdated
    • ScrollView
    • Sortable
    • Spreadsheet
    • 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?