Components

Chart Legend

Chart Legend is a stand-alone utility that can be used to add a legend to chart components.

Likes
Replies
Comments
Link Clicks
import { ChartLegend } from '@sproutsocial/racine'

Properties

System props

System props apply standard sets of properties to a component that can be used to alter its appearance on the fly.

COMMON
LAYOUT
Learn more
NameTypeDefaultDescriptionRequired?
stackedboolean
Inline or stacked y plots
theme"compare""contrast""extended"
Seeds chart theme to map y plot indices
legendLabelssignature
Legend Labels to display. Array of names with optional color to display. If no color is specified, index of label will be used to determine color based on theme.
qaObject