IAreaChartBucketProps
export interface IAreaChartBucketProps
Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
(Optional) Specify filters to apply on the data to chart. | |||
Specify one or more measures to display on area chart. | |||
any | (Optional) Resolution context for composed placeholders. | ||
(Optional) Specify how to sort the data to chart. | |||
(Optional) Specify attribute to stack by. This is only applicable if you specify at most single viewBy attribute. | |||
(Optional) Specify attributes to slice and stack the area chart. |
Property details
IAreaChartBucketProps.filtersproperty
Specify filters to apply on the data to chart.
filters?: NullableFiltersOrPlaceholders;
IAreaChartBucketProps.measuresproperty
Specify one or more measures to display on area 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.
IAreaChartBucketProps.placeholdersResolutionContextproperty
Resolution context for composed placeholders.
placeholdersResolutionContext?: any;
IAreaChartBucketProps.sortByproperty
Specify how to sort the data to chart.
sortBy?: SortsOrPlaceholders;
IAreaChartBucketProps.stackByproperty
Specify attribute to stack by. This is only applicable if you specify at most single viewBy attribute.
stackBy?: AttributeOrPlaceholder;
Remarks
Note: stacking area chart using attribute elements means only a single measure can be charted. The component will take the first measure.
IAreaChartBucketProps.viewByproperty
Specify attributes to slice and stack the area chart.
viewBy?: AttributeOrPlaceholder | AttributesOrPlaceholders;
Remarks
If you specify single attribute, then elements of this attribute will be used to slice the measures along the X axis.
If you specify two attributes, then the first attribute will be used to slice the measures along the X axis, and the second attribute will be used for stacking.
If you specify three or more attributes, only the first two attributes will be used.
Note: using two measures in viewBy is a convenience. It is equivalent to specifying single viewBy and single stackBy attribute. In either case, as soon as the area chart is stacked, only the first measure will be calculated and charted.