Skip to content
v2.278.0

DataFieldSeriesItemProperty Struct ​

The data field series item 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';
const dataFieldSeriesItemProperty: quicksight.CfnAnalysis.DataFieldSeriesItemProperty = {
  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',
    },
  },
};
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_field_series_item_property = quicksight.CfnAnalysis.DataFieldSeriesItemProperty(
    axis_binding="axisBinding",
    field_id="fieldId",

    # the properties below are optional
    field_value="fieldValue",
    settings=quicksight.CfnAnalysis.LineChartSeriesSettingsProperty(
        decal_settings=quicksight.CfnAnalysis.DecalSettingsProperty(
            decal_color="decalColor",
            decal_pattern_type="decalPatternType",
            decal_style_type="decalStyleType",
            decal_visibility="decalVisibility",
            element_value="elementValue"
        ),
        line_style_settings=quicksight.CfnAnalysis.LineChartLineStyleSettingsProperty(
            line_interpolation="lineInterpolation",
            line_style="lineStyle",
            line_visibility="lineVisibility",
            line_width="lineWidth"
        ),
        marker_style_settings=quicksight.CfnAnalysis.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.*;

DataFieldSeriesItemProperty dataFieldSeriesItemProperty = 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();
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 dataFieldSeriesItemProperty = 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"
        }
    }
};
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"

dataFieldSeriesItemProperty := &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"),
		},
	},
}

Properties ​

axisBindingstringaxis_bindingstraxisBindingStringAxisBindingstringAxisBinding*string required #
The axis that you are binding the field to.
fieldIdstringfield_idstrfieldIdStringFieldIdstringFieldId*string required #
The field ID of the field that you are setting the axis binding to.
fieldValueoptionalstringfield_valueoptionalstrfieldValueoptionalStringFieldValueoptionalstringFieldValueoptional*string #
The field value of the field that you are setting the axis binding to.
settingsoptionalIResolvable | CfnAnalysis.LineChartSeriesSettingsPropertysettingsoptionaltyping.Union[IResolvable, LineChartSeriesSettingsProperty]settingsoptionalIResolvableSettingsoptionalIResolvableSettingsoptionalinterface{} #
The options that determine the presentation of line series associated to the field.