Legend
Display a legend to identify multiple data series.
Render Time0 ms
Canvas Size600 × 350
Data Points0
Series Count0
Options
| Option | Type | Default | Description |
|---|---|---|---|
draw | boolean | false | Show/hide the legend |
position | top|right|bottom|left | top | Legend placement |
alignment | start|center|end | center | Alignment within position |
Position
| Value | Description |
|---|---|
top | Above the graph (default) |
right | Right side of graph |
bottom | Below the graph |
left | Left side of graph |
Render Time0 ms
Canvas Size600 × 350
Data Points0
Series Count0
Render Time0 ms
Canvas Size600 × 350
Data Points0
Series Count0
Render Time0 ms
Canvas Size600 × 350
Data Points0
Series Count0
Multi-Series Comparison
Legends are essential for comparing multiple data series:
Render Time0 ms
Canvas Size600 × 350
Data Points0
Series Count0
Type Reference
See LegendOptions for full TypeScript definitions.