interface ColorScaleProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.QuickSight.CfnTemplatePropsMixin.ColorScaleProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsquicksight#CfnTemplatePropsMixin_ColorScaleProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.quicksight.CfnTemplatePropsMixin.ColorScaleProperty |
Python | aws_cdk.cfn_property_mixins.aws_quicksight.CfnTemplatePropsMixin.ColorScaleProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_quicksight » CfnTemplatePropsMixin » ColorScaleProperty |
Determines the color scale that is applied to the visual.
Example
// 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/cfn-property-mixins';
const colorScaleProperty: quicksight.CfnTemplatePropsMixin.ColorScaleProperty = {
colorFillType: 'colorFillType',
colors: [{
color: 'color',
dataValue: 123,
}],
nullValueColor: {
color: 'color',
dataValue: 123,
},
};
Properties
| Name | Type | Description |
|---|---|---|
| color | string | Determines the color fill type. |
| colors? | IResolvable | (IResolvable | Data)[] | Determines the list of colors that are applied to the visual. |
| null | IResolvable | Data | Determines the color that is applied to null values. |
colorFillType?
Type:
string
(optional)
Determines the color fill type.
colors?
Type:
IResolvable | (IResolvable | Data)[]
(optional)
Determines the list of colors that are applied to the visual.
nullValueColor?
Type:
IResolvable | Data
(optional)
Determines the color that is applied to null values.

.NET
Go
Java
Python
TypeScript