Legend
The legend helps identify and explain the different elements in your plot. You can fully customize its appearance, position, and contents.
- Press the Legend button in the toolbar above the plot to enable "Edit legend" mode
- The legend will appear with a dashed outline indicating it's in edit mode
- Press the button again to exit edit mode
With "Edit legend" mode enabled:
- Click on any element in the plot (points, lines, or areas) to add it to the legend
- Each item will appear with its corresponding symbol, line, or area style
- Items are added in the order you click them
- To remove an individual item, click the trash icon next to it
- To clear all items at once, click the "Clear" button at the top of the legend
Note, selected items in the legend are linked to those in the plot. If you change the appearance of the item, it will change automatically in the legend as well. If you remove the item, the legend entry will remain but without a marker.
- Click the legend title while in edit mode to modify it
- Type your desired title
- Press Enter ↩ or click outside to confirm
- Press Escape to cancel editing
- Click any legend item's text to edit its label
- Type your desired label text
- Press Enter ↩ to save changes
- Press Escape or click outside to cancel editing
- In edit mode, look for the drag handle (grid of dots) next to the legend title
- Click and drag this handle to move the legend anywhere on the plot
- The legend will stay within the plot boundaries
- In edit mode, look for the resize handle in the bottom-right corner
- Click and drag this handle to adjust the legend's width and height
- The legend maintains a minimum size to ensure readability
- You can add the same element multiple times if you want to show it with different labels
- The legend preserves your customizations when you save the plot