Structs§
- Legend
Config - Legend layout configuration.
- Legend
Item - A positioned legend item.
- Legend
Layout Result - Result of legend layout computation.
Enums§
- Legend
Alignment - Legend
Mark - Legend symbol type — matches the JS renderSymbol() function.
Functions§
- calculate_
legend_ layout - Compute legend layout for the given labels and colors.
- generate_
legend_ elements - Generate legend SVG elements for the given series. Computes layout, then renders symbol + label elements for each visible item.