dashboard-js-devexpress-dot-dashboard-dot-data-48dc4991.md
A point on the data axis.
export interface ItemDataAxisPoint
Each data-bound dashboard item uses a multidimensional representation of data (the ItemData class). Thus the control can visualize information hierarchically. For instance, the pivot grid allows users to expand or collapse column/row field values to view data at different detail levels. In dashboard items, users can also drill up and down through data to move between detail levels.
The value corresponding to a specific hierarchy level is stored in the ItemDataAxisPoint class that defines a data point in a multidimensional space. Such data points are placed on a specific data axis, represented by the ItemDataAxis class. For instance, the pivot grid has the “Row” and “Column” axes, the chart has the “Argument” and “Series” axes, etc.
To obtain the parent point for the current axis point, use the getParent method. The getChildren method returns the collection of child axis points.
To obtain axis point values, use the getDimensionValue method.
Gets the name of the axis to which the current axis point belongs.
getAxisName(): string
| Type | Description |
|---|---|
| string |
A string that in the name of the axis.
|
Gets the child axis points for the current axis point.
getChildren(): Array<ItemDataAxisPoint>
| Type | Description |
|---|---|
| ItemDataAxisPoint[] |
An array of ItemDataAxisPoint objects that are child axis points.
|
Gets the last level dimension corresponding to the current axis point.
getDimension(): ItemDataDimension
| Type | Description |
|---|---|
| ItemDataDimension |
An ItemDataDimension object that contains the dimension metadata.
|
Gets the collection of dimensions used to create a hierarchy of axis points from the root point to the current axis point.
getDimensions(): Array<ItemDataDimension>
| Type | Description |
|---|---|
| ItemDataDimension[] |
An array of ItemDataDimension objects that contain the dimension metadata.
|
Gets the dimension values at the specified axis point.
getDimensionValue(
dimensionId?: string
): ItemDataDimensionValue
| Name | Type | Description |
|---|---|---|
| dimensionId | string |
A string that is the dimension’s unique identifier.
|
| Type | Description |
|---|---|
| ItemDataDimensionValue |
An ItemDataDimensionValue object that contains the dimension values at the specified axis point.
|
Gets the display text corresponding to the current axis point.
getDisplayText(): string
| Type | Description |
|---|---|
| string |
A string that is the display text corresponding to the current axis point.
|
Gets the parent axis point for the current axis point.
getParent(): ItemDataAxisPoint
| Type | Description |
|---|---|
ItemDataAxisPoint |
An ItemDataAxisPoint objectthat is the parent axis point.
|
Gets the unique value corresponding to the current axis point.
getUniqueValue(): DevExpress.Dashboard.Data.PrimitiveType
| Type | Description |
|---|---|
| PrimitiveType |
The unique value corresponding to the current axis point.
|
Gets the value corresponding to the current axis point.
getValue(): DevExpress.Dashboard.Data.PrimitiveType
| Type | Description |
|---|---|
| PrimitiveType |
The value corresponding to the current axis point.
|