Class BasePieAggregator
Basic implementation of ISeriesAggregator interface ensuring caching of MaxValue/MinValue/etc., and correct cache invalidation on update.
Inherited Members
Namespace: Telerik.Windows.Controls.Charting
Assembly: Telerik.Windows.Controls.Charting.dll
Syntax
public abstract class BasePieAggregator : BaseSeriesAggregator, ISeriesAggregator
Constructors
BasePieAggregator(Axis, AggregationGroup)
Initializes a new instance of the BasePieAggregator class.
Declaration
protected BasePieAggregator(Axis axis, AggregationGroup aggregationGroup)
Parameters
Axis
axis
The axis. |
AggregationGroup
aggregationGroup
The aggregation group. |
Methods
CalculateMaxValue()
Evaluates the maximal value for all aggregated DataSeries (held in the Series collection).
Declaration
protected override double CalculateMaxValue()
Returns
System.Double
The maximum value. |
Overrides
See Also
CalculateMinValue()
Evaluates the minimal value for all aggregated DataSeries (held in the Series collection).
Declaration
protected override double CalculateMinValue()
Returns
System.Double
The minimum value. |
Overrides
See Also
CalculatePieLabelValue(Double)
Calculates the pie label value.
Declaration
protected abstract DataRange CalculatePieLabelValue(double labelPointValue)
Parameters
System.Double
labelPointValue
The label point value. |
Returns
DataRange
|
CalculateRange(DataSeries, Int32, DataRange)
Calculates the range in which the item at the specified itemIndex
in the
given dataSeries
should match.
Declaration
public override DataRange CalculateRange(DataSeries dataSeries, int itemIndex, DataRange axisRange)
Parameters
DataSeries
dataSeries
The data series. |
System.Int32
itemIndex
The index. |
DataRange
axisRange
The range. |
Returns
DataRange
|
Overrides
CalculateRange(DataSeries, Int32, DataRange, Boolean)
Calculates the range in which the item at the specified itemIndex
in the
given dataSeries
should match.
Declaration
public override DataRange CalculateRange(DataSeries dataSeries, int itemIndex, DataRange axisRange, bool shouldSubtractItemWidth)
Parameters
DataSeries
dataSeries
The data series. |
System.Int32
itemIndex
The index. |
DataRange
axisRange
The range. |
System.Boolean
shouldSubtractItemWidth
A value indicating whether the width of the item should be removed. |
Returns
DataRange
|