/*
* Copyright 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.
*/
/*
* Do not modify this file. This file is generated from the quicksight-2018-04-01.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.QuickSight.Model
{
///
/// The configuration of a BarChartVisual
.
///
public partial class BarChartConfiguration
{
private BarsArrangement _barsArrangement;
private AxisDisplayOptions _categoryAxis;
private ChartAxisLabelOptions _categoryLabelOptions;
private ChartAxisLabelOptions _colorLabelOptions;
private List _contributionAnalysisDefaults = new List();
private DataLabelOptions _dataLabels;
private BarChartFieldWells _fieldWells;
private LegendOptions _legend;
private BarChartOrientation _orientation;
private List _referenceLines = new List();
private SmallMultiplesOptions _smallMultiplesOptions;
private BarChartSortConfiguration _sortConfiguration;
private TooltipOptions _tooltip;
private AxisDisplayOptions _valueAxis;
private ChartAxisLabelOptions _valueLabelOptions;
private VisualPalette _visualPalette;
///
/// Gets and sets the property BarsArrangement.
///
/// Determines the arrangement of the bars. The orientation and arrangement of bars determine
/// the type of bar that is used in the visual.
///
///
public BarsArrangement BarsArrangement
{
get { return this._barsArrangement; }
set { this._barsArrangement = value; }
}
// Check to see if BarsArrangement property is set
internal bool IsSetBarsArrangement()
{
return this._barsArrangement != null;
}
///
/// Gets and sets the property CategoryAxis.
///
/// The label display options (grid line, range, scale, axis step) for bar chart category.
///
///
public AxisDisplayOptions CategoryAxis
{
get { return this._categoryAxis; }
set { this._categoryAxis = value; }
}
// Check to see if CategoryAxis property is set
internal bool IsSetCategoryAxis()
{
return this._categoryAxis != null;
}
///
/// Gets and sets the property CategoryLabelOptions.
///
/// The label options (label text, label visibility and sort icon visibility) for a bar
/// chart.
///
///
public ChartAxisLabelOptions CategoryLabelOptions
{
get { return this._categoryLabelOptions; }
set { this._categoryLabelOptions = value; }
}
// Check to see if CategoryLabelOptions property is set
internal bool IsSetCategoryLabelOptions()
{
return this._categoryLabelOptions != null;
}
///
/// Gets and sets the property ColorLabelOptions.
///
/// The label options (label text, label visibility and sort icon visibility) for a color
/// that is used in a bar chart.
///
///
public ChartAxisLabelOptions ColorLabelOptions
{
get { return this._colorLabelOptions; }
set { this._colorLabelOptions = value; }
}
// Check to see if ColorLabelOptions property is set
internal bool IsSetColorLabelOptions()
{
return this._colorLabelOptions != null;
}
///
/// Gets and sets the property ContributionAnalysisDefaults.
///
/// The contribution analysis (anomaly configuration) setup of the visual.
///
///
[AWSProperty(Min=1, Max=200)]
public List ContributionAnalysisDefaults
{
get { return this._contributionAnalysisDefaults; }
set { this._contributionAnalysisDefaults = value; }
}
// Check to see if ContributionAnalysisDefaults property is set
internal bool IsSetContributionAnalysisDefaults()
{
return this._contributionAnalysisDefaults != null && this._contributionAnalysisDefaults.Count > 0;
}
///
/// Gets and sets the property DataLabels.
///
/// The options that determine if visual data labels are displayed.
///
///
public DataLabelOptions DataLabels
{
get { return this._dataLabels; }
set { this._dataLabels = value; }
}
// Check to see if DataLabels property is set
internal bool IsSetDataLabels()
{
return this._dataLabels != null;
}
///
/// Gets and sets the property FieldWells.
///
/// The field wells of the visual.
///
///
public BarChartFieldWells FieldWells
{
get { return this._fieldWells; }
set { this._fieldWells = value; }
}
// Check to see if FieldWells property is set
internal bool IsSetFieldWells()
{
return this._fieldWells != null;
}
///
/// Gets and sets the property Legend.
///
/// The legend display setup of the visual.
///
///
public LegendOptions Legend
{
get { return this._legend; }
set { this._legend = value; }
}
// Check to see if Legend property is set
internal bool IsSetLegend()
{
return this._legend != null;
}
///
/// Gets and sets the property Orientation.
///
/// The orientation of the bars in a bar chart visual. There are two valid values in this
/// structure:
///
/// -
///
///
HORIZONTAL
: Used for charts that have horizontal bars. Visuals that
/// use this value are horizontal bar charts, horizontal stacked bar charts, and horizontal
/// stacked 100% bar charts.
///
/// -
///
///
VERTICAL
: Used for charts that have vertical bars. Visuals that use
/// this value are vertical bar charts, vertical stacked bar charts, and vertical stacked
/// 100% bar charts.
///
///
///
public BarChartOrientation Orientation
{
get { return this._orientation; }
set { this._orientation = value; }
}
// Check to see if Orientation property is set
internal bool IsSetOrientation()
{
return this._orientation != null;
}
///
/// Gets and sets the property ReferenceLines.
///
/// The reference line setup of the visual.
///
///
[AWSProperty(Max=20)]
public List ReferenceLines
{
get { return this._referenceLines; }
set { this._referenceLines = value; }
}
// Check to see if ReferenceLines property is set
internal bool IsSetReferenceLines()
{
return this._referenceLines != null && this._referenceLines.Count > 0;
}
///
/// Gets and sets the property SmallMultiplesOptions.
///
/// The small multiples setup for the visual.
///
///
public SmallMultiplesOptions SmallMultiplesOptions
{
get { return this._smallMultiplesOptions; }
set { this._smallMultiplesOptions = value; }
}
// Check to see if SmallMultiplesOptions property is set
internal bool IsSetSmallMultiplesOptions()
{
return this._smallMultiplesOptions != null;
}
///
/// Gets and sets the property SortConfiguration.
///
/// The sort configuration of a BarChartVisual
.
///
///
public BarChartSortConfiguration SortConfiguration
{
get { return this._sortConfiguration; }
set { this._sortConfiguration = value; }
}
// Check to see if SortConfiguration property is set
internal bool IsSetSortConfiguration()
{
return this._sortConfiguration != null;
}
///
/// Gets and sets the property Tooltip.
///
/// The tooltip display setup of the visual.
///
///
public TooltipOptions Tooltip
{
get { return this._tooltip; }
set { this._tooltip = value; }
}
// Check to see if Tooltip property is set
internal bool IsSetTooltip()
{
return this._tooltip != null;
}
///
/// Gets and sets the property ValueAxis.
///
/// The label display options (grid line, range, scale, axis step) for a bar chart value.
///
///
public AxisDisplayOptions ValueAxis
{
get { return this._valueAxis; }
set { this._valueAxis = value; }
}
// Check to see if ValueAxis property is set
internal bool IsSetValueAxis()
{
return this._valueAxis != null;
}
///
/// Gets and sets the property ValueLabelOptions.
///
/// The label options (label text, label visibility and sort icon visibility) for a bar
/// chart value.
///
///
public ChartAxisLabelOptions ValueLabelOptions
{
get { return this._valueLabelOptions; }
set { this._valueLabelOptions = value; }
}
// Check to see if ValueLabelOptions property is set
internal bool IsSetValueLabelOptions()
{
return this._valueLabelOptions != null;
}
///
/// Gets and sets the property VisualPalette.
///
/// The palette (chart color) display setup of the visual.
///
///
public VisualPalette VisualPalette
{
get { return this._visualPalette; }
set { this._visualPalette = value; }
}
// Check to see if VisualPalette property is set
internal bool IsSetVisualPalette()
{
return this._visualPalette != null;
}
}
}