C# Класс AODL.Document.Content.Charts.Chart

chart respresents a chart object which embed into the spresdsheet document. It is inherited from the EmbedObject
Наследование: AODL.Document.Content.EmbedObjects.EmbedObject
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
TableData CellRanges

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
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

Описание методов

Chart() публичный метод

public Chart ( IDocument document, XmlNode node, XmlNode ParentNode ) : System
document IDocument
node System.Xml.XmlNode
ParentNode System.Xml.XmlNode
Результат System

Chart() публичный метод

public Chart ( Table table, string StyleName ) : System
table AODL.Document.Content.Tables.Table
StyleName string
Результат System

CreateFromCellRange() публичный метод

create the chart from the cell range of the data table
public CreateFromCellRange ( string CellRange ) : void
CellRange string
Результат void

CreateParentNode() публичный метод

create the parentnode of the chart
public CreateParentNode ( string objectlink ) : XmlNode
objectlink string
Результат System.Xml.XmlNode

GetCellPos() публичный метод

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
Результат CellPos

GetCellRangeFromXMLString() публичный метод

analyse the xml string which contains the cell range of the data table
public GetCellRangeFromXMLString ( ) : CellRanges
Результат CellRanges

GetTable() публичный метод

gets the table according to the name of the table
public GetTable ( string tableName ) : Table
tableName string
Результат AODL.Document.Content.Tables.Table

New() публичный метод

public New ( ) : void
Результат void

SaveTo() публичный метод

save the content of the chart
public SaveTo ( string dir ) : void
dir string
Результат void

Описание свойств

TableData публичное свойство

public CellRanges,AODL.Document.Content.Charts TableData
Результат CellRanges