IColumnChartBucketProps
export interface IColumnChartBucketProps
Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
(Optional) Specify filters to apply on the data to chart. | |||
Specify one or more measures to display on the column 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 X axis. |
Property details
IColumnChartBucketProps.filtersproperty
Specify filters to apply on the data to chart.
filters?: FiltersOrPlaceholders;
IColumnChartBucketProps.measuresproperty
Specify one or more measures to display on the column 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.
IColumnChartBucketProps.placeholdersResolutionContextproperty
Resolution context for composed placeholders.
placeholdersResolutionContext?: any;
IColumnChartBucketProps.sortByproperty
Specify how to sort the data to chart.
sortBy?: SortsOrPlaceholders;
IColumnChartBucketProps.stackByproperty
Specify attribute to stack the bars by.
stackBy?: AttributeOrPlaceholder;
IColumnChartBucketProps.viewByproperty
Specify one or two attributes to slice the measures along the X axis.
viewBy?: AttributeOrPlaceholder | AttributesOrPlaceholders;
Remarks
If you specify two attributes, the values of these attributes will appear on the X 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 column indicating the respective slice’s value.