Skip to content
v2.278.0

SingleAxisOptionsProperty Struct ​

The settings of a chart's single axis configuration.

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 singleAxisOptionsProperty: quicksight.CfnAnalysis.SingleAxisOptionsProperty = {
  yAxisOptions: {
    yAxis: 'yAxis',
  },
};
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

single_axis_options_property = quicksight.CfnAnalysis.SingleAxisOptionsProperty(
    y_axis_options=quicksight.CfnAnalysis.YAxisOptionsProperty(
        y_axis="yAxis"
    )
)
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.*;

SingleAxisOptionsProperty singleAxisOptionsProperty = SingleAxisOptionsProperty.builder()
        .yAxisOptions(YAxisOptionsProperty.builder()
                .yAxis("yAxis")
                .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 singleAxisOptionsProperty = new SingleAxisOptionsProperty {
    YAxisOptions = new YAxisOptionsProperty {
        YAxis = "yAxis"
    }
};
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"

singleAxisOptionsProperty := &SingleAxisOptionsProperty{
	YAxisOptions: &YAxisOptionsProperty{
		YAxis: jsii.String("yAxis"),
	},
}

Properties ​

yAxisOptionsoptionalIResolvable | CfnAnalysis.YAxisOptionsPropertyy_axis_optionsoptionaltyping.Union[IResolvable, YAxisOptionsProperty]yAxisOptionsoptionalIResolvableYAxisOptionsoptionalIResolvableYAxisOptionsoptionalinterface{} #
The Y axis options of a single axis configuration.