interface ColorScaleProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.QuickSight.Mixins.CfnDashboardPropsMixin.ColorScaleProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsquicksight/mixins#CfnDashboardPropsMixin_ColorScaleProperty |
Java | software.amazon.awscdk.mixins.preview.services.quicksight.mixins.CfnDashboardPropsMixin.ColorScaleProperty |
Python | aws_cdk.mixins_preview.aws_quicksight.mixins.CfnDashboardPropsMixin.ColorScaleProperty |
TypeScript | @aws-cdk/mixins-preview » aws_quicksight » mixins » CfnDashboardPropsMixin » 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 { mixins as quicksight_mixins } from '@aws-cdk/mixins-preview/aws-quicksight';
const colorScaleProperty: quicksight_mixins.CfnDashboardPropsMixin.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