Class ChartShapeSerializator
This class is responsible for chart shape serialization.
Inherited Members
Namespace: Syncfusion.XlsIO.Implementation.XmlSerialization.Shapes
Assembly: Syncfusion.XlsIO.Portable.dll
Syntax
public class ChartShapeSerializator : DrawingShapeSerializatorConstructors
ChartShapeSerializator()
Declaration
public ChartShapeSerializator()Fields
ChartItemPath
Format for the default chart item.
Declaration
public const string ChartItemPath = "/xl/charts/chart{0}.xml"Field Value
| Type | 
|---|
| System.String | 
Methods
GetChartFileName(WorksheetDataHolder, ChartImpl)
Generates item name for the new chart object.
Declaration
public static string GetChartFileName(WorksheetDataHolder holder, ChartImpl chart)Parameters
| Type | Name | Description | 
|---|---|---|
| WorksheetDataHolder | holder | Parent worksheet data holder. | 
| ChartImpl | chart | Chart to generate name for. | 
Returns
| Type | Description | 
|---|---|
| System.String | Item name that should be used to save chart. | 
Serialize(XmlWriter, ShapeImpl, WorksheetDataHolder, RelationCollection)
This method serializes specified shape into specified writer.
Declaration
public override void Serialize(XmlWriter writer, ShapeImpl shape, WorksheetDataHolder holder, RelationCollection vmlRelations)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Xml.XmlWriter | writer | XmlWriter to serialize shape settings into. | 
| ShapeImpl | shape | Shape to serialize. | 
| WorksheetDataHolder | holder | Parent worksheet data holder. | 
| RelationCollection | vmlRelations |