Class HeatmapChart.HeatmapSeries
Object
ObjectIdentity
BacklinkBuilder<HeatmapChart>
- Enclosing class:
HeatmapChart
public static class HeatmapChart.HeatmapSeries
extends ChartSeries.Basic<HeatmapChart,HeatmapChart.HeatmapSeries>
The single series of a
HeatmapChart, obtained from HeatmapChart.getSeries() 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 color axis measure.Normalizes each Y axis category (row) to sum to 100%, so cell colors within a row show each column's share of that row's total rather than its raw aggregated value.Normalizes each X axis category (column) to sum to 100%, so cell colors within a column show each row's share of that column's total rather than its raw aggregated value.Sets the plain category field shown along the grid's X axis (columns), for example a product group.Sets the plain category field shown along the grid's Y axis (rows), for example a region.AggrFieldAxis<HeatmapChart.HeatmapSeries> setColorAxis(String colorAxis) Sets the aggregated numeric measure that determines each grid cell's color, the "Color Axis" in the Data Analyzer UI.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.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, setShowBandByLegend, setShowBoxplot, setType, setWhisker, withTrendLineMethods inherited from class BacklinkBuilder
back, getParentMethods inherited from class ObjectIdentity
addInvocation, addInvocation, addInvocationInternal, getClassId
-
Constructor Details
-
HeatmapSeries
-
-
Method Details
-
setLimitTo
public LimitToMeasure<HeatmapChart.HeatmapSeries> 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<HeatmapChart,HeatmapChart.HeatmapSeries> - 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.
-
setAxisX
Sets the plain category field shown along the grid's X axis (columns), for example a 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:
-
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<HeatmapChart,HeatmapChart.HeatmapSeries> - Parameters:
sortType- the sort direction to apply- Returns:
- this series, for chaining further configuration
- See Also:
-
setAxisY
Sets the plain category field shown along the grid's Y axis (rows), for example a region.- Parameters:
axisY- the technical name of the field to plot on the Y axis- 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<HeatmapChart,HeatmapChart.HeatmapSeries> - Parameters:
sortType- the sort direction to apply- Returns:
- this series, for chaining further configuration
- See Also:
-
setColorAxis
Sets the aggregated numeric measure that determines each grid cell's color, the "Color Axis" in the Data Analyzer UI.- Parameters:
colorAxis- the technical name of the field to aggregate and use for cell color- Returns:
- a new
AggrFieldAxisbuilder for the color axis. Nevernull. - See Also:
-
normalizeAcrossColumns
Normalizes each Y axis category (row) to sum to 100%, so cell colors within a row show each column's share of that row's total rather than its raw aggregated value.- Returns:
- this series, for chaining further configuration
- See Also:
-
normalizeAcrossRows
Normalizes each X axis category (column) to sum to 100%, so cell colors within a column show each row's share of that column's total rather than its raw aggregated value.- Returns:
- this series, for chaining further configuration
- See Also:
-
addAdditionalMeasure
Adds a further measure to this series beyond its color axis measure.- Returns:
- a new
HeatmapChart.HeatmapAdditionalMeasurefor this series. Nevernull.
-