IDonutChartBucketProps
export interface IDonutChartBucketProps
Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
(Optional) Specify filters to apply on the data to chart. | |||
AttributeMeasureOrPlaceholder | AttributesMeasuresOrPlaceholders | Specify one or more measures to segment the donut chart. | ||
any | (Optional) Resolution context for composed placeholders. | ||
(Optional) Specify how to sort the data to chart. | |||
(Optional) Specify viewBy attribute that will be used to create the donut slices. There will be a slice for each value of the attribute. |
Property details
IDonutChartBucketProps.filtersproperty
Specify filters to apply on the data to chart.
filters?: NullableFiltersOrPlaceholders;
IDonutChartBucketProps.measuresproperty
Specify one or more measures to segment the donut chart.
measures: AttributeMeasureOrPlaceholder | AttributesMeasuresOrPlaceholders;
Remarks
If you specify a single measure, then you may further specify the viewBy attribute - there will be donut slice per attribute value.
If you specify multiple measures, then there will be a donut slice for each measure value. You may not specify the viewBy in this case.
IDonutChartBucketProps.placeholdersResolutionContextproperty
Resolution context for composed placeholders.
placeholdersResolutionContext?: any;
IDonutChartBucketProps.sortByproperty
Specify how to sort the data to chart.
sortBy?: SortsOrPlaceholders;
IDonutChartBucketProps.viewByproperty
Specify viewBy attribute that will be used to create the donut slices. There will be a slice for each value of the attribute.
viewBy?: AttributeOrPlaceholder;