// (c) Copyright Microsoft Corporation.
// This source is subject to the Microsoft Public License (Ms-PL).
// Please see http://go.microsoft.com/fwlink/?LinkID=131993 for details.
// All other rights reserved.
namespace System.Windows.Controls.DataVisualization.Charting
{
///
/// Control that displays values as a stacked bar chart visualization.
///
/// Preview
public class StackedBarSeries : StackedBarColumnSeries
{
///
/// Initializes a new instance of the StackedBarSeries class.
///
public StackedBarSeries()
{
DependentAxisOrientation = AxisOrientation.X;
IndependentAxisOrientation = AxisOrientation.Y;
}
///
/// Creates a DataPoint for the series.
///
/// Series-appropriate DataPoint instance.
protected override DataPoint CreateDataPoint()
{
return new BarDataPoint();
}
}
}