Skip to content
v2.278.0

SeriesItemProperty Struct ​

The series item configuration of a line chart.

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 seriesItemProperty: quicksight.CfnTemplate.SeriesItemProperty = {
  dataFieldSeriesItem: {
    axisBinding: 'axisBinding',
    fieldId: 'fieldId',

    // the properties below are optional
    fieldValue: 'fieldValue',
    settings: {
      decalSettings: {
        decalColor: 'decalColor',
        decalPatternType: 'decalPatternType',
        decalStyleType: 'decalStyleType',
        decalVisibility: 'decalVisibility',
        elementValue: 'elementValue',
      },
      lineStyleSettings: {
        lineInterpolation: 'lineInterpolation',
        lineStyle: 'lineStyle',
        lineVisibility: 'lineVisibility',
        lineWidth: 'lineWidth',
      },
      markerStyleSettings: {
        markerColor: 'markerColor',
        markerShape: 'markerShape',
        markerSize: 'markerSize',
        markerVisibility: 'markerVisibility',
      },
    },
  },
  fieldSeriesItem: {
    axisBinding: 'axisBinding',
    fieldId: 'fieldId',

    // the properties below are optional
    settings: {
      decalSettings: {
        decalColor: 'decalColor',
        decalPatternType: 'decalPatternType',
        decalStyleType: 'decalStyleType',
        decalVisibility: 'decalVisibility',
        elementValue: 'elementValue',
      },
      lineStyleSettings: {
        lineInterpolation: 'lineInterpolation',
        lineStyle: 'lineStyle',
        lineVisibility: 'lineVisibility',
        lineWidth: 'lineWidth',
      },
      markerStyleSettings: {
        markerColor: 'markerColor',
        markerShape: 'markerShape',
        markerSize: 'markerSize',
        markerVisibility: 'markerVisibility',
      },
    },
  },
};
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

series_item_property = quicksight.CfnTemplate.SeriesItemProperty(
    data_field_series_item=quicksight.CfnTemplate.DataFieldSeriesItemProperty(
        axis_binding="axisBinding",
        field_id="fieldId",

        # the properties below are optional
        field_value="fieldValue",
        settings=quicksight.CfnTemplate.LineChartSeriesSettingsProperty(
            decal_settings=quicksight.CfnTemplate.DecalSettingsProperty(
                decal_color="decalColor",
                decal_pattern_type="decalPatternType",
                decal_style_type="decalStyleType",
                decal_visibility="decalVisibility",
                element_value="elementValue"
            ),
            line_style_settings=quicksight.CfnTemplate.LineChartLineStyleSettingsProperty(
                line_interpolation="lineInterpolation",
                line_style="lineStyle",
                line_visibility="lineVisibility",
                line_width="lineWidth"
            ),
            marker_style_settings=quicksight.CfnTemplate.LineChartMarkerStyleSettingsProperty(
                marker_color="markerColor",
                marker_shape="markerShape",
                marker_size="markerSize",
                marker_visibility="markerVisibility"
            )
        )
    ),
    field_series_item=quicksight.CfnTemplate.FieldSeriesItemProperty(
        axis_binding="axisBinding",
        field_id="fieldId",

        # the properties below are optional
        settings=quicksight.CfnTemplate.LineChartSeriesSettingsProperty(
            decal_settings=quicksight.CfnTemplate.DecalSettingsProperty(
                decal_color="decalColor",
                decal_pattern_type="decalPatternType",
                decal_style_type="decalStyleType",
                decal_visibility="decalVisibility",
                element_value="elementValue"
            ),
            line_style_settings=quicksight.CfnTemplate.LineChartLineStyleSettingsProperty(
                line_interpolation="lineInterpolation",
                line_style="lineStyle",
                line_visibility="lineVisibility",
                line_width="lineWidth"
            ),
            marker_style_settings=quicksight.CfnTemplate.LineChartMarkerStyleSettingsProperty(
                marker_color="markerColor",
                marker_shape="markerShape",
                marker_size="markerSize",
                marker_visibility="markerVisibility"
            )
        )
    )
)
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.*;

SeriesItemProperty seriesItemProperty = SeriesItemProperty.builder()
        .dataFieldSeriesItem(DataFieldSeriesItemProperty.builder()
                .axisBinding("axisBinding")
                .fieldId("fieldId")

                // the properties below are optional
                .fieldValue("fieldValue")
                .settings(LineChartSeriesSettingsProperty.builder()
                        .decalSettings(DecalSettingsProperty.builder()
                                .decalColor("decalColor")
                                .decalPatternType("decalPatternType")
                                .decalStyleType("decalStyleType")
                                .decalVisibility("decalVisibility")
                                .elementValue("elementValue")
                                .build())
                        .lineStyleSettings(LineChartLineStyleSettingsProperty.builder()
                                .lineInterpolation("lineInterpolation")
                                .lineStyle("lineStyle")
                                .lineVisibility("lineVisibility")
                                .lineWidth("lineWidth")
                                .build())
                        .markerStyleSettings(LineChartMarkerStyleSettingsProperty.builder()
                                .markerColor("markerColor")
                                .markerShape("markerShape")
                                .markerSize("markerSize")
                                .markerVisibility("markerVisibility")
                                .build())
                        .build())
                .build())
        .fieldSeriesItem(FieldSeriesItemProperty.builder()
                .axisBinding("axisBinding")
                .fieldId("fieldId")

                // the properties below are optional
                .settings(LineChartSeriesSettingsProperty.builder()
                        .decalSettings(DecalSettingsProperty.builder()
                                .decalColor("decalColor")
                                .decalPatternType("decalPatternType")
                                .decalStyleType("decalStyleType")
                                .decalVisibility("decalVisibility")
                                .elementValue("elementValue")
                                .build())
                        .lineStyleSettings(LineChartLineStyleSettingsProperty.builder()
                                .lineInterpolation("lineInterpolation")
                                .lineStyle("lineStyle")
                                .lineVisibility("lineVisibility")
                                .lineWidth("lineWidth")
                                .build())
                        .markerStyleSettings(LineChartMarkerStyleSettingsProperty.builder()
                                .markerColor("markerColor")
                                .markerShape("markerShape")
                                .markerSize("markerSize")
                                .markerVisibility("markerVisibility")
                                .build())
                        .build())
                .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 seriesItemProperty = new SeriesItemProperty {
    DataFieldSeriesItem = new DataFieldSeriesItemProperty {
        AxisBinding = "axisBinding",
        FieldId = "fieldId",

        // the properties below are optional
        FieldValue = "fieldValue",
        Settings = new LineChartSeriesSettingsProperty {
            DecalSettings = new DecalSettingsProperty {
                DecalColor = "decalColor",
                DecalPatternType = "decalPatternType",
                DecalStyleType = "decalStyleType",
                DecalVisibility = "decalVisibility",
                ElementValue = "elementValue"
            },
            LineStyleSettings = new LineChartLineStyleSettingsProperty {
                LineInterpolation = "lineInterpolation",
                LineStyle = "lineStyle",
                LineVisibility = "lineVisibility",
                LineWidth = "lineWidth"
            },
            MarkerStyleSettings = new LineChartMarkerStyleSettingsProperty {
                MarkerColor = "markerColor",
                MarkerShape = "markerShape",
                MarkerSize = "markerSize",
                MarkerVisibility = "markerVisibility"
            }
        }
    },
    FieldSeriesItem = new FieldSeriesItemProperty {
        AxisBinding = "axisBinding",
        FieldId = "fieldId",

        // the properties below are optional
        Settings = new LineChartSeriesSettingsProperty {
            DecalSettings = new DecalSettingsProperty {
                DecalColor = "decalColor",
                DecalPatternType = "decalPatternType",
                DecalStyleType = "decalStyleType",
                DecalVisibility = "decalVisibility",
                ElementValue = "elementValue"
            },
            LineStyleSettings = new LineChartLineStyleSettingsProperty {
                LineInterpolation = "lineInterpolation",
                LineStyle = "lineStyle",
                LineVisibility = "lineVisibility",
                LineWidth = "lineWidth"
            },
            MarkerStyleSettings = new LineChartMarkerStyleSettingsProperty {
                MarkerColor = "markerColor",
                MarkerShape = "markerShape",
                MarkerSize = "markerSize",
                MarkerVisibility = "markerVisibility"
            }
        }
    }
};
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"

seriesItemProperty := &SeriesItemProperty{
	DataFieldSeriesItem: &DataFieldSeriesItemProperty{
		AxisBinding: jsii.String("axisBinding"),
		FieldId: jsii.String("fieldId"),

		// the properties below are optional
		FieldValue: jsii.String("fieldValue"),
		Settings: &LineChartSeriesSettingsProperty{
			DecalSettings: &DecalSettingsProperty{
				DecalColor: jsii.String("decalColor"),
				DecalPatternType: jsii.String("decalPatternType"),
				DecalStyleType: jsii.String("decalStyleType"),
				DecalVisibility: jsii.String("decalVisibility"),
				ElementValue: jsii.String("elementValue"),
			},
			LineStyleSettings: &LineChartLineStyleSettingsProperty{
				LineInterpolation: jsii.String("lineInterpolation"),
				LineStyle: jsii.String("lineStyle"),
				LineVisibility: jsii.String("lineVisibility"),
				LineWidth: jsii.String("lineWidth"),
			},
			MarkerStyleSettings: &LineChartMarkerStyleSettingsProperty{
				MarkerColor: jsii.String("markerColor"),
				MarkerShape: jsii.String("markerShape"),
				MarkerSize: jsii.String("markerSize"),
				MarkerVisibility: jsii.String("markerVisibility"),
			},
		},
	},
	FieldSeriesItem: &FieldSeriesItemProperty{
		AxisBinding: jsii.String("axisBinding"),
		FieldId: jsii.String("fieldId"),

		// the properties below are optional
		Settings: &LineChartSeriesSettingsProperty{
			DecalSettings: &DecalSettingsProperty{
				DecalColor: jsii.String("decalColor"),
				DecalPatternType: jsii.String("decalPatternType"),
				DecalStyleType: jsii.String("decalStyleType"),
				DecalVisibility: jsii.String("decalVisibility"),
				ElementValue: jsii.String("elementValue"),
			},
			LineStyleSettings: &LineChartLineStyleSettingsProperty{
				LineInterpolation: jsii.String("lineInterpolation"),
				LineStyle: jsii.String("lineStyle"),
				LineVisibility: jsii.String("lineVisibility"),
				LineWidth: jsii.String("lineWidth"),
			},
			MarkerStyleSettings: &LineChartMarkerStyleSettingsProperty{
				MarkerColor: jsii.String("markerColor"),
				MarkerShape: jsii.String("markerShape"),
				MarkerSize: jsii.String("markerSize"),
				MarkerVisibility: jsii.String("markerVisibility"),
			},
		},
	},
}

Properties ​

dataFieldSeriesItemoptionalIResolvable | CfnTemplate.DataFieldSeriesItemPropertydata_field_series_itemoptionaltyping.Union[IResolvable, DataFieldSeriesItemProperty]dataFieldSeriesItemoptionalIResolvableDataFieldSeriesItemoptionalIResolvableDataFieldSeriesItemoptionalinterface{} #
The data field series item configuration of a line chart.
fieldSeriesItemoptionalIResolvable | CfnTemplate.FieldSeriesItemPropertyfield_series_itemoptionaltyping.Union[IResolvable, FieldSeriesItemProperty]fieldSeriesItemoptionalIResolvableFieldSeriesItemoptionalIResolvableFieldSeriesItemoptionalinterface{} #
The field series item configuration of a line chart.