Class ChartAxisSerializator
This class is responsible for chart axis serialization.
Inheritance
System.Object
ChartAxisSerializator
Namespace: Syncfusion.XlsIO.Implementation.XmlSerialization.Charts
Assembly: Syncfusion.XlsIO.NET.dll
Syntax
public class ChartAxisSerializator : Object
Constructors
ChartAxisSerializator()
Declaration
public ChartAxisSerializator()
Fields
TextRotationMultiplier
Defines text rotation multiplier constant.
Declaration
public const int TextRotationMultiplier = 60000
Field Value
Type |
---|
System.Int32 |
Methods
GetPairAxis(ChartAxisImpl)
Returns pair for the specified axis, it is category axis for value axis and vice versa.
Declaration
public static IChartAxis GetPairAxis(ChartAxisImpl axis)
Parameters
Type | Name | Description |
---|---|---|
ChartAxisImpl | axis | Axis to get pair for. |
Returns
Type | Description |
---|---|
IChartAxis | Pair for the specified axis. |
SerializeAxis(XmlWriter, IChartAxis, RelationCollection)
Serializes chart axis.
Declaration
public void SerializeAxis(XmlWriter writer, IChartAxis axis, RelationCollection relations)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlWriter | writer | XmlWriter to serialize into. |
IChartAxis | axis | Axis to serialize. |
RelationCollection | relations |