Skip to content
v2.277.0

PanelConfigurationProperty Struct ​

A collection of options that configure how each panel displays in a small multiples chart.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_quicksight as quicksight } from 'aws-cdk-lib';
const panelConfigurationProperty: quicksight.CfnAnalysis.PanelConfigurationProperty = {
  backgroundColor: 'backgroundColor',
  backgroundVisibility: 'backgroundVisibility',
  borderColor: 'borderColor',
  borderStyle: 'borderStyle',
  borderThickness: 'borderThickness',
  borderVisibility: 'borderVisibility',
  gutterSpacing: 'gutterSpacing',
  gutterVisibility: 'gutterVisibility',
  title: {
    fontConfiguration: {
      fontColor: 'fontColor',
      fontDecoration: 'fontDecoration',
      fontFamily: 'fontFamily',
      fontSize: {
        absolute: 'absolute',
        relative: 'relative',
      },
      fontStyle: 'fontStyle',
      fontWeight: {
        name: 'name',
      },
    },
    horizontalTextAlignment: 'horizontalTextAlignment',
    visibility: 'visibility',
  },
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_quicksight as quicksight

panel_configuration_property = quicksight.CfnAnalysis.PanelConfigurationProperty(
    background_color="backgroundColor",
    background_visibility="backgroundVisibility",
    border_color="borderColor",
    border_style="borderStyle",
    border_thickness="borderThickness",
    border_visibility="borderVisibility",
    gutter_spacing="gutterSpacing",
    gutter_visibility="gutterVisibility",
    title=quicksight.CfnAnalysis.PanelTitleOptionsProperty(
        font_configuration=quicksight.CfnAnalysis.FontConfigurationProperty(
            font_color="fontColor",
            font_decoration="fontDecoration",
            font_family="fontFamily",
            font_size=quicksight.CfnAnalysis.FontSizeProperty(
                absolute="absolute",
                relative="relative"
            ),
            font_style="fontStyle",
            font_weight=quicksight.CfnAnalysis.FontWeightProperty(
                name="name"
            )
        ),
        horizontal_text_alignment="horizontalTextAlignment",
        visibility="visibility"
    )
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.quicksight.*;

PanelConfigurationProperty panelConfigurationProperty = PanelConfigurationProperty.builder()
        .backgroundColor("backgroundColor")
        .backgroundVisibility("backgroundVisibility")
        .borderColor("borderColor")
        .borderStyle("borderStyle")
        .borderThickness("borderThickness")
        .borderVisibility("borderVisibility")
        .gutterSpacing("gutterSpacing")
        .gutterVisibility("gutterVisibility")
        .title(PanelTitleOptionsProperty.builder()
                .fontConfiguration(FontConfigurationProperty.builder()
                        .fontColor("fontColor")
                        .fontDecoration("fontDecoration")
                        .fontFamily("fontFamily")
                        .fontSize(FontSizeProperty.builder()
                                .absolute("absolute")
                                .relative("relative")
                                .build())
                        .fontStyle("fontStyle")
                        .fontWeight(FontWeightProperty.builder()
                                .name("name")
                                .build())
                        .build())
                .horizontalTextAlignment("horizontalTextAlignment")
                .visibility("visibility")
                .build())
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// 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 panelConfigurationProperty = new PanelConfigurationProperty {
    BackgroundColor = "backgroundColor",
    BackgroundVisibility = "backgroundVisibility",
    BorderColor = "borderColor",
    BorderStyle = "borderStyle",
    BorderThickness = "borderThickness",
    BorderVisibility = "borderVisibility",
    GutterSpacing = "gutterSpacing",
    GutterVisibility = "gutterVisibility",
    Title = new PanelTitleOptionsProperty {
        FontConfiguration = new FontConfigurationProperty {
            FontColor = "fontColor",
            FontDecoration = "fontDecoration",
            FontFamily = "fontFamily",
            FontSize = new FontSizeProperty {
                Absolute = "absolute",
                Relative = "relative"
            },
            FontStyle = "fontStyle",
            FontWeight = new FontWeightProperty {
                Name = "name"
            }
        },
        HorizontalTextAlignment = "horizontalTextAlignment",
        Visibility = "visibility"
    }
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

panelConfigurationProperty := &PanelConfigurationProperty{
	BackgroundColor: jsii.String("backgroundColor"),
	BackgroundVisibility: jsii.String("backgroundVisibility"),
	BorderColor: jsii.String("borderColor"),
	BorderStyle: jsii.String("borderStyle"),
	BorderThickness: jsii.String("borderThickness"),
	BorderVisibility: jsii.String("borderVisibility"),
	GutterSpacing: jsii.String("gutterSpacing"),
	GutterVisibility: jsii.String("gutterVisibility"),
	Title: &PanelTitleOptionsProperty{
		FontConfiguration: &FontConfigurationProperty{
			FontColor: jsii.String("fontColor"),
			FontDecoration: jsii.String("fontDecoration"),
			FontFamily: jsii.String("fontFamily"),
			FontSize: &FontSizeProperty{
				Absolute: jsii.String("absolute"),
				Relative: jsii.String("relative"),
			},
			FontStyle: jsii.String("fontStyle"),
			FontWeight: &FontWeightProperty{
				Name: jsii.String("name"),
			},
		},
		HorizontalTextAlignment: jsii.String("horizontalTextAlignment"),
		Visibility: jsii.String("visibility"),
	},
}

Properties ​

backgroundColoroptionalstringbackground_coloroptionalstrbackgroundColoroptionalStringBackgroundColoroptionalstringBackgroundColoroptional*string#
Sets the background color for each panel.
backgroundVisibilityoptionalstringbackground_visibilityoptionalstrbackgroundVisibilityoptionalStringBackgroundVisibilityoptionalstringBackgroundVisibilityoptional*string#
Determines whether or not a background for each small multiples panel is rendered.
borderColoroptionalstringborder_coloroptionalstrborderColoroptionalStringBorderColoroptionalstringBorderColoroptional*string#
Sets the line color of panel borders.
borderStyleoptionalstringborder_styleoptionalstrborderStyleoptionalStringBorderStyleoptionalstringBorderStyleoptional*string#
Sets the line style of panel borders.
borderThicknessoptionalstringborder_thicknessoptionalstrborderThicknessoptionalStringBorderThicknessoptionalstringBorderThicknessoptional*string#
Sets the line thickness of panel borders.
borderVisibilityoptionalstringborder_visibilityoptionalstrborderVisibilityoptionalStringBorderVisibilityoptionalstringBorderVisibilityoptional*string#
Determines whether or not each panel displays a border.
gutterSpacingoptionalstringgutter_spacingoptionalstrgutterSpacingoptionalStringGutterSpacingoptionalstringGutterSpacingoptional*string#
Sets the total amount of negative space to display between sibling panels.
gutterVisibilityoptionalstringgutter_visibilityoptionalstrgutterVisibilityoptionalStringGutterVisibilityoptionalstringGutterVisibilityoptional*string#
Determines whether or not negative space between sibling panels is rendered.
titleoptionalIResolvable | CfnAnalysis.PanelTitleOptionsPropertytitleoptionaltyping.Union[IResolvable, PanelTitleOptionsProperty]titleoptionalIResolvableTitleoptionalIResolvableTitleoptionalinterface{}#
Configures the title display within each small multiples panel.