interface ColorScaleProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.QuickSight.CfnAnalysis.ColorScaleProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsquicksight#CfnAnalysis_ColorScaleProperty |
Java | software.amazon.awscdk.services.quicksight.CfnAnalysis.ColorScaleProperty |
Python | aws_cdk.aws_quicksight.CfnAnalysis.ColorScaleProperty |
TypeScript | aws-cdk-lib » aws_quicksight » CfnAnalysis » 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-lib';
const colorScaleProperty: quicksight.CfnAnalysis.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.

.NET
Go
Java
Python
TypeScript