Class SpreadsheetLegendSettingsBuilder
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
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 |