Class CfnAnalysis.LegendOptionsProperty
The options for the legend setup of a visual.
Inheritance
System.Object
CfnAnalysis.LegendOptionsProperty
Implements
Namespace: Amazon.CDK.AWS.QuickSight
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class LegendOptionsProperty : Object, CfnAnalysis.ILegendOptionsProperty
Syntax (vb)
Public Class LegendOptionsProperty
Inherits Object
Implements CfnAnalysis.ILegendOptionsProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.QuickSight;
var legendOptionsProperty = new LegendOptionsProperty {
Height = "height",
Position = "position",
Title = new LabelOptionsProperty {
CustomLabel = "customLabel",
FontConfiguration = new FontConfigurationProperty {
FontColor = "fontColor",
FontDecoration = "fontDecoration",
FontSize = new FontSizeProperty {
Relative = "relative"
},
FontStyle = "fontStyle",
FontWeight = new FontWeightProperty {
Name = "name"
}
},
Visibility = "visibility"
},
Visibility = "visibility",
Width = "width"
};
Synopsis
Constructors
LegendOptionsProperty() |
Properties
Height | The height of the legend. |
Position | The positions for the legend. Choose one of the following options:. |
Title | The custom title for the legend. |
Visibility | Determines whether or not the legend is visible. |
Width | The width of the legend. |
Constructors
LegendOptionsProperty()
public LegendOptionsProperty()
Properties
Height
The height of the legend.
public string Height { get; set; }
Property Value
System.String
Remarks
If this value is omitted, a default height is used when rendering.
Position
The positions for the legend. Choose one of the following options:.
public string Position { get; set; }
Property Value
System.String
Remarks
Title
The custom title for the legend.
public object Title { get; set; }
Property Value
System.Object
Remarks
Visibility
Determines whether or not the legend is visible.
public string Visibility { get; set; }
Property Value
System.String
Remarks
Width
The width of the legend.
public string Width { get; set; }
Property Value
System.String
Remarks
If this value is omitted, a default width is used when rendering.