Skip to content
v2.278.0

YAxisOptionsProperty Struct ​

The options that are available for a single Y axis in a chart.

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 yAxisOptionsProperty: quicksight.CfnAnalysis.YAxisOptionsProperty = {
  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

y_axis_options_property = 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.*;

YAxisOptionsProperty yAxisOptionsProperty = YAxisOptionsProperty.builder()
        .yAxis("yAxis")
        .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 yAxisOptionsProperty = 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"

yAxisOptionsProperty := &YAxisOptionsProperty{
	YAxis: jsii.String("yAxis"),
}

Properties ​

yAxisstringy_axisstryAxisStringYAxisstringYAxis*string required #
The Y axis type to be used in the chart.

If you choose PRIMARY_Y_AXIS , the primary Y Axis is located on the leftmost vertical axis of the chart.