AxisScaleProperty
Struct External
The scale setup options for a numeric axis display.
This is a union type structure. For this structure to be valid, only one of the attributes can be defined.
| 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';
const axisScaleProperty: quicksight.CfnAnalysis.AxisScaleProperty = {
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
axis_scale_property = 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.*;
AxisScaleProperty axisScaleProperty = AxisScaleProperty.builder()
.linear(AxisLinearScaleProperty.builder()
.stepCount(123)
.stepSize(123)
.build())
.logarithmic(AxisLogarithmicScaleProperty.builder()
.base(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 axisScaleProperty = 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"
axisScaleProperty := &AxisScaleProperty{
Linear: &AxisLinearScaleProperty{
StepCount: jsii.Number(123),
StepSize: jsii.Number(123),
},
Logarithmic: &AxisLogarithmicScaleProperty{
Base: jsii.Number(123),
},
}
Properties
linearoptionalIResolvable | CfnAnalysis.linearoptionaltyping.Union[IResolvable, AxisLinearScaleProperty]linearoptionalIResolvableLinearoptionalIResolvableLinearoptionalinterface{} #The linear axis scale setup.
logarithmicoptionalIResolvable | CfnAnalysis.logarithmicoptionaltyping.Union[IResolvable, AxisLogarithmicScaleProperty]logarithmicoptionalIResolvableLogarithmicoptionalIResolvableLogarithmicoptionalinterface{} #The logarithmic axis scale setup.