alexa
menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    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.

    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved