• 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
    • Dropdowns
    • Editor
    • Excel Export
    • File Saver
    • Form
    • Gantt
    • Gauges
    • Indicators
    • Inputs
    • Labels
    • Layout
    • 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

SankeyLabelDefaults

Represents the default label options of the Sankey component. These settings will be applied to all labels unless overridden by individual data items.

NameTypeDefaultDescription

align?

"center" | "left" | "right"

'left'

The alignment of the label.

border?

Border

{ width: 0 }

The border of the label.

color?

string

The color of the label.

font?

string

The font of the label.

margin?

SankeyHorizontalMargin

{ left: 8, right: 8 }

The margin of the label.

offset?

SankeyOffset

{ top: 0, left: 0 }

The offset applied to the label's position.

padding?

number | Padding

0

The padding of the label.

position?

"inside" | "after" | "before"

'inside'

The position of the label.

The supported values are:

  • inside—The label is positioned after the node, except for the nodes at the end of the Sankey, that are placed before the node.
  • before—The label is positioned before the node.
  • after—The label is positioned after the node.

stroke?

SankeyLabelStroke

{ width: 1, lineJoin: 'round' }

The stroke of the label.

visible?

boolean

true

The visibility of the label.