Skip to content
v2.278.0

LineSeriesAxisDisplayOptionsProperty Struct ​

The series axis configuration of a line 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';

declare const dataDriven: any;
const lineSeriesAxisDisplayOptionsProperty: quicksight.CfnAnalysis.LineSeriesAxisDisplayOptionsProperty = {
  axisOptions: {
    axisLineVisibility: 'axisLineVisibility',
    axisOffset: 'axisOffset',
    dataOptions: {
      dateAxisOptions: {
        missingDateVisibility: 'missingDateVisibility',
      },
      numericAxisOptions: {
        range: {
          dataDriven: dataDriven,
          minMax: {
            maximum: 123,
            minimum: 123,
          },
        },
        scale: {
          linear: {
            stepCount: 123,
            stepSize: 123,
          },
          logarithmic: {
            base: 123,
          },
        },
      },
    },
    gridLineVisibility: 'gridLineVisibility',
    scrollbarOptions: {
      visibility: 'visibility',
      visibleRange: {
        percentRange: {
          from: 123,
          to: 123,
        },
      },
    },
    tickLabelOptions: {
      labelOptions: {
        customLabel: 'customLabel',
        fontConfiguration: {
          fontColor: 'fontColor',
          fontDecoration: 'fontDecoration',
          fontFamily: 'fontFamily',
          fontSize: {
            absolute: 'absolute',
            relative: 'relative',
          },
          fontStyle: 'fontStyle',
          fontWeight: {
            name: 'name',
          },
        },
        visibility: 'visibility',
      },
      rotationAngle: 123,
    },
  },
  missingDataConfigurations: [{
    treatmentOption: 'treatmentOption',
  }],
};
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

# data_driven: Any

line_series_axis_display_options_property = quicksight.CfnAnalysis.LineSeriesAxisDisplayOptionsProperty(
    axis_options=quicksight.CfnAnalysis.AxisDisplayOptionsProperty(
        axis_line_visibility="axisLineVisibility",
        axis_offset="axisOffset",
        data_options=quicksight.CfnAnalysis.AxisDataOptionsProperty(
            date_axis_options=quicksight.CfnAnalysis.DateAxisOptionsProperty(
                missing_date_visibility="missingDateVisibility"
            ),
            numeric_axis_options=quicksight.CfnAnalysis.NumericAxisOptionsProperty(
                range=quicksight.CfnAnalysis.AxisDisplayRangeProperty(
                    data_driven=data_driven,
                    min_max=quicksight.CfnAnalysis.AxisDisplayMinMaxRangeProperty(
                        maximum=123,
                        minimum=123
                    )
                ),
                scale=quicksight.CfnAnalysis.AxisScaleProperty(
                    linear=quicksight.CfnAnalysis.AxisLinearScaleProperty(
                        step_count=123,
                        step_size=123
                    ),
                    logarithmic=quicksight.CfnAnalysis.AxisLogarithmicScaleProperty(
                        base=123
                    )
                )
            )
        ),
        grid_line_visibility="gridLineVisibility",
        scrollbar_options=quicksight.CfnAnalysis.ScrollBarOptionsProperty(
            visibility="visibility",
            visible_range=quicksight.CfnAnalysis.VisibleRangeOptionsProperty(
                percent_range=quicksight.CfnAnalysis.PercentVisibleRangeProperty(
                    from=123,
                    to=123
                )
            )
        ),
        tick_label_options=quicksight.CfnAnalysis.AxisTickLabelOptionsProperty(
            label_options=quicksight.CfnAnalysis.LabelOptionsProperty(
                custom_label="customLabel",
                font_configuration=quicksight.CfnAnalysis.FontConfigurationProperty(
                    font_color="fontColor",
                    font_decoration="fontDecoration",
                    font_family="fontFamily",
                    font_size=quicksight.CfnAnalysis.FontSizeProperty(
                        absolute="absolute",
                        relative="relative"
                    ),
                    font_style="fontStyle",
                    font_weight=quicksight.CfnAnalysis.FontWeightProperty(
                        name="name"
                    )
                ),
                visibility="visibility"
            ),
            rotation_angle=123
        )
    ),
    missing_data_configurations=[quicksight.CfnAnalysis.MissingDataConfigurationProperty(
        treatment_option="treatmentOption"
    )]
)
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.*;

Object dataDriven;

LineSeriesAxisDisplayOptionsProperty lineSeriesAxisDisplayOptionsProperty = LineSeriesAxisDisplayOptionsProperty.builder()
        .axisOptions(AxisDisplayOptionsProperty.builder()
                .axisLineVisibility("axisLineVisibility")
                .axisOffset("axisOffset")
                .dataOptions(AxisDataOptionsProperty.builder()
                        .dateAxisOptions(DateAxisOptionsProperty.builder()
                                .missingDateVisibility("missingDateVisibility")
                                .build())
                        .numericAxisOptions(NumericAxisOptionsProperty.builder()
                                .range(AxisDisplayRangeProperty.builder()
                                        .dataDriven(dataDriven)
                                        .minMax(AxisDisplayMinMaxRangeProperty.builder()
                                                .maximum(123)
                                                .minimum(123)
                                                .build())
                                        .build())
                                .scale(AxisScaleProperty.builder()
                                        .linear(AxisLinearScaleProperty.builder()
                                                .stepCount(123)
                                                .stepSize(123)
                                                .build())
                                        .logarithmic(AxisLogarithmicScaleProperty.builder()
                                                .base(123)
                                                .build())
                                        .build())
                                .build())
                        .build())
                .gridLineVisibility("gridLineVisibility")
                .scrollbarOptions(ScrollBarOptionsProperty.builder()
                        .visibility("visibility")
                        .visibleRange(VisibleRangeOptionsProperty.builder()
                                .percentRange(PercentVisibleRangeProperty.builder()
                                        .from(123)
                                        .to(123)
                                        .build())
                                .build())
                        .build())
                .tickLabelOptions(AxisTickLabelOptionsProperty.builder()
                        .labelOptions(LabelOptionsProperty.builder()
                                .customLabel("customLabel")
                                .fontConfiguration(FontConfigurationProperty.builder()
                                        .fontColor("fontColor")
                                        .fontDecoration("fontDecoration")
                                        .fontFamily("fontFamily")
                                        .fontSize(FontSizeProperty.builder()
                                                .absolute("absolute")
                                                .relative("relative")
                                                .build())
                                        .fontStyle("fontStyle")
                                        .fontWeight(FontWeightProperty.builder()
                                                .name("name")
                                                .build())
                                        .build())
                                .visibility("visibility")
                                .build())
                        .rotationAngle(123)
                        .build())
                .build())
        .missingDataConfigurations(List.of(MissingDataConfigurationProperty.builder()
                .treatmentOption("treatmentOption")
                .build()))
        .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 dataDriven;

var lineSeriesAxisDisplayOptionsProperty = new LineSeriesAxisDisplayOptionsProperty {
    AxisOptions = new AxisDisplayOptionsProperty {
        AxisLineVisibility = "axisLineVisibility",
        AxisOffset = "axisOffset",
        DataOptions = new AxisDataOptionsProperty {
            DateAxisOptions = new DateAxisOptionsProperty {
                MissingDateVisibility = "missingDateVisibility"
            },
            NumericAxisOptions = new NumericAxisOptionsProperty {
                Range = new AxisDisplayRangeProperty {
                    DataDriven = dataDriven,
                    MinMax = new AxisDisplayMinMaxRangeProperty {
                        Maximum = 123,
                        Minimum = 123
                    }
                },
                Scale = new AxisScaleProperty {
                    Linear = new AxisLinearScaleProperty {
                        StepCount = 123,
                        StepSize = 123
                    },
                    Logarithmic = new AxisLogarithmicScaleProperty {
                        Base = 123
                    }
                }
            }
        },
        GridLineVisibility = "gridLineVisibility",
        ScrollbarOptions = new ScrollBarOptionsProperty {
            Visibility = "visibility",
            VisibleRange = new VisibleRangeOptionsProperty {
                PercentRange = new PercentVisibleRangeProperty {
                    From = 123,
                    To = 123
                }
            }
        },
        TickLabelOptions = new AxisTickLabelOptionsProperty {
            LabelOptions = new LabelOptionsProperty {
                CustomLabel = "customLabel",
                FontConfiguration = new FontConfigurationProperty {
                    FontColor = "fontColor",
                    FontDecoration = "fontDecoration",
                    FontFamily = "fontFamily",
                    FontSize = new FontSizeProperty {
                        Absolute = "absolute",
                        Relative = "relative"
                    },
                    FontStyle = "fontStyle",
                    FontWeight = new FontWeightProperty {
                        Name = "name"
                    }
                },
                Visibility = "visibility"
            },
            RotationAngle = 123
        }
    },
    MissingDataConfigurations = new [] { new MissingDataConfigurationProperty {
        TreatmentOption = "treatmentOption"
    } }
};
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"

var dataDriven interface{}

lineSeriesAxisDisplayOptionsProperty := &LineSeriesAxisDisplayOptionsProperty{
	AxisOptions: &AxisDisplayOptionsProperty{
		AxisLineVisibility: jsii.String("axisLineVisibility"),
		AxisOffset: jsii.String("axisOffset"),
		DataOptions: &AxisDataOptionsProperty{
			DateAxisOptions: &DateAxisOptionsProperty{
				MissingDateVisibility: jsii.String("missingDateVisibility"),
			},
			NumericAxisOptions: &NumericAxisOptionsProperty{
				Range: &AxisDisplayRangeProperty{
					DataDriven: dataDriven,
					MinMax: &AxisDisplayMinMaxRangeProperty{
						Maximum: jsii.Number(123),
						Minimum: jsii.Number(123),
					},
				},
				Scale: &AxisScaleProperty{
					Linear: &AxisLinearScaleProperty{
						StepCount: jsii.Number(123),
						StepSize: jsii.Number(123),
					},
					Logarithmic: &AxisLogarithmicScaleProperty{
						Base: jsii.Number(123),
					},
				},
			},
		},
		GridLineVisibility: jsii.String("gridLineVisibility"),
		ScrollbarOptions: &ScrollBarOptionsProperty{
			Visibility: jsii.String("visibility"),
			VisibleRange: &VisibleRangeOptionsProperty{
				PercentRange: &PercentVisibleRangeProperty{
					From: jsii.Number(123),
					To: jsii.Number(123),
				},
			},
		},
		TickLabelOptions: &AxisTickLabelOptionsProperty{
			LabelOptions: &LabelOptionsProperty{
				CustomLabel: jsii.String("customLabel"),
				FontConfiguration: &FontConfigurationProperty{
					FontColor: jsii.String("fontColor"),
					FontDecoration: jsii.String("fontDecoration"),
					FontFamily: jsii.String("fontFamily"),
					FontSize: &FontSizeProperty{
						Absolute: jsii.String("absolute"),
						Relative: jsii.String("relative"),
					},
					FontStyle: jsii.String("fontStyle"),
					FontWeight: &FontWeightProperty{
						Name: jsii.String("name"),
					},
				},
				Visibility: jsii.String("visibility"),
			},
			RotationAngle: jsii.Number(123),
		},
	},
	MissingDataConfigurations: []interface{}{
		&MissingDataConfigurationProperty{
			TreatmentOption: jsii.String("treatmentOption"),
		},
	},
}

Properties ​

axisOptionsoptionalIResolvable | CfnAnalysis.AxisDisplayOptionsPropertyaxis_optionsoptionaltyping.Union[IResolvable, AxisDisplayOptionsProperty]axisOptionsoptionalIResolvableAxisOptionsoptionalIResolvableAxisOptionsoptionalinterface{} #
The options that determine the presentation of the line series axis.
missingDataConfigurationsoptionalIResolvable | IResolvable | CfnAnalysis.MissingDataConfigurationProperty[]missing_data_configurationsoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, MissingDataConfigurationProperty]]]missingDataConfigurationsoptionalIResolvableMissingDataConfigurationsoptionalIResolvableMissingDataConfigurationsoptionalinterface{} #
The configuration options that determine how missing data is treated during the rendering of a line chart.