IBarChartBucketProps
export interface IBarChartBucketProps
Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
(Optional) Specify filters to apply on the data to chart. | |||
Specify one or more measures to display on the bar chart. | |||
any | (Optional) Resolution context for composed placeholders. | ||
(Optional) Specify how to sort the data to chart. | |||
(Optional) Specify attribute to stack the bars by. | |||
(Optional) Specify one or two attributes to slice the measures along the Y axis. |
Property details
IBarChartBucketProps.filtersproperty
Specify filters to apply on the data to chart.
filters?: NullableFiltersOrPlaceholders;
IBarChartBucketProps.measuresproperty
Specify one or more measures to display on the bar chart.
measures: AttributesMeasuresOrPlaceholders;
Remarks
Note: it is possible to also include an attribute object among measures. In that case cardinality of the attribute elements will be charted.
IBarChartBucketProps.placeholdersResolutionContextproperty
Resolution context for composed placeholders.
placeholdersResolutionContext?: any;
IBarChartBucketProps.sortByproperty
Specify how to sort the data to chart.
sortBy?: SortsOrPlaceholders;
IBarChartBucketProps.stackByproperty
Specify attribute to stack the bars by.
stackBy?: AttributeOrPlaceholder;
IBarChartBucketProps.viewByproperty
Specify one or two attributes to slice the measures along the Y axis.
viewBy?: AttributeOrPlaceholder | AttributesOrPlaceholders;
Remarks
If you specify two attributes, the values of these attributes will appear on the Y axis as grouped. For each value of the first attribute there will be all applicable values of the second attribute. For each value of the second attribute there will be a bar indicating the respective slice’s value.