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

.NET
Go
Java
Python
TypeScript