interface ColorScaleProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.QuickSight.CfnTemplate.ColorScaleProperty |
![]() | software.amazon.awscdk.services.quicksight.CfnTemplate.ColorScaleProperty |
![]() | aws_cdk.aws_quicksight.CfnTemplate.ColorScaleProperty |
![]() | @aws-cdk/aws-quicksight » CfnTemplate » 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 * as quicksight from '@aws-cdk/aws-quicksight';
const colorScaleProperty: quicksight.CfnTemplate.ColorScaleProperty = {
colorFillType: 'colorFillType',
colors: [{
color: 'color',
dataValue: 123,
}],
// the properties below are optional
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
Determines the color fill type.
colors
Type:
IResolvable
|
IResolvable
|
Data
[]
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.