Repository navigation
Sum
zehavibarak edited this page Oct 27, 2022
·
1 revision
Show active axis totals, previous and future.
<bizdoc-cube-sum
xAxis="month"
parentAxis="year"
[filters]='filters'
[scope]='scope'
[indices]='indices'
(explore)='explore($event)'>
</bizdoc-cube-sum>@Component()
export class PivotComponent implements OnInit {
filters: AxesMap;
ngOnInit() {
const today = new Date();
this.filters = {
year: today.getFullYear(),
month: 'M' + ('0' + today.getMonth()).slice(-2))
};
}
}Properties
| Name | Usage |
|---|---|
| cube | Cube name |
| primaryAxis | Required. Axis name |
| parentAxis | Level above primary axis |
| periodPolicy | Strict or Fish. Default to Fish |
| filters | Axes map |
| indices | Index or array of indices |
| scope | Positions, Patterns or none |
| palettes | Array of colors |
Period policy 'Strict' or 'Fish'.
Moding Ltd.