/*
* 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 ComboChartVisual
.
///
public partial class ComboChartConfiguration
{
private DataLabelOptions _barDataLabels;
private BarsArrangement _barsArrangement;
private AxisDisplayOptions _categoryAxis;
private ChartAxisLabelOptions _categoryLabelOptions;
private ChartAxisLabelOptions _colorLabelOptions;
private ComboChartFieldWells _fieldWells;
private LegendOptions _legend;
private DataLabelOptions _lineDataLabels;
private AxisDisplayOptions _primaryYAxisDisplayOptions;
private ChartAxisLabelOptions _primaryYAxisLabelOptions;
private List _referenceLines = new List();
private AxisDisplayOptions _secondaryYAxisDisplayOptions;
private ChartAxisLabelOptions _secondaryYAxisLabelOptions;
private ComboChartSortConfiguration _sortConfiguration;
private TooltipOptions _tooltip;
private VisualPalette _visualPalette;
///
/// Gets and sets the property BarDataLabels.
///
/// The options that determine if visual data labels are displayed.
///
///
///
/// The data label options for a bar in a combo chart.
///
///
public DataLabelOptions BarDataLabels
{
get { return this._barDataLabels; }
set { this._barDataLabels = value; }
}
// Check to see if BarDataLabels property is set
internal bool IsSetBarDataLabels()
{
return this._barDataLabels != null;
}
///
/// Gets and sets the property BarsArrangement.
///
/// Determines the bar arrangement in a combo chart. The following are valid values in
/// this structure:
///
/// -
///
///
CLUSTERED
: For clustered bar combo charts.
///
/// -
///
///
STACKED
: For stacked bar combo charts.
///
/// -
///
///
STACKED_PERCENT
: Do not use. If you use this value, the operation returns
/// a validation error.
///
///
///
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 category axis of a combo chart.
///
///
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) of a combo
/// chart category (group/color) field well.
///
///
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) of a combo
/// chart's color field well.
///
///
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 FieldWells.
///
/// The field wells of the visual.
///
///
public ComboChartFieldWells 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 LineDataLabels.
///
/// The options that determine if visual data labels are displayed.
///
///
///
/// The data label options for a line in a combo chart.
///
///
public DataLabelOptions LineDataLabels
{
get { return this._lineDataLabels; }
set { this._lineDataLabels = value; }
}
// Check to see if LineDataLabels property is set
internal bool IsSetLineDataLabels()
{
return this._lineDataLabels != null;
}
///
/// Gets and sets the property PrimaryYAxisDisplayOptions.
///
/// The label display options (grid line, range, scale, and axis step) of a combo chart's
/// primary y-axis (bar) field well.
///
///
public AxisDisplayOptions PrimaryYAxisDisplayOptions
{
get { return this._primaryYAxisDisplayOptions; }
set { this._primaryYAxisDisplayOptions = value; }
}
// Check to see if PrimaryYAxisDisplayOptions property is set
internal bool IsSetPrimaryYAxisDisplayOptions()
{
return this._primaryYAxisDisplayOptions != null;
}
///
/// Gets and sets the property PrimaryYAxisLabelOptions.
///
/// The label options (label text, label visibility, and sort icon visibility) of a combo
/// chart's primary y-axis (bar) field well.
///
///
public ChartAxisLabelOptions PrimaryYAxisLabelOptions
{
get { return this._primaryYAxisLabelOptions; }
set { this._primaryYAxisLabelOptions = value; }
}
// Check to see if PrimaryYAxisLabelOptions property is set
internal bool IsSetPrimaryYAxisLabelOptions()
{
return this._primaryYAxisLabelOptions != 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 SecondaryYAxisDisplayOptions.
///
/// The label display options (grid line, range, scale, axis step) of a combo chart's
/// secondary y-axis (line) field well.
///
///
public AxisDisplayOptions SecondaryYAxisDisplayOptions
{
get { return this._secondaryYAxisDisplayOptions; }
set { this._secondaryYAxisDisplayOptions = value; }
}
// Check to see if SecondaryYAxisDisplayOptions property is set
internal bool IsSetSecondaryYAxisDisplayOptions()
{
return this._secondaryYAxisDisplayOptions != null;
}
///
/// Gets and sets the property SecondaryYAxisLabelOptions.
///
/// The label options (label text, label visibility, and sort icon visibility) of a combo
/// chart's secondary y-axis(line) field well.
///
///
public ChartAxisLabelOptions SecondaryYAxisLabelOptions
{
get { return this._secondaryYAxisLabelOptions; }
set { this._secondaryYAxisLabelOptions = value; }
}
// Check to see if SecondaryYAxisLabelOptions property is set
internal bool IsSetSecondaryYAxisLabelOptions()
{
return this._secondaryYAxisLabelOptions != null;
}
///
/// Gets and sets the property SortConfiguration.
///
/// The sort configuration of a ComboChartVisual
.
///
///
public ComboChartSortConfiguration 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 legend 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 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;
}
}
}