Class WaterfallComparisonChart.WaterfallComparisonSeries
Object
ObjectIdentity
- Enclosing class:
WaterfallComparisonChart
public static class WaterfallComparisonChart.WaterfallComparisonSeries
extends ChartSeries.Basic<WaterfallComparisonChart,WaterfallComparisonChart.WaterfallComparisonSeries>
A single waterfall of a
WaterfallComparisonChart, obtained from
WaterfallComparisonChart.addSeries() rather than instantiated directly. Like
WaterfallChart.WaterfallSeries, this series is composed of named columns added with
addWaterfallColumn(WaterfallColumnType, String, String), rather than a single aggregated measure.-
Field Summary
Fields inherited from class AbstractChartSeries
aggregationsFilter, customersFilter, filters, productsFilterFields inherited from class BacklinkBuilder
METHOD_BACKFields inherited from class ObjectIdentity
classId, idGenerator, instanceId, invocations, m, NONE, parentObjectIdentity -
Constructor Summary
ConstructorsConstructorDescriptionWaterfallComparisonSeries(WaterfallComparisonChart backLink, String instanceId) -
Method Summary
Modifier and TypeMethodDescriptionaddWaterfallColumn(WaterfallColumnType columnType, String source, String label) Adds a column to this series' waterfall, either anADDorSUBTRACTstep sourced from a field, or aRESULTstep showing the running total.Returns the builder for the aggregation formula applied to this series'ADDandSUBTRACTcolumns, for exampleAggrFieldAxis.withPercent()orAggrFieldAxis.withTotal().Methods inherited from class ChartSeries.Basic
setHideDataLabelsMethods inherited from class AbstractChartSeries
addAggregationsFilter, addCustomersFilter, addDimFilter, addFilters, addFilters, addProductsFilter, getFilters, getThis, invokeAddAdditionalMeasure, protectedSetAggrFieldAxisX, protectedSetAggrFieldAxisY, protectedSetAxisX, protectedSetAxisY, protectedSetNonAggrFieldAxisX, protectedSetNonAggrFieldAxisY, setAggregationBy, setBandBy, setBoxplotAxis, setComparisonDim, setCurrency, setDatamart, setFormula, setGeneratedQueryDto, setHideOther, setLabel, setLimitTo, setShowBandByLegend, setShowBoxplot, setType, setWhisker, withSortByAxisX, withSortByAxisY, withTrendLineMethods inherited from class BacklinkBuilder
back, getParentMethods inherited from class ObjectIdentity
addInvocation, addInvocation, addInvocationInternal, getClassId
-
Constructor Details
-
WaterfallComparisonSeries
-
-
Method Details
-
getAggregation
Returns the builder for the aggregation formula applied to this series'ADDandSUBTRACTcolumns, for exampleAggrFieldAxis.withPercent()orAggrFieldAxis.withTotal().- Returns:
- this series'
WaterfallComparisonChart.Aggregationbuilder. Nevernull.
-
addWaterfallColumn
public WaterfallComparisonChart.WaterfallComparisonSeries addWaterfallColumn(WaterfallColumnType columnType, String source, String label) Adds a column to this series' waterfall, either anADDorSUBTRACTstep sourced from a field, or aRESULTstep showing the running total.- Parameters:
columnType- whether this column adds to, subtracts from, or shows the running total of the waterfallsource- the technical name of the field this column's value is sourced from;nullfor aRESULTcolumnlabel- an explicit display label for this column, overriding the source field's own label;nullto use that default, or required ifcolumnTypeisRESULT- Returns:
- this series, for chaining further configuration
-