Class Axis
The axis function uses the zero-based position of an axis to return the set of tuples on an axis. For example, Axis(0) returns the column axis, Axis(1) returns the row axis, and so on. It cannot be used on the filter axis. This function can be used to make calculated members aware of the context of the query that is being run. For example, you might need a calculated member that provides the sum of only those members selected on the rows axis. It can also be used to make the definition of one axis dependent on the definition of another. For example, by ordering the contents of the Row axis according to the value of the first item on the Column axis.
Inheritance
Implements
Inherited Members
Namespace: Syncfusion.Olap.Data
Assembly: Syncfusion.Olap.Base.dll
Syntax
public class Axis : IDisposable
Remarks
An axis is created in cell set object, when ExecuteCellSet method is invoked from AdomdProvider.
Constructors
Axis()
Initializes a new instance of the Axis class.
Declaration
public Axis()
Properties
Name
Gets or sets the name of the axis.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String | The name of the axis. |
TupleSet
Gets the collection of tuples.
Declaration
public TupleCollection TupleSet { get; }
Property Value
Type | Description |
---|---|
TupleCollection | The collection of tuples. |
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
public void Dispose()
NormalizeExpandedState()
Normalizes drilled down property of the equal cells if they differ.
Declaration
[Obsolete("This method is obsolete and will be removed in a future release.")]
public static void NormalizeExpandedState()