menu

ASP.NET Core - EJ2

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class SpreadsheetLegendSettingsBuilder - API Reference

    Show / Hide Table of Contents

    Class SpreadsheetLegendSettingsBuilder

    Inheritance
    System.Object
    ControlBuilder
    SpreadsheetLegendSettingsBuilder
    Inherited Members
    ControlBuilder.Output
    ControlBuilder.Context
    Namespace: Syncfusion.EJ2.Spreadsheet
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class SpreadsheetLegendSettingsBuilder : ControlBuilder

    Constructors

    SpreadsheetLegendSettingsBuilder()

    Declaration
    public SpreadsheetLegendSettingsBuilder()

    SpreadsheetLegendSettingsBuilder(SpreadsheetLegendSettings)

    Declaration
    public SpreadsheetLegendSettingsBuilder(SpreadsheetLegendSettings model)
    Parameters
    Type Name Description
    SpreadsheetLegendSettings model

    Methods

    Position(LegendPosition)

    Position of the legend in the chart are, Auto: Places the legend based on area type. Top: Displays the legend at the top of the chart. Left: Displays the legend at the left of the chart. Bottom: Displays the legend at the bottom of the chart. Right: Displays the legend at the right of the chart.

    Declaration
    public SpreadsheetLegendSettingsBuilder Position(LegendPosition value)
    Parameters
    Type Name Description
    LegendPosition value
    Returns
    Type Description
    SpreadsheetLegendSettingsBuilder

    Visible(Boolean)

    If set to true, legend will be visible.

    Declaration
    public SpreadsheetLegendSettingsBuilder Visible(bool value)
    Parameters
    Type Name Description
    System.Boolean value
    Returns
    Type Description
    SpreadsheetLegendSettingsBuilder
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved