# SingleAxisOptionsProperty

The settings of a chart's single axis configuration.

- Source: Generated at build time
- Type last changed: v2.159.0 · 19 Sep 2024

## Example

TypeScript:

```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:

```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:

```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();
```

C# / .NET:

```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"
    }
};
```

Golang:

```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

- `yAxisOptions`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnAnalysis.YAxisOptionsProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_quicksight.CfnAnalysis.YAxisOptionsProperty.html) — The Y axis options of a single axis configuration.
