Skip to content
v2.274.0

VisualPaletteProperty Struct ​

The visual display options for the visual palette.

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.CfnTemplate.VisualPaletteProperty = {
  chartColor: 'chartColor',
  colorMap: [{
    color: 'color',
    element: {
      dataPathType: {
        pivotTableDataPathType: 'pivotTableDataPathType',
      },
      fieldId: 'fieldId',
      fieldValue: 'fieldValue',
    },

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

Properties ​

chartColorstringchart_colorstrchartColorStringChartColorstringChartColor*string#
The chart color options for the visual palette.
colorMapIResolvable | IResolvable | CfnTemplate.DataPathColorProperty[]color_maptyping.Union[IResolvable, typing.List[typing.Union[IResolvable, DataPathColorProperty]]]colorMapIResolvableColorMapIResolvableColorMapinterface{}#
The color map options for the visual palette.