TooltipOptionsProperty Struct
The display options for the visual tooltip.
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 tooltipOptionsProperty: quicksight.CfnDashboard.TooltipOptionsProperty = {
fieldBasedTooltip: {
aggregationVisibility: 'aggregationVisibility',
tooltipFields: [{
columnTooltipItem: {
column: {
columnName: 'columnName',
// the properties below are optional
dataSetIdentifier: 'dataSetIdentifier',
topicIdentifier: 'topicIdentifier',
},
// the properties below are optional
aggregation: {
attributeAggregationFunction: {
simpleAttributeAggregation: 'simpleAttributeAggregation',
valueForMultipleValues: 'valueForMultipleValues',
},
categoricalAggregationFunction: 'categoricalAggregationFunction',
dateAggregationFunction: 'dateAggregationFunction',
numericalAggregationFunction: {
percentileAggregation: {
percentileValue: 123,
},
simpleNumericalAggregation: 'simpleNumericalAggregation',
},
},
label: 'label',
tooltipTarget: 'tooltipTarget',
visibility: 'visibility',
},
fieldTooltipItem: {
fieldId: 'fieldId',
// the properties below are optional
label: 'label',
tooltipTarget: 'tooltipTarget',
visibility: 'visibility',
},
}],
tooltipTitleType: 'tooltipTitleType',
},
selectedTooltipType: 'selectedTooltipType',
tooltipVisibility: 'tooltipVisibility',
};
Properties
fieldBasedTooltipoptionalIResolvable | CfnDashboard.FieldBasedTooltipPropertyfield_based_tooltipoptionaltyping.Union[IResolvable, FieldBasedTooltipProperty]fieldBasedTooltipoptionalIResolvableFieldBasedTooltipoptionalIResolvableFieldBasedTooltipoptionalinterface{}#The setup for the detailed tooltip.
The tooltip setup is always saved. The display type is decided based on the tooltip type.
selectedTooltipTypeoptionalstringselected_tooltip_typeoptionalstrselectedTooltipTypeoptionalStringSelectedTooltipTypeoptionalstringSelectedTooltipTypeoptional*string#The selected type for the tooltip. Choose one of the following options:.
BASIC: A basic tooltip.DETAILED: A detailed tooltip.
tooltipVisibilityoptionalstringtooltip_visibilityoptionalstrtooltipVisibilityoptionalStringTooltipVisibilityoptionalstringTooltipVisibilityoptional*string#Determines whether or not the tooltip is visible.