Class BubbleChart.BubbleSeries
Object
ObjectIdentity
- Enclosing class:
BubbleChart
public static class BubbleChart.BubbleSeries
extends ChartSeries.Aggregation<BubbleChart,BubbleChart.BubbleSeries>
A single series of a
BubbleChart, obtained from BubbleChart.addSeries() rather than
instantiated directly.-
Field Summary
Fields inherited from class ChartSeries.Aggregation
bandByOptionsFields 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 X axis, Y axis, and bubble size measures.AggrFieldAxis<BubbleChart.BubbleSeries> Sets this series' X axis to an aggregated numeric measure, for example quantity.AggrFieldAxis<BubbleChart.BubbleSeries> Sets this series' Y axis to an aggregated numeric measure, for example price.setBubbleSize(String bubbleSize) Sets the third aggregated numeric measure that determines each point's bubble size, the "Bubble Size" setting in the Data Analyzer UI.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.Adds a trend line overlay to this series.Methods inherited from class ChartSeries.Aggregation
getBandByOptions, setAggregationBy, setBandBy, setShowBandByLegendMethods 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, setBoxplotAxis, setComparisonDim, setCurrency, setDatamart, setFormula, setGeneratedQueryDto, setLabel, setShowBoxplot, setType, setWhisker, withSortByAxisX, withSortByAxisYMethods inherited from class BacklinkBuilder
back, getParentMethods inherited from class ObjectIdentity
addInvocation, addInvocation, addInvocationInternal, getClassId
-
Constructor Details
-
BubbleSeries
-
-
Method Details
-
setAxisX
Sets this series' X axis to an aggregated numeric measure, for example quantity.- Parameters:
axisX- the technical name of the field to aggregate and plot on the X axis- Returns:
- a new
AggrFieldAxisbuilder for the X axis. Nevernull. - See Also:
-
setAxisY
Sets this series' Y axis to an aggregated numeric measure, for example price.- 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:
-
setLimitTo
public LimitToMeasure<BubbleChart.BubbleSeries> 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<BubbleChart,BubbleChart.BubbleSeries> - 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<BubbleChart,BubbleChart.BubbleSeries> - Parameters:
hideOther-trueto hide the "Other" bucket;falseornullto show it- Returns:
- this series, for chaining further configuration
-
setBubbleSize
Sets the third aggregated numeric measure that determines each point's bubble size, the "Bubble Size" setting in the Data Analyzer UI.- Parameters:
bubbleSize- the technical name of the field to aggregate and use for bubble size- Returns:
- a new
BubbleChart.BubbleSizebuilder for the bubble size measure. Nevernull. - See Also:
-
addAdditionalMeasure
Adds a further measure to this series beyond its X axis, Y axis, and bubble size measures.- Returns:
- a new
BubbleChart.BubbleAdditionalMeasurefor this series. Nevernull.
-
withTrendLine
Description copied from class:AbstractChartSeriesAdds a trend line overlay to this series. Declaredprotectedhere; a concrete series type re-exposes it aspubliconly if that chart type supports trend lines. CallTrendLine.setLabel(String)and the regression-type setter on the returned builder to configure it.- Overrides:
withTrendLinein classAbstractChartSeries<BubbleChart,BubbleChart.BubbleSeries> - Returns:
- a new
TrendLinebuilder for this series. Nevernull.
-