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 Rows axis according to the value of the first item on the Columns axis.
Inheritance
Namespace: Syncfusion.Olap.UWP.Data
Assembly: Syncfusion.Olap.UWP.dll
Syntax
public class Axis : Object
Constructors
Axis()
Initializes a new instance of the Axis class.
Declaration
public Axis()
Properties
MaxLevel
Gets or sets the maximum level of the current member in the tuple set.
Declaration
public List<int> MaxLevel { get; set; }
Property Value
Type |
---|
System.Collections.Generic.List<System.Int32> |
MinLevel
Gets or sets the minimum level of the current member in the tuple set.
Declaration
public List<int> MinLevel { get; set; }
Property Value
Type |
---|
System.Collections.Generic.List<System.Int32> |
Name
Gets or sets the name of the axis.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String | The axis' name. |
TupleSet
Gets or sets the tuple collection.
Declaration
public TupleCollection TupleSet { get; set; }
Property Value
Type | Description |
---|---|
TupleCollection | The tuple set. |
valueSet
Gets or sets the values indicating whether the minimum level has been already set or not. Returns true if the level is already set or else returns false.
Declaration
public List<bool> valueSet { get; set; }
Property Value
Type |
---|
System.Collections.Generic.List<System.Boolean> |