interface FilterSliderControlProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.QuickSight.CfnTemplate.FilterSliderControlProperty |
Java | software.amazon.awscdk.services.quicksight.CfnTemplate.FilterSliderControlProperty |
Python | aws_cdk.aws_quicksight.CfnTemplate.FilterSliderControlProperty |
TypeScript | @aws-cdk/aws-quicksight » CfnTemplate » FilterSliderControlProperty |
A control to display a horizontal toggle bar.
This is used to change a value by sliding the toggle.
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 filterSliderControlProperty: quicksight.CfnTemplate.FilterSliderControlProperty = {
filterControlId: 'filterControlId',
maximumValue: 123,
minimumValue: 123,
sourceFilterId: 'sourceFilterId',
stepSize: 123,
title: 'title',
// the properties below are optional
displayOptions: {
titleOptions: {
customLabel: 'customLabel',
fontConfiguration: {
fontColor: 'fontColor',
fontDecoration: 'fontDecoration',
fontSize: {
relative: 'relative',
},
fontStyle: 'fontStyle',
fontWeight: {
name: 'name',
},
},
visibility: 'visibility',
},
},
type: 'type',
};
Properties
| Name | Type | Description |
|---|---|---|
| filter | string | The ID of the FilterSliderControl . |
| maximum | number | The smaller value that is displayed at the left of the slider. |
| minimum | number | The larger value that is displayed at the right of the slider. |
| source | string | The source filter ID of the FilterSliderControl . |
| step | number | The number of increments that the slider bar is divided into. |
| title | string | The title of the FilterSliderControl . |
| display | IResolvable | Slider | The display options of a control. |
| type? | string | The type of FilterSliderControl . Choose one of the following options:. |
filterControlId
Type:
string
The ID of the FilterSliderControl .
maximumValue
Type:
number
The smaller value that is displayed at the left of the slider.
minimumValue
Type:
number
The larger value that is displayed at the right of the slider.
sourceFilterId
Type:
string
The source filter ID of the FilterSliderControl .
stepSize
Type:
number
The number of increments that the slider bar is divided into.
title
Type:
string
The title of the FilterSliderControl .
displayOptions?
Type:
IResolvable | Slider
(optional)
The display options of a control.
type?
Type:
string
(optional)
The type of FilterSliderControl . Choose one of the following options:.
SINGLE_POINT: Filter against(equals) a single data point.RANGE: Filter data that is in a specified range.

.NET
Java
Python
TypeScript