aws-cdk-lib.aws_quicksight.CfnDashboard.ChartAxisLabelOptionsProperty

interface ChartAxisLabelOptionsProperty

LanguageType name
.NETAmazon.CDK.AWS.QuickSight.CfnDashboard.ChartAxisLabelOptionsProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsquicksight#CfnDashboard_ChartAxisLabelOptionsProperty
Javasoftware.amazon.awscdk.services.quicksight.CfnDashboard.ChartAxisLabelOptionsProperty
Pythonaws_cdk.aws_quicksight.CfnDashboard.ChartAxisLabelOptionsProperty
TypeScript aws-cdk-lib » aws_quicksight » CfnDashboard » ChartAxisLabelOptionsProperty

The label options for an axis on a chart.

Example

// 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.CfnDashboard.ChartAxisLabelOptionsProperty = {
  axisLabelOptions: [{
    applyTo: {
      column: {
        columnName: 'columnName',
        dataSetIdentifier: 'dataSetIdentifier',
      },
      fieldId: 'fieldId',
    },
    customLabel: 'customLabel',
    fontConfiguration: {
      fontColor: 'fontColor',
      fontDecoration: 'fontDecoration',
      fontSize: {
        relative: 'relative',
      },
      fontStyle: 'fontStyle',
      fontWeight: {
        name: 'name',
      },
    },
  }],
  sortIconVisibility: 'sortIconVisibility',
  visibility: 'visibility',
};

Properties

NameTypeDescription
axisLabelOptions?IResolvable | IResolvable | AxisLabelOptionsProperty[]The label options for a chart axis.
sortIconVisibility?stringThe visibility configuration of the sort icon on a chart's axis label.
visibility?stringThe visibility of an axis label on a chart. Choose one of the following options:.

axisLabelOptions?

Type: IResolvable | IResolvable | AxisLabelOptionsProperty[] (optional)

The label options for a chart axis.


sortIconVisibility?

Type: string (optional)

The visibility configuration of the sort icon on a chart's axis label.


visibility?

Type: string (optional)

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

  • VISIBLE : Shows the axis.
  • HIDDEN : Hides the axis.