NumericAxisOptionsProperty Struct
The options for an axis with a numeric field.
| Source | |
|---|---|
| Type last changed |
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 numericAxisOptionsProperty: quicksight.CfnAnalysis.NumericAxisOptionsProperty = {
range: {
dataDriven: dataDriven,
minMax: {
maximum: 123,
minimum: 123,
},
},
scale: {
linear: {
stepCount: 123,
stepSize: 123,
},
logarithmic: {
base: 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
numeric_axis_options_property = quicksight.CfnAnalysis.NumericAxisOptionsProperty(
range=quicksight.CfnAnalysis.AxisDisplayRangeProperty(
data_driven=data_driven,
min_max=quicksight.CfnAnalysis.AxisDisplayMinMaxRangeProperty(
maximum=123,
minimum=123
)
),
scale=quicksight.CfnAnalysis.AxisScaleProperty(
linear=quicksight.CfnAnalysis.AxisLinearScaleProperty(
step_count=123,
step_size=123
),
logarithmic=quicksight.CfnAnalysis.AxisLogarithmicScaleProperty(
base=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;
NumericAxisOptionsProperty numericAxisOptionsProperty = NumericAxisOptionsProperty.builder()
.range(AxisDisplayRangeProperty.builder()
.dataDriven(dataDriven)
.minMax(AxisDisplayMinMaxRangeProperty.builder()
.maximum(123)
.minimum(123)
.build())
.build())
.scale(AxisScaleProperty.builder()
.linear(AxisLinearScaleProperty.builder()
.stepCount(123)
.stepSize(123)
.build())
.logarithmic(AxisLogarithmicScaleProperty.builder()
.base(123)
.build())
.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 numericAxisOptionsProperty = new NumericAxisOptionsProperty {
Range = new AxisDisplayRangeProperty {
DataDriven = dataDriven,
MinMax = new AxisDisplayMinMaxRangeProperty {
Maximum = 123,
Minimum = 123
}
},
Scale = new AxisScaleProperty {
Linear = new AxisLinearScaleProperty {
StepCount = 123,
StepSize = 123
},
Logarithmic = new AxisLogarithmicScaleProperty {
Base = 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{}
numericAxisOptionsProperty := &NumericAxisOptionsProperty{
Range: &AxisDisplayRangeProperty{
DataDriven: dataDriven,
MinMax: &AxisDisplayMinMaxRangeProperty{
Maximum: jsii.Number(123),
Minimum: jsii.Number(123),
},
},
Scale: &AxisScaleProperty{
Linear: &AxisLinearScaleProperty{
StepCount: jsii.Number(123),
StepSize: jsii.Number(123),
},
Logarithmic: &AxisLogarithmicScaleProperty{
Base: jsii.Number(123),
},
},
}
Properties
rangeoptionalIResolvable | CfnAnalysis.rangeoptionaltyping.Union[IResolvable, AxisDisplayRangeProperty]rangeoptionalIResolvableRangeoptionalIResolvableRangeoptionalinterface{} #The range setup of a numeric axis.
scaleoptionalIResolvable | CfnAnalysis.AxisScalePropertyscaleoptionaltyping.Union[IResolvable, AxisScaleProperty]scaleoptionalIResolvableScaleoptionalIResolvableScaleoptionalinterface{} #The scale setup of a numeric axis.