Skip to content
v2.278.0

AxisDisplayRangeProperty Struct ​

The range setup of a numeric axis display range.

This is a union type structure. For this structure to be valid, only one of the attributes can be defined.

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';

declare const dataDriven: any;
const axisDisplayRangeProperty: quicksight.CfnAnalysis.AxisDisplayRangeProperty = {
  dataDriven: dataDriven,
  minMax: {
    maximum: 123,
    minimum: 123,
  },
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_quicksight as quicksight

# data_driven: Any

axis_display_range_property = quicksight.CfnAnalysis.AxisDisplayRangeProperty(
    data_driven=data_driven,
    min_max=quicksight.CfnAnalysis.AxisDisplayMinMaxRangeProperty(
        maximum=123,
        minimum=123
    )
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.quicksight.*;

Object dataDriven;

AxisDisplayRangeProperty axisDisplayRangeProperty = AxisDisplayRangeProperty.builder()
        .dataDriven(dataDriven)
        .minMax(AxisDisplayMinMaxRangeProperty.builder()
                .maximum(123)
                .minimum(123)
                .build())
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.QuickSight;

var dataDriven;

var axisDisplayRangeProperty = new AxisDisplayRangeProperty {
    DataDriven = dataDriven,
    MinMax = new AxisDisplayMinMaxRangeProperty {
        Maximum = 123,
        Minimum = 123
    }
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

var dataDriven interface{}

axisDisplayRangeProperty := &AxisDisplayRangeProperty{
	DataDriven: dataDriven,
	MinMax: &AxisDisplayMinMaxRangeProperty{
		Maximum: jsii.Number(123),
		Minimum: jsii.Number(123),
	},
}

Properties ​

dataDrivenoptionalanydata_drivenoptionalAnydataDrivenoptionalObjectDataDrivenoptionalobjectDataDrivenoptionalinterface{} #
The data-driven setup of an axis display range.
minMaxoptionalIResolvable | CfnAnalysis.AxisDisplayMinMaxRangePropertymin_maxoptionaltyping.Union[IResolvable, AxisDisplayMinMaxRangeProperty]minMaxoptionalIResolvableMinMaxoptionalIResolvableMinMaxoptionalinterface{} #
The minimum and maximum setup of an axis display range.