Class WaterfallChart.WaterfallSeries
Object
ObjectIdentity
BacklinkBuilder<WaterfallChart>
- Enclosing class:
WaterfallChart
public static class WaterfallChart.WaterfallSeries
extends ChartSeries.Basic<WaterfallChart,WaterfallChart.WaterfallSeries>
The single series of a
WaterfallChart, obtained from WaterfallChart.getSeries() rather
than instantiated directly. Unlike other chart types, 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
Constructors -
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
-
WaterfallSeries
-
-
Method Details
-
getAggregation
Returns the builder for the aggregation formula applied to this series'ADDandSUBTRACTcolumns, for exampleAggrFieldAxis.withPercent()orAggrFieldAxis.withTotal().- Returns:
- this series'
WaterfallChart.Aggregationbuilder. Nevernull.
-
addWaterfallColumn
public WaterfallChart.WaterfallSeries 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
-