viewBy
Home > @gooddata/sdk-ui-charts > IComboChartBucketProps > viewBy
IComboChartBucketProps.viewBy property
Specify one or two attributes to use for slicing the measure values 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 point/column/area indicating the respective slice's value.