# ChartAxisLabelOptionsProperty

The label options for an axis on a chart.

- Source: Generated code
- Type last changed: v2.93.0 · 23 Aug 2023

## 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 chartAxisLabelOptionsProperty: quicksight.CfnTemplate.ChartAxisLabelOptionsProperty = {
  axisLabelOptions: [{
    applyTo: {
      column: {
        columnName: 'columnName',

        // the properties below are optional
        dataSetIdentifier: 'dataSetIdentifier',
        topicIdentifier: 'topicIdentifier',
      },
      fieldId: 'fieldId',
    },
    customLabel: 'customLabel',
    fontConfiguration: {
      fontColor: 'fontColor',
      fontDecoration: 'fontDecoration',
      fontFamily: 'fontFamily',
      fontSize: {
        absolute: 'absolute',
        relative: 'relative',
      },
      fontStyle: 'fontStyle',
      fontWeight: {
        name: 'name',
      },
    },
  }],
  sortIconVisibility: 'sortIconVisibility',
  visibility: 'visibility',
};
```

## Properties

- `axisLabelOptions`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnTemplate.AxisLabelOptionsProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_quicksight.CfnTemplate.AxisLabelOptionsProperty.html)[] — The label options for a chart axis.

- `sortIconVisibility`: string — The visibility configuration of the sort icon on a chart's axis label.

- `visibility`: string — The visibility of an axis label on a chart. Choose one of the following options:.

  - `VISIBLE` : Shows the axis.
  - `HIDDEN` : Hides the axis.
