Interface ILegendMethods
Provides base interface methods for legend rendering, positioning, and layout calculations.
Namespace: Syncfusion.Blazor.Charts
Assembly: Syncfusion.Blazor.dll
Syntax
public interface ILegendMethods
Methods
GetLegendBounds(Size, Rect, Size)
Calculates the overall bounds and layout for the legend area based on available space and maximum label dimensions.
Declaration
void GetLegendBounds(Size availableSize, Rect rect, Size maxLabelSize)
Parameters
| Type | Name | Description |
|---|---|---|
| Size | availableSize | The total available size for legend rendering. |
| Rect | rect | The area rectangle where the legend will be positioned. |
| Size | maxLabelSize | The maximum size of legend labels for layout calculations. |