Class BarLineChart.BarLineSeries
Object
ObjectIdentity
- Enclosing class:
BarLineChart
public static class BarLineChart.BarLineSeries
extends ChartSeries.EmbeddedBoxplot<BarLineChart,BarLineChart.BarLineSeries>
A single series of a
BarLineChart, obtained from BarLineChart.addSeries() rather than
instantiated directly.-
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 TypeMethodDescriptionAdds a further measure to this series beyond its primary Y axis measure, plotted alongside it.Sets this series' X axis to a plain category field, for example a country or product group.AggrFieldAxis<BarLineChart.BarLineSeries> Sets this series' Y axis to an aggregated numeric measure, for example revenue.setComparisonDim(String comparisonDimension) Sets the dimension this series is compared against a prior period on, for example comparing this period's revenue to the same dimension value last period.setHideOther(Boolean hideOther) Hides the "Other" bucket that some chart types add to collect data points not otherwise shown, for example the remainder after aTop-N limit.setLimitTo(LimitPosition limitPosition, BigDecimal amount, LimitType limitType) Limits this series to its top or bottomamountrows by measure value, for example the top 10 customers by revenue.withSortByAxisX(SortType sortType) Sorts this series by its X axis values.withSortByAxisY(SortType sortType) Sorts this series by its Y axis values.Methods inherited from class ChartSeries.EmbeddedBoxplot
setBoxplotAxis, setShowBoxplot, setType, setWhiskerMethods 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, setCurrency, setDatamart, setFormula, setGeneratedQueryDto, setLabel, setShowBandByLegend, withTrendLineMethods inherited from class BacklinkBuilder
back, getParentMethods inherited from class ObjectIdentity
addInvocation, addInvocation, addInvocationInternal, getClassId
-
Constructor Details
-
BarLineSeries
-
-
Method Details
-
setLimitTo
public LimitToMeasure<BarLineChart.BarLineSeries> setLimitTo(LimitPosition limitPosition, BigDecimal amount, LimitType limitType) Description copied from class:AbstractChartSeriesLimits this series to its top or bottomamountrows by measure value, for example the top 10 customers by revenue. Declaredprotectedhere; a concrete series type re-exposes it aspubliconly if that chart type supports Top-N/Bottom-N limiting. By default the limit applies to the series' own measure; callLimitToMeasure.setMeasure(String)on the returned builder to limit by a different measure instead.- Overrides:
setLimitToin classAbstractChartSeries<BarLineChart,BarLineChart.BarLineSeries> - Parameters:
limitPosition-LimitPosition.TOPorLimitPosition.BOTTOMamount- the number of rows to keeplimitType- the kind of limit to apply; currently onlyLimitType.ROWexists- Returns:
- a new
LimitToMeasurebuilder for this series. Nevernull.
-
setHideOther
Description copied from class:AbstractChartSeriesHides the "Other" bucket that some chart types add to collect data points not otherwise shown, for example the remainder after aTop-N limit. Declaredprotectedhere; a concrete series type re-exposes it aspubliconly if that chart type supports an "Other" bucket.- Overrides:
setHideOtherin classAbstractChartSeries<BarLineChart,BarLineChart.BarLineSeries> - Parameters:
hideOther-trueto hide the "Other" bucket;falseornullto show it- Returns:
- this series, for chaining further configuration
-
setAxisX
Sets this series' X axis to a plain category field, for example a country or product group.- Parameters:
axisX- the technical name of the field to plot on the X axis- Returns:
- this series, for chaining further configuration
- See Also:
-
setAxisY
Sets this series' Y axis to an aggregated numeric measure, for example revenue.- Parameters:
axisY- the technical name of the field to aggregate and plot on the Y axis- Returns:
- a new
AggrFieldAxisbuilder for the Y axis. Nevernull. - See Also:
-
withSortByAxisX
Description copied from class:AbstractChartSeriesSorts this series by its X axis values. Declaredprotectedhere; a concrete series type re-exposes it aspubliconly if that chart type supports sorting by the X axis.- Overrides:
withSortByAxisXin classAbstractChartSeries<BarLineChart,BarLineChart.BarLineSeries> - Parameters:
sortType- the sort direction to apply- Returns:
- this series, for chaining further configuration
- See Also:
-
withSortByAxisY
Description copied from class:AbstractChartSeriesSorts this series by its Y axis values. Declaredprotectedhere; a concrete series type re-exposes it aspubliconly if that chart type supports sorting by the Y axis.- Overrides:
withSortByAxisYin classAbstractChartSeries<BarLineChart,BarLineChart.BarLineSeries> - Parameters:
sortType- the sort direction to apply- Returns:
- this series, for chaining further configuration
- See Also:
-
setComparisonDim
Description copied from class:AbstractChartSeriesSets the dimension this series is compared against a prior period on, for example comparing this period's revenue to the same dimension value last period. Declaredprotectedhere; a concrete series type re-exposes it aspubliconly if that chart type supports period-over-period comparison.- Overrides:
setComparisonDimin classAbstractChartSeries<BarLineChart,BarLineChart.BarLineSeries> - Parameters:
comparisonDimension- the technical name of the dimension field to compare by- Returns:
- this series, for chaining further configuration
-
addAdditionalMeasure
Adds a further measure to this series beyond its primary Y axis measure, plotted alongside it.- Returns:
- a new
BarLineChart.BarLineAdditionalMeasurefor this series. Nevernull.
-