AxisDataOptionsProperty Struct
The data options for an axis.
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';
declare const dataDriven: any;
const axisDataOptionsProperty: quicksight.CfnAnalysis.AxisDataOptionsProperty = {
dateAxisOptions: {
missingDateVisibility: 'missingDateVisibility',
},
numericAxisOptions: {
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
axis_data_options_property = quicksight.CfnAnalysis.AxisDataOptionsProperty(
date_axis_options=quicksight.CfnAnalysis.DateAxisOptionsProperty(
missing_date_visibility="missingDateVisibility"
),
numeric_axis_options=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;
AxisDataOptionsProperty axisDataOptionsProperty = AxisDataOptionsProperty.builder()
.dateAxisOptions(DateAxisOptionsProperty.builder()
.missingDateVisibility("missingDateVisibility")
.build())
.numericAxisOptions(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())
.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 axisDataOptionsProperty = new AxisDataOptionsProperty {
DateAxisOptions = new DateAxisOptionsProperty {
MissingDateVisibility = "missingDateVisibility"
},
NumericAxisOptions = 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{}
axisDataOptionsProperty := &AxisDataOptionsProperty{
DateAxisOptions: &DateAxisOptionsProperty{
MissingDateVisibility: jsii.String("missingDateVisibility"),
},
NumericAxisOptions: &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
dateAxisOptionsoptionalIResolvable | CfnAnalysis.date_axis_optionsoptionaltyping.Union[IResolvable, DateAxisOptionsProperty]dateAxisOptionsoptionalIResolvableDateAxisOptionsoptionalIResolvableDateAxisOptionsoptionalinterface{} #The options for an axis with a date field.
numericAxisOptionsoptionalIResolvable | CfnAnalysis.numeric_axis_optionsoptionaltyping.Union[IResolvable, NumericAxisOptionsProperty]numericAxisOptionsoptionalIResolvableNumericAxisOptionsoptionalIResolvableNumericAxisOptionsoptionalinterface{} #The options for an axis with a numeric field.