Datapicta logo
© 2026 DataPicta B.V.

Legend

Learn about the chart legend and how to customize its appearance, orientation, and layout.

The legend helps identify the different data series in the chart. You can customize which items appear, how they are labeled, and style their shape, orientation, spacing, and background.

Direct settings

These are the input fields shown directly in the Legend panel:

SettingDescription
IdA text field to set a unique identifier for the legend element
Compose TextOpens the Compose Text dialog to customize the legend item labels with dynamic placeholders for data values and formatting options
ShapeChoose the shape that appears next to each legend item. Options include circle, rectangle, triangle, diamond, and more
OrientationSets the layout direction of the legend items. Choose Vertical (items stacked top to bottom) or Horizontal (items arranged left to right)
PaddingThe space around the legend in pixels. Larger values create more breathing room between the legend and surrounding chart elements
Item GapThe gap between individual legend items in pixels. Increase this when items feel too crowded or overlap
WidthThe width of the legend area in pixels
HeightThe height of the legend area in pixels
Background ColorClick the color picker to choose a background color for the legend area, or paste a hex value directly (e.g., #FF0000)

Sections

Expandable sub-panels with additional styling options:

SectionDescription
SizeOpens the Size shared setting to control the width and height of the legend area
PositionOpens the Position shared setting to set the distance of the legend from the left, right, top, and bottom edges of the chart
BorderOpens the Border shared setting to add and style an outline around the legend area
ShadowOpens the Shadow shared setting to add a drop shadow behind the legend area
InactiveOpens the Inactive shared setting to customize the appearance of legend items that are not currently active (deselected)
Text StyleOpens the Text Style shared setting to customize the legend label text — color, size, weight, style, overflow, and text borders/shadows
Line StyleOpens the Line Style shared setting to customize the appearance of lines in the legend
Item StyleOpens the Item Style shared setting to customize the appearance of individual legend items — color, opacity, border, and shadow