Class ChartMeasures.Basic<S extends AbstractChartSeries<?,S>,M extends ChartMeasures.Basic<S,M>>
Object
ObjectIdentity
BacklinkBuilder<S>
AbstractChartMeasures<S,M>
Basic<S,M>
- Direct Known Subclasses:
BubbleChart.BubbleAdditionalMeasure,ChartMeasures.Type,DataTableChart.DataTableAdditionalMeasure,HeatmapChart.HeatmapAdditionalMeasure,PieChart.PieAdditionalMeasure,ScatterChart.ScatterAdditionalMeasure,TimeSeriesScatterChart.TimeSeriesScatterAdditionalMeasure
- Enclosing class:
ChartMeasures
public abstract static class ChartMeasures.Basic<S extends AbstractChartSeries<?,S>,M extends ChartMeasures.Basic<S,M>>
extends AbstractChartMeasures<S,M>
Re-exposes
AbstractChartMeasures.withAggregation(String),
AbstractChartMeasures.withAggregation(net.pricefx.common.api.chart.AggregationFormula),
AbstractChartMeasures.withFormula(), AbstractChartMeasures.withPercent(),
AbstractChartMeasures.withPerUnit(), AbstractChartMeasures.withAverage(), and
AbstractChartMeasures.withTotal() as public; the tier extended by a concrete
additional-measure type that supports none of ChartMeasures.Type's or ChartMeasures.EmbeddedBoxplot's further
options, for example ScatterChart.ScatterAdditionalMeasure or
PieChart.PieAdditionalMeasure.-
Field Summary
Fields inherited from class BacklinkBuilder
METHOD_BACKFields inherited from class ObjectIdentity
classId, idGenerator, instanceId, invocations, m, NONE, parentObjectIdentity -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal MwithAggregation(String aggregationFunction) Sets the aggregation formula for this additional measure by its raw string name, for cases not covered by theAbstractChartMeasures.withAggregation(AggregationFormula)overload or theAbstractChartMeasures.withPercent()/AbstractChartMeasures.withPerUnit()/AbstractChartMeasures.withAverage()/AbstractChartMeasures.withTotal()shortcuts.final MwithAggregation(AggregationFormula aggregationFunction) Sets the aggregation formula for this additional measure.final MShorthand forwithAggregation(AggregationFormula.AVERAGE).final MMarks this additional measure as computed from a named Pricing Formula: the value previously set viaAbstractChartMeasures.setMeasure(String)is then treated as a Formula name rather than a plain Datamart field name.final MShorthand forwithAggregation(AggregationFormula.PERCENT).final MShorthand forwithAggregation(AggregationFormula.PERUNIT).final MShorthand for summing this additional measure's values (the Data Analyzer's "Sum" aggregation option).Methods inherited from class AbstractChartMeasures
getThis, setId, setLabel, setMeasure, setOnZAxis, setType, withBoxplotExpression, withBoxplotField, withExpressionMethods inherited from class BacklinkBuilder
back, getParentMethods inherited from class ObjectIdentity
addInvocation, addInvocation, addInvocationInternal, getClassId
-
Constructor Details
-
Basic
-
-
Method Details
-
withAggregation
Description copied from class:AbstractChartMeasuresSets the aggregation formula for this additional measure by its raw string name, for cases not covered by theAbstractChartMeasures.withAggregation(AggregationFormula)overload or theAbstractChartMeasures.withPercent()/AbstractChartMeasures.withPerUnit()/AbstractChartMeasures.withAverage()/AbstractChartMeasures.withTotal()shortcuts. Declaredprotectedhere; a concrete additional-measure type re-exposes it aspublicviaChartMeasures.Basic(or a subclass of it).- Overrides:
withAggregationin classAbstractChartMeasures<S extends AbstractChartSeries<?,S>, M extends ChartMeasures.Basic<S, M>> - Parameters:
aggregationFunction-Stringrepresentation of anAggregationFormulaconstant- Returns:
- this additional measure, for chaining further configuration
- See Also:
-
withAggregation
Description copied from class:AbstractChartMeasuresSets the aggregation formula for this additional measure. Declaredprotectedhere; a concrete additional-measure type re-exposes it aspublicviaChartMeasures.Basic(or a subclass of it). TheAbstractChartMeasures.withPercent(),AbstractChartMeasures.withPerUnit(),AbstractChartMeasures.withAverage(), andAbstractChartMeasures.withTotal()methods are shortcuts for the most common formulas that avoid passing the enum constant directly.- Overrides:
withAggregationin classAbstractChartMeasures<S extends AbstractChartSeries<?,S>, M extends ChartMeasures.Basic<S, M>> - Parameters:
aggregationFunction- the aggregation formula to apply- Returns:
- this additional measure, for chaining further configuration
- See Also:
-
withFormula
Description copied from class:AbstractChartMeasuresMarks this additional measure as computed from a named Pricing Formula: the value previously set viaAbstractChartMeasures.setMeasure(String)is then treated as a Formula name rather than a plain Datamart field name. Declaredprotectedhere; a concrete additional-measure type re-exposes it aspublicviaChartMeasures.Basic(or a subclass of it).- Overrides:
withFormulain classAbstractChartMeasures<S extends AbstractChartSeries<?,S>, M extends ChartMeasures.Basic<S, M>> - Returns:
- this additional measure, for chaining further configuration
- See Also:
-
withPercent
Description copied from class:AbstractChartMeasuresShorthand forwithAggregation(AggregationFormula.PERCENT). Declaredprotectedhere; a concrete additional-measure type re-exposes it aspublicviaChartMeasures.Basic(or a subclass of it).- Overrides:
withPercentin classAbstractChartMeasures<S extends AbstractChartSeries<?,S>, M extends ChartMeasures.Basic<S, M>> - Returns:
- this additional measure, for chaining further configuration
-
withPerUnit
Description copied from class:AbstractChartMeasuresShorthand forwithAggregation(AggregationFormula.PERUNIT). Declaredprotectedhere; a concrete additional-measure type re-exposes it aspublicviaChartMeasures.Basic(or a subclass of it).- Overrides:
withPerUnitin classAbstractChartMeasures<S extends AbstractChartSeries<?,S>, M extends ChartMeasures.Basic<S, M>> - Returns:
- this additional measure, for chaining further configuration
-
withAverage
Description copied from class:AbstractChartMeasuresShorthand forwithAggregation(AggregationFormula.AVERAGE). Declaredprotectedhere; a concrete additional-measure type re-exposes it aspublicviaChartMeasures.Basic(or a subclass of it).- Overrides:
withAveragein classAbstractChartMeasures<S extends AbstractChartSeries<?,S>, M extends ChartMeasures.Basic<S, M>> - Returns:
- this additional measure, for chaining further configuration
-
withTotal
Description copied from class:AbstractChartMeasuresShorthand for summing this additional measure's values (the Data Analyzer's "Sum" aggregation option). Declaredprotectedhere; a concrete additional-measure type re-exposes it aspublicviaChartMeasures.Basic(or a subclass of it).- Overrides:
withTotalin classAbstractChartMeasures<S extends AbstractChartSeries<?,S>, M extends ChartMeasures.Basic<S, M>> - Returns:
- this additional measure, for chaining further configuration
-