/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.quicksight.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *

* The configuration of a BarChartVisual. *

* * @see AWS * API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class BarChartConfiguration implements Serializable, Cloneable, StructuredPojo { /** *

* The field wells of the visual. *

*/ private BarChartFieldWells fieldWells; /** *

* The sort configuration of a BarChartVisual. *

*/ private BarChartSortConfiguration sortConfiguration; /** *

* The orientation of the bars in a bar chart visual. There are two valid values in this structure: *

* */ private String orientation; /** *

* Determines the arrangement of the bars. The orientation and arrangement of bars determine the type of bar that is * used in the visual. *

*/ private String barsArrangement; /** *

* The palette (chart color) display setup of the visual. *

*/ private VisualPalette visualPalette; /** *

* The small multiples setup for the visual. *

*/ private SmallMultiplesOptions smallMultiplesOptions; /** *

* The label display options (grid line, range, scale, axis step) for bar chart category. *

*/ private AxisDisplayOptions categoryAxis; /** *

* The label options (label text, label visibility and sort icon visibility) for a bar chart. *

*/ private ChartAxisLabelOptions categoryLabelOptions; /** *

* The label display options (grid line, range, scale, axis step) for a bar chart value. *

*/ private AxisDisplayOptions valueAxis; /** *

* The label options (label text, label visibility and sort icon visibility) for a bar chart value. *

*/ private ChartAxisLabelOptions valueLabelOptions; /** *

* The label options (label text, label visibility and sort icon visibility) for a color that is used in a bar * chart. *

*/ private ChartAxisLabelOptions colorLabelOptions; /** *

* The legend display setup of the visual. *

*/ private LegendOptions legend; /** *

* The options that determine if visual data labels are displayed. *

*/ private DataLabelOptions dataLabels; /** *

* The tooltip display setup of the visual. *

*/ private TooltipOptions tooltip; /** *

* The reference line setup of the visual. *

*/ private java.util.List referenceLines; /** *

* The contribution analysis (anomaly configuration) setup of the visual. *

*/ private java.util.List contributionAnalysisDefaults; /** *

* The field wells of the visual. *

* * @param fieldWells * The field wells of the visual. */ public void setFieldWells(BarChartFieldWells fieldWells) { this.fieldWells = fieldWells; } /** *

* The field wells of the visual. *

* * @return The field wells of the visual. */ public BarChartFieldWells getFieldWells() { return this.fieldWells; } /** *

* The field wells of the visual. *

* * @param fieldWells * The field wells of the visual. * @return Returns a reference to this object so that method calls can be chained together. */ public BarChartConfiguration withFieldWells(BarChartFieldWells fieldWells) { setFieldWells(fieldWells); return this; } /** *

* The sort configuration of a BarChartVisual. *

* * @param sortConfiguration * The sort configuration of a BarChartVisual. */ public void setSortConfiguration(BarChartSortConfiguration sortConfiguration) { this.sortConfiguration = sortConfiguration; } /** *

* The sort configuration of a BarChartVisual. *

* * @return The sort configuration of a BarChartVisual. */ public BarChartSortConfiguration getSortConfiguration() { return this.sortConfiguration; } /** *

* The sort configuration of a BarChartVisual. *

* * @param sortConfiguration * The sort configuration of a BarChartVisual. * @return Returns a reference to this object so that method calls can be chained together. */ public BarChartConfiguration withSortConfiguration(BarChartSortConfiguration sortConfiguration) { setSortConfiguration(sortConfiguration); return this; } /** *

* The orientation of the bars in a bar chart visual. There are two valid values in this structure: *

* * * @param orientation * The orientation of the bars in a bar chart visual. There are two valid values in this structure:

*