# VisualPaletteProperty

The visual display options for the visual palette.

- Source: Generated code
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

```ts
// 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 visualPaletteProperty: quicksight.CfnAnalysis.VisualPaletteProperty = {
  chartColor: 'chartColor',
  colorMap: [{
    color: 'color',
    element: {
      dataPathType: {
        pivotTableDataPathType: 'pivotTableDataPathType',
      },
      fieldId: 'fieldId',
      fieldValue: 'fieldValue',
    },

    // the properties below are optional
    timeGranularity: 'timeGranularity',
  }],
};
```

## Properties

- `chartColor`: string — The chart color options for the visual palette.

- `colorMap`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnAnalysis.DataPathColorProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_quicksight.CfnAnalysis.DataPathColorProperty.html)[] — The color map options for the visual palette.
