Class ChartParentAxisImpl
Represents ChartParentAxis record and subrecords.
Inherited Members
Namespace: Syncfusion.XlsIO.Implementation.Charts
Assembly: Syncfusion.XlsIO.NET.dll
Syntax
public class ChartParentAxisImpl : CommonObject, IParentApplication, IDisposable
Constructors
ChartParentAxisImpl(IApplication, object)
Creates new instance of chart parent axis.
Declaration
public ChartParentAxisImpl(IApplication application, object parent)
Parameters
| Type | Name | Description |
|---|---|---|
| IApplication | application | Application object. |
| object | parent | Parent object. |
ChartParentAxisImpl(IApplication, object, bool)
Creates new instance of chart parent axis.
Declaration
public ChartParentAxisImpl(IApplication application, object parent, bool isPrimary)
Parameters
| Type | Name | Description |
|---|---|---|
| IApplication | application | Application object. |
| object | parent | Parent object. |
| bool | isPrimary | If true - creates primary axis; otherwise - secondary. |
Properties
CategoryAxis
Gets or sets ChartCategoryAxis.
Declaration
public ChartCategoryAxisImpl CategoryAxis { get; set; }
Property Value
| Type |
|---|
| ChartCategoryAxisImpl |
ChartFormats
Returns collection that contain chart format. Read-only.
Declaration
public ChartFormatCollection ChartFormats { get; }
Property Value
| Type |
|---|
| ChartFormatCollection |
Formats
Represents formats collection. Read-only.
Declaration
public ChartGlobalFormatsCollection Formats { get; }
Property Value
| Type |
|---|
| ChartGlobalFormatsCollection |
IsPrimary
If true this axis is primary axis; otherwise false. Read-only.
Declaration
public bool IsPrimary { get; }
Property Value
| Type |
|---|
| bool |
ParentChart
Returns parent chart. Read-only.
Declaration
public ChartImpl ParentChart { get; }
Property Value
| Type |
|---|
| ChartImpl |
SeriesAxis
Gets or sets series axis.
Declaration
public ChartSeriesAxisImpl SeriesAxis { get; set; }
Property Value
| Type |
|---|
| ChartSeriesAxisImpl |
ValueAxis
Gets or sets ValueAxis.
Declaration
public ChartValueAxisImpl ValueAxis { get; set; }
Property Value
| Type |
|---|
| ChartValueAxisImpl |
Methods
ClearGridLines()
Clears all walls, floor, gridLines.
Declaration
public void ClearGridLines()
Clone(object, Dictionary<int, int>, Dictionary<string, string>)
Clones current object.
Declaration
public ChartParentAxisImpl Clone(object parent, Dictionary<int, int> dicFontIndexes, Dictionary<string, string> dicNewSheetNames)
Parameters
| Type | Name | Description |
|---|---|---|
| object | parent | Parent object. |
| Dictionary<int, int> | dicFontIndexes | Dictionary with new font indexes. |
| Dictionary<string, string> | dicNewSheetNames | Dictionary with new sheet names. |
Returns
| Type | Description |
|---|---|
| ChartParentAxisImpl | Returns cloned object. |
CreatePrimaryFormats()
Creates global format collection.
Declaration
public void CreatePrimaryFormats()
MarkUsedReferences(bool[])
Sets items with used reference indexes to true.
Declaration
public void MarkUsedReferences(bool[] usedItems)
Parameters
| Type | Name | Description |
|---|---|---|
| bool[] | usedItems | Array to mark used references in. |
OnDispose()
This method is called during dispose operation.
Declaration
protected override void OnDispose()
Overrides
Parse(IList<BiffRecordRaw>, ref int)
Parses parent axis impl.
Declaration
[CLSCompliant(false)]
public void Parse(IList<BiffRecordRaw> data, ref int iPos)
Parameters
| Type | Name | Description |
|---|---|---|
| IList<BiffRecordRaw> | data | Record storage. |
| int | iPos | Position in storage. |
Serialize(OffsetArrayList)
Serialize current object.
Declaration
[CLSCompliant(false)]
public void Serialize(OffsetArrayList records)
Parameters
| Type | Name | Description |
|---|---|---|
| OffsetArrayList | records | Record storage to serialize. |
UpdateReferenceIndexes(int[])
Updates reference indexes.
Declaration
public void UpdateReferenceIndexes(int[] arrUpdatedIndexes)
Parameters
| Type | Name | Description |
|---|---|---|
| int[] | arrUpdatedIndexes | Array with updated indexes. |
UpdateSecondaryAxis(bool)
Using for creating secondary axis in Series type change.
Declaration
public void UpdateSecondaryAxis(bool bCreateAxis)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | bCreateAxis | Value indicating whether to create new axis. |