viewBy
Home > @gooddata/sdk-ui-charts > IColumnChartBucketProps > viewBy
IColumnChartBucketProps.viewBy property
Specify one or two attributes to slice the measures along the X axis.
Signature:
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.