• Getting Started
  • Components
    • Barcodes
    • Buttons
    • Chartsupdated
    • Conversational UIupdated
    • Data Query
    • Date Inputsupdated
    • Date Math
    • Dialogs
    • Drawing
    • Dropdownsupdated
    • Editor
    • Excel Export
    • File Saver
    • Filter
    • Gantt
    • Gauges
    • Gridupdated
    • Icons
    • Indicators
    • Inputsupdated
    • Labels
    • Layout
    • ListBox
    • ListView
    • Map
    • Menus
    • Navigation
    • Notification
    • Pager
    • PDF Export
    • PDFViewer
    • PivotGridupdated
    • Popup
    • ProgressBars
    • Ripple
    • Schedulerupdated
    • ScrollView
    • Sortable
    • Spreadsheetupdated
    • ToolBar
    • Tooltips
    • TreeList
    • TreeView
    • Typography
    • Uploads
    • Utilities
  • Styling & Themes
  • Common Features
  • Project Setup
  • Knowledge Base
  • Sample Applications
  • FAQ
  • Troubleshooting
  • Updates
  • Changelogs
New to Kendo UI for Angular? Start a free 30-day trial

Labels

The configuration of the scale labels.

NameTypeDefaultDescription

background?

string

The background of the labels. Accepts valid CSS color strings, including hex and rgb.

border?

Border

The border of the labels.

color?

string

The color of the labels. Accepts valid CSS color strings, including hex and rgb.

content?

(e: any) => string

The function which returns the label content.

The available fields in the function argument are:

  • value—The value of the label.

font?

string

The font of the labels.

format?

string

The format that is used to display the labels. Uses the IntlService format method.

margin?

number | Margin

The margin of the labels.

padding?

number | Padding

The padding of the labels.

visible?

boolean

The visibility of the labels.