Skip to content
v2.278.0

AxisLinearScaleProperty Struct ​

The liner axis scale setup.

This is a union type structure. For this structure to be valid, only one of the attributes can be defined.

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 axisLinearScaleProperty: quicksight.CfnAnalysis.AxisLinearScaleProperty = {
  stepCount: 123,
  stepSize: 123,
};
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

axis_linear_scale_property = quicksight.CfnAnalysis.AxisLinearScaleProperty(
    step_count=123,
    step_size=123
)
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.*;

AxisLinearScaleProperty axisLinearScaleProperty = AxisLinearScaleProperty.builder()
        .stepCount(123)
        .stepSize(123)
        .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 axisLinearScaleProperty = new AxisLinearScaleProperty {
    StepCount = 123,
    StepSize = 123
};
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"

axisLinearScaleProperty := &AxisLinearScaleProperty{
	StepCount: jsii.Number(123),
	StepSize: jsii.Number(123),
}

Properties ​

stepCountoptionalnumberstep_countoptionalint | floatstepCountoptionalNumberStepCountoptionaldoubleStepCountoptional*float64 #
The step count setup of a linear axis.
stepSizeoptionalnumberstep_sizeoptionalint | floatstepSizeoptionalNumberStepSizeoptionaldoubleStepSizeoptional*float64 #
The step size setup of a linear axis.