-
Notifications
You must be signed in to change notification settings - Fork 2
CubeService
zehavibarak edited this page Feb 15, 2025
·
3 revisions
import { AnalysisService } from '@bizdoc\core';
@Component()
export class MyComponent {
constructor(private _cube: AnalysisService) { }
query() {
this._cube.series('my-cube', 'year').subscribe(series => {
})
}
}Arguments
| Name | Usage |
|---|---|
| cubeName | The name of the cube |
| xAxis | The main axis name |
| options | Optional, see below |
Options
| Name | Usage |
|---|---|
| series | |
| indices | |
| filters | |
| scope | 'Patterns', 'Positions' or null. |
Returns
List of series. Each series has list of points. If indices were provided in options, the index property of the series is set to the name of the index.
xAxis and series accepts an axis name or array of axes names. If an array is provided, BizDoc cains results.
Retrieves cube data as a table.
Arguments
| Name | Usage |
|---|---|
| cubeName | The name of the cube |
| columns | List of axes |
| options | Optional, see below |
Options
| Name | Usage |
|---|---|
| indices | Index name or array of indices names |
| filters | Axes map |
| scope | 'Patterns', 'Positions' or null. |
Returns
Array of entries with the specified columns, value and indices (if provided in options).
Moding Ltd.