AxisDisplayOptionsProperty Struct
The display options for the axis label.
| 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 axisDisplayOptionsProperty: quicksight.CfnDashboard.AxisDisplayOptionsProperty = {
axisLineVisibility: 'axisLineVisibility',
axisOffset: 'axisOffset',
dataOptions: {
dateAxisOptions: {
missingDateVisibility: 'missingDateVisibility',
},
numericAxisOptions: {
range: {
dataDriven: dataDriven,
minMax: {
maximum: 123,
minimum: 123,
},
},
scale: {
linear: {
stepCount: 123,
stepSize: 123,
},
logarithmic: {
base: 123,
},
},
},
},
gridLineVisibility: 'gridLineVisibility',
scrollbarOptions: {
visibility: 'visibility',
visibleRange: {
percentRange: {
from: 123,
to: 123,
},
},
},
tickLabelOptions: {
labelOptions: {
customLabel: 'customLabel',
fontConfiguration: {
fontColor: 'fontColor',
fontDecoration: 'fontDecoration',
fontFamily: 'fontFamily',
fontSize: {
absolute: 'absolute',
relative: 'relative',
},
fontStyle: 'fontStyle',
fontWeight: {
name: 'name',
},
},
visibility: 'visibility',
},
rotationAngle: 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_options_property = quicksight.CfnDashboard.AxisDisplayOptionsProperty(
axis_line_visibility="axisLineVisibility",
axis_offset="axisOffset",
data_options=quicksight.CfnDashboard.AxisDataOptionsProperty(
date_axis_options=quicksight.CfnDashboard.DateAxisOptionsProperty(
missing_date_visibility="missingDateVisibility"
),
numeric_axis_options=quicksight.CfnDashboard.NumericAxisOptionsProperty(
range=quicksight.CfnDashboard.AxisDisplayRangeProperty(
data_driven=data_driven,
min_max=quicksight.CfnDashboard.AxisDisplayMinMaxRangeProperty(
maximum=123,
minimum=123
)
),
scale=quicksight.CfnDashboard.AxisScaleProperty(
linear=quicksight.CfnDashboard.AxisLinearScaleProperty(
step_count=123,
step_size=123
),
logarithmic=quicksight.CfnDashboard.AxisLogarithmicScaleProperty(
base=123
)
)
)
),
grid_line_visibility="gridLineVisibility",
scrollbar_options=quicksight.CfnDashboard.ScrollBarOptionsProperty(
visibility="visibility",
visible_range=quicksight.CfnDashboard.VisibleRangeOptionsProperty(
percent_range=quicksight.CfnDashboard.PercentVisibleRangeProperty(
from=123,
to=123
)
)
),
tick_label_options=quicksight.CfnDashboard.AxisTickLabelOptionsProperty(
label_options=quicksight.CfnDashboard.LabelOptionsProperty(
custom_label="customLabel",
font_configuration=quicksight.CfnDashboard.FontConfigurationProperty(
font_color="fontColor",
font_decoration="fontDecoration",
font_family="fontFamily",
font_size=quicksight.CfnDashboard.FontSizeProperty(
absolute="absolute",
relative="relative"
),
font_style="fontStyle",
font_weight=quicksight.CfnDashboard.FontWeightProperty(
name="name"
)
),
visibility="visibility"
),
rotation_angle=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;
AxisDisplayOptionsProperty axisDisplayOptionsProperty = AxisDisplayOptionsProperty.builder()
.axisLineVisibility("axisLineVisibility")
.axisOffset("axisOffset")
.dataOptions(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())
.gridLineVisibility("gridLineVisibility")
.scrollbarOptions(ScrollBarOptionsProperty.builder()
.visibility("visibility")
.visibleRange(VisibleRangeOptionsProperty.builder()
.percentRange(PercentVisibleRangeProperty.builder()
.from(123)
.to(123)
.build())
.build())
.build())
.tickLabelOptions(AxisTickLabelOptionsProperty.builder()
.labelOptions(LabelOptionsProperty.builder()
.customLabel("customLabel")
.fontConfiguration(FontConfigurationProperty.builder()
.fontColor("fontColor")
.fontDecoration("fontDecoration")
.fontFamily("fontFamily")
.fontSize(FontSizeProperty.builder()
.absolute("absolute")
.relative("relative")
.build())
.fontStyle("fontStyle")
.fontWeight(FontWeightProperty.builder()
.name("name")
.build())
.build())
.visibility("visibility")
.build())
.rotationAngle(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 axisDisplayOptionsProperty = new AxisDisplayOptionsProperty {
AxisLineVisibility = "axisLineVisibility",
AxisOffset = "axisOffset",
DataOptions = 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
}
}
}
},
GridLineVisibility = "gridLineVisibility",
ScrollbarOptions = new ScrollBarOptionsProperty {
Visibility = "visibility",
VisibleRange = new VisibleRangeOptionsProperty {
PercentRange = new PercentVisibleRangeProperty {
From = 123,
To = 123
}
}
},
TickLabelOptions = new AxisTickLabelOptionsProperty {
LabelOptions = new LabelOptionsProperty {
CustomLabel = "customLabel",
FontConfiguration = new FontConfigurationProperty {
FontColor = "fontColor",
FontDecoration = "fontDecoration",
FontFamily = "fontFamily",
FontSize = new FontSizeProperty {
Absolute = "absolute",
Relative = "relative"
},
FontStyle = "fontStyle",
FontWeight = new FontWeightProperty {
Name = "name"
}
},
Visibility = "visibility"
},
RotationAngle = 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{}
axisDisplayOptionsProperty := &AxisDisplayOptionsProperty{
AxisLineVisibility: jsii.String("axisLineVisibility"),
AxisOffset: jsii.String("axisOffset"),
DataOptions: &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),
},
},
},
},
GridLineVisibility: jsii.String("gridLineVisibility"),
ScrollbarOptions: &ScrollBarOptionsProperty{
Visibility: jsii.String("visibility"),
VisibleRange: &VisibleRangeOptionsProperty{
PercentRange: &PercentVisibleRangeProperty{
From: jsii.Number(123),
To: jsii.Number(123),
},
},
},
TickLabelOptions: &AxisTickLabelOptionsProperty{
LabelOptions: &LabelOptionsProperty{
CustomLabel: jsii.String("customLabel"),
FontConfiguration: &FontConfigurationProperty{
FontColor: jsii.String("fontColor"),
FontDecoration: jsii.String("fontDecoration"),
FontFamily: jsii.String("fontFamily"),
FontSize: &FontSizeProperty{
Absolute: jsii.String("absolute"),
Relative: jsii.String("relative"),
},
FontStyle: jsii.String("fontStyle"),
FontWeight: &FontWeightProperty{
Name: jsii.String("name"),
},
},
Visibility: jsii.String("visibility"),
},
RotationAngle: jsii.Number(123),
},
}
Properties
axisLineVisibilityoptionalstringaxis_line_visibilityoptionalstraxisLineVisibilityoptionalStringAxisLineVisibilityoptionalstringAxisLineVisibilityoptional*string #Determines whether or not the axis line is visible.
axisOffsetoptionalstringaxis_offsetoptionalstraxisOffsetoptionalStringAxisOffsetoptionalstringAxisOffsetoptional*string #The offset value that determines the starting placement of the axis within a visual's bounds.
dataOptionsoptionalIResolvable | CfnDashboard.data_optionsoptionaltyping.Union[IResolvable, AxisDataOptionsProperty]dataOptionsoptionalIResolvableDataOptionsoptionalIResolvableDataOptionsoptionalinterface{} #The data options for an axis.
gridLineVisibilityoptionalstringgrid_line_visibilityoptionalstrgridLineVisibilityoptionalStringGridLineVisibilityoptionalstringGridLineVisibilityoptional*string #Determines whether or not the grid line is visible.
scrollbarOptionsoptionalIResolvable | CfnDashboard.scrollbar_optionsoptionaltyping.Union[IResolvable, ScrollBarOptionsProperty]scrollbarOptionsoptionalIResolvableScrollbarOptionsoptionalIResolvableScrollbarOptionsoptionalinterface{} #The scroll bar options for an axis.
tickLabelOptionsoptionalIResolvable | CfnDashboard.tick_label_optionsoptionaltyping.Union[IResolvable, AxisTickLabelOptionsProperty]tickLabelOptionsoptionalIResolvableTickLabelOptionsoptionalIResolvableTickLabelOptionsoptionalinterface{} #The tick label options of an axis.