Class ChartAxisParser
This class is responsible for chart axis parsing.
Inheritance
Namespace: Syncfusion.XlsIO.Implementation.XmlSerialization.Charts
Assembly: Syncfusion.XlsIO.NET.dll
Syntax
public class ChartAxisParser : Object
Constructors
ChartAxisParser()
Initializes static members of the ChartAxisParser class.
Declaration
public ChartAxisParser()
ChartAxisParser(WorkbookImpl)
Represents Chart Axis Parser
Declaration
public ChartAxisParser(WorkbookImpl book)
Parameters
Type | Name | Description |
---|---|---|
WorkbookImpl | book |
Fields
DefaultFont
Default font name.
Declaration
public const string DefaultFont = "Calibri"
Field Value
Type |
---|
System.String |
DefaultFontSize
Default axis font size.
Declaration
public const float DefaultFontSize = 10F
Field Value
Type |
---|
System.Single |
Methods
ParseCategoryAxis(XmlReader, ChartCategoryAxisImpl, RelationCollection, ExcelChartType, Excel2007Parser)
Serializes category axis.
Declaration
public void ParseCategoryAxis(XmlReader reader, ChartCategoryAxisImpl axis, RelationCollection relations, ExcelChartType chartType, Excel2007Parser parser)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlReader | reader | XmlReader to extract data from. |
ChartCategoryAxisImpl | axis | Axis to serialize. |
RelationCollection | relations | Chart item relations. |
ExcelChartType | chartType | Prognosed type of the chart (or chart part) that is being parsed. |
Excel2007Parser | parser |
ParseDateAxis(XmlReader, ChartCategoryAxisImpl, RelationCollection, ExcelChartType, Excel2007Parser)
Extracts date axis from XmlReader.
Declaration
public void ParseDateAxis(XmlReader reader, ChartCategoryAxisImpl axis, RelationCollection relations, ExcelChartType chartType, Excel2007Parser parser)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlReader | reader | XmlReader to serialize into. |
ChartCategoryAxisImpl | axis | Axis to serialize. |
RelationCollection | relations | Chart item relations. |
ExcelChartType | chartType | Prognosed type of the chart (or chart part) that is being parsed. |
Excel2007Parser | parser |
ParseSeriesAxis(XmlReader, ChartSeriesAxisImpl, RelationCollection, ExcelChartType, Excel2007Parser)
Extracts series axis data.
Declaration
public void ParseSeriesAxis(XmlReader reader, ChartSeriesAxisImpl seriesAxis, RelationCollection relations, ExcelChartType chartType, Excel2007Parser parser)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlReader | reader | XmlReader to extract data from. |
ChartSeriesAxisImpl | seriesAxis | Axis to put extracted data into. |
RelationCollection | relations | Chart item relations. |
ExcelChartType | chartType | Prognosed type of the chart (or chart part) that is being parsed. |
Excel2007Parser | parser |
ParseValueAxis(XmlReader, ChartValueAxisImpl, RelationCollection, ExcelChartType, Excel2007Parser)
Extracts value axis.
Declaration
public void ParseValueAxis(XmlReader reader, ChartValueAxisImpl valueAxis, RelationCollection relations, ExcelChartType chartType, Excel2007Parser parser)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlReader | reader | XmlReader to extract axis from. |
ChartValueAxisImpl | valueAxis | Axis to put extracted data into. |
RelationCollection | relations | Chart item relations. |
ExcelChartType | chartType | Prognosed type of the chart (or chart part) that is being parsed. |
Excel2007Parser | parser |