Class SpreadsheetLegendSettingsBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
SpreadsheetLegendSettingsBuilder
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 |
|---|
| 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 |
|---|
| SpreadsheetLegendSettingsBuilder |