C# Class AODL.Document.Content.Charts.Chart

chart respresents a chart object which embed into the spresdsheet document. It is inherited from the EmbedObject
Inheritance: AODL.Document.Content.EmbedObjects.EmbedObject
Datei anzeigen Open project: monsterlabs/HumanRightsTracker Class Usage Examples

Public Properties

Property Type Description
TableData CellRanges

Public Methods

Method Description
Chart ( IDocument document, XmlNode node, XmlNode ParentNode ) : System
Chart ( Table table, string StyleName ) : System
CreateFromCellRange ( string CellRange ) : void

create the chart from the cell range of the data table

CreateParentNode ( string objectlink ) : XmlNode

create the parentnode of the chart

GetCellPos ( string cellName, Table tableData ) : CellPos

gets the rowIndex and colIndex of the chart according to the name of the cell

GetCellRangeFromXMLString ( ) : CellRanges

analyse the xml string which contains the cell range of the data table

GetTable ( string tableName ) : Table

gets the table according to the name of the table

New ( ) : void
SaveTo ( string dir ) : void

save the content of the chart

Private Methods

Method Description
AdddDataTableToChart ( ) : void

add data table to the content of the chart

CreateAttribute ( string name, string text, string prefix ) : void

Create a XmlAttribute for propertie XmlNode.

CreateContentBody ( ) : void

Creates the content body

CreateLocalStyleContent ( ) : void

Creates the content of the local style.

CreateSeries ( ) : void

create the series of the chart

CreateSingleSeries ( int rowStartIndex, int rowEndINdex, int colStartIndex, int colEndIndex ) : void

create a single series

CreateTableFromCellRange ( ) : void
InitChart ( ) : void

Init the chart

InitStandards ( ) : void
LoadBlankContent ( ) : void

Load the blank content

LoadBlankStyles ( ) : void

Load the blank style

NewXmlNode ( string styleName ) : void

Method Details

Chart() public method

public Chart ( IDocument document, XmlNode node, XmlNode ParentNode ) : System
document IDocument
node System.Xml.XmlNode
ParentNode System.Xml.XmlNode
return System

Chart() public method

public Chart ( Table table, string StyleName ) : System
table AODL.Document.Content.Tables.Table
StyleName string
return System

CreateFromCellRange() public method

create the chart from the cell range of the data table
public CreateFromCellRange ( string CellRange ) : void
CellRange string
return void

CreateParentNode() public method

create the parentnode of the chart
public CreateParentNode ( string objectlink ) : XmlNode
objectlink string
return System.Xml.XmlNode

GetCellPos() public method

gets the rowIndex and colIndex of the chart according to the name of the cell
public GetCellPos ( string cellName, Table tableData ) : CellPos
cellName string
tableData AODL.Document.Content.Tables.Table
return CellPos

GetCellRangeFromXMLString() public method

analyse the xml string which contains the cell range of the data table
public GetCellRangeFromXMLString ( ) : CellRanges
return CellRanges

GetTable() public method

gets the table according to the name of the table
public GetTable ( string tableName ) : Table
tableName string
return AODL.Document.Content.Tables.Table

New() public method

public New ( ) : void
return void

SaveTo() public method

save the content of the chart
public SaveTo ( string dir ) : void
dir string
return void

Property Details

TableData public_oe property

public CellRanges,AODL.Document.Content.Charts TableData
return CellRanges