interface DataColorPaletteProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.QuickSight.CfnTheme.DataColorPaletteProperty |
Java | software.amazon.awscdk.services.quicksight.CfnTheme.DataColorPaletteProperty |
Python | aws_cdk.aws_quicksight.CfnTheme.DataColorPaletteProperty |
TypeScript | @aws-cdk/aws-quicksight » CfnTheme » DataColorPaletteProperty |
The theme colors that are used for data colors in charts.
The colors description is a hexadecimal color code that consists of six alphanumerical characters, prefixed with #
, for example #37BFF5.
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 dataColorPaletteProperty: quicksight.CfnTheme.DataColorPaletteProperty = {
colors: ['colors'],
emptyFillColor: 'emptyFillColor',
minMaxGradient: ['minMaxGradient'],
};
Properties
Name | Type | Description |
---|---|---|
colors? | string[] | The hexadecimal codes for the colors. |
empty | string | The hexadecimal code of a color that applies to charts where a lack of data is highlighted. |
min | string[] | The minimum and maximum hexadecimal codes that describe a color gradient. |
colors?
Type:
string[]
(optional)
The hexadecimal codes for the colors.
emptyFillColor?
Type:
string
(optional)
The hexadecimal code of a color that applies to charts where a lack of data is highlighted.
minMaxGradient?
Type:
string[]
(optional)
The minimum and maximum hexadecimal codes that describe a color gradient.