/*************************************************************************************
DocX – DocX is the community edition of Xceed Words for .NET
Copyright (C) 2009-2016 Xceed Software Inc.
This program is provided to you under the terms of the Microsoft Public
License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
For more features and fast professional support,
pick up Xceed Words for .NET at https://xceed.com/xceed-words-for-net/
***********************************************************************************/
using System.Xml.Linq;
namespace Xceed.Words.NET
{
///
/// This element contains the 2-D line chart series.
/// 21.2.2.97 lineChart (Line Charts)
///
public class LineChart : Chart
{
#region Public Properties
///
/// Specifies the kind of grouping for a column, line, or area chart.
///
public Grouping Grouping
{
get
{
return XElementHelpers.GetValueToEnum(
ChartXml.Element( XName.Get( "grouping", DocX.c.NamespaceName ) ) );
}
set
{
XElementHelpers.SetValueFromEnum(
ChartXml.Element( XName.Get( "grouping", DocX.c.NamespaceName ) ), value );
}
}
#endregion
#region Overrides
protected override XElement CreateChartXml()
{
return XElement.Parse(
@"
" );
}
#endregion
}
///
/// Specifies the kind of grouping for a column, line, or area chart.
/// 21.2.2.76 grouping (Grouping)
///
public enum Grouping
{
[XmlName( "percentStacked" )]
PercentStacked,
[XmlName( "stacked" )]
Stacked,
[XmlName( "standard" )]
Standard
}
}