Skip to content
v2.278.0

WaterfallChartColorConfigurationProperty Struct ​

The color configuration of a waterfall visual.

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 waterfallChartColorConfigurationProperty: quicksight.CfnAnalysis.WaterfallChartColorConfigurationProperty = {
  groupColorConfiguration: {
    negativeBarColor: 'negativeBarColor',
    positiveBarColor: 'positiveBarColor',
    totalBarColor: 'totalBarColor',
  },
};
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

waterfall_chart_color_configuration_property = quicksight.CfnAnalysis.WaterfallChartColorConfigurationProperty(
    group_color_configuration=quicksight.CfnAnalysis.WaterfallChartGroupColorConfigurationProperty(
        negative_bar_color="negativeBarColor",
        positive_bar_color="positiveBarColor",
        total_bar_color="totalBarColor"
    )
)
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.*;

WaterfallChartColorConfigurationProperty waterfallChartColorConfigurationProperty = WaterfallChartColorConfigurationProperty.builder()
        .groupColorConfiguration(WaterfallChartGroupColorConfigurationProperty.builder()
                .negativeBarColor("negativeBarColor")
                .positiveBarColor("positiveBarColor")
                .totalBarColor("totalBarColor")
                .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 waterfallChartColorConfigurationProperty = new WaterfallChartColorConfigurationProperty {
    GroupColorConfiguration = new WaterfallChartGroupColorConfigurationProperty {
        NegativeBarColor = "negativeBarColor",
        PositiveBarColor = "positiveBarColor",
        TotalBarColor = "totalBarColor"
    }
};
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"

waterfallChartColorConfigurationProperty := &WaterfallChartColorConfigurationProperty{
	GroupColorConfiguration: &WaterfallChartGroupColorConfigurationProperty{
		NegativeBarColor: jsii.String("negativeBarColor"),
		PositiveBarColor: jsii.String("positiveBarColor"),
		TotalBarColor: jsii.String("totalBarColor"),
	},
}

Properties ​

groupColorConfigurationoptionalIResolvable | CfnAnalysis.WaterfallChartGroupColorConfigurationPropertygroup_color_configurationoptionaltyping.Union[IResolvable, WaterfallChartGroupColorConfigurationProperty]groupColorConfigurationoptionalIResolvableGroupColorConfigurationoptionalIResolvableGroupColorConfigurationoptionalinterface{} #
The color configuration for individual groups within a waterfall visual.