Class TimeSeriesChart.TimeSeriesSeries
Object
ObjectIdentity
- Enclosing class:
TimeSeriesChart
public static class TimeSeriesChart.TimeSeriesSeries
extends ChartSeries.EmbeddedBoxplot<TimeSeriesChart,TimeSeriesChart.TimeSeriesSeries>
A single series of a
TimeSeriesChart, obtained from TimeSeriesChart.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, independent of any other measure already added.Sets the technical name of the date/time field this series plots on the X axis, grouped into periodic buckets.Sets the technical name of the aggregated numeric measure this series plots on the Y axis.setComparisonPeriod(BigDecimal comparisonPeriod) Sets how many periods back this series is compared against, when period comparison is enabled withChartOptions.ZAxis.setComparison(Boolean).setFromDate(Date fromDate) Sets the start of this series' date range, restricting it to periods on or after this date.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.Sets the end of this series' date range, restricting it to periods on or before this date.Adds a trend line overlay to this series.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, setComparisonDim, setCurrency, setDatamart, setFormula, setGeneratedQueryDto, setHideOther, setLabel, setShowBandByLegend, withSortByAxisX, withSortByAxisYMethods inherited from class BacklinkBuilder
back, getParentMethods inherited from class ObjectIdentity
addInvocation, addInvocation, addInvocationInternal, getClassId
-
Constructor Details
-
TimeSeriesSeries
-
-
Method Details
-
setLimitTo
public LimitToMeasure<TimeSeriesChart.TimeSeriesSeries> 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<TimeSeriesChart,TimeSeriesChart.TimeSeriesSeries> - 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 technical name of the date/time field this series plots on the X axis, grouped into periodic buckets.- Parameters:
axisX- the technical name of the date/time dimension field- Returns:
- this series, for chaining further configuration
- See Also:
-
setAxisY
Sets the technical name of the aggregated numeric measure this series plots on the Y axis.- Parameters:
axisY- the technical name of the measure field to aggregate- Returns:
- a new
AggrFieldAxisfor further configuring this Y axis measure - See Also:
-
setFromDate
Sets the start of this series' date range, restricting it to periods on or after this date.- Parameters:
fromDate- the earliest date to include- Returns:
- this series, for chaining further configuration
- See Also:
-
setToDate
Sets the end of this series' date range, restricting it to periods on or before this date.- Parameters:
toDate- the latest date to include- Returns:
- this series, for chaining further configuration
- See Also:
-
setComparisonPeriod
Sets how many periods back this series is compared against, when period comparison is enabled withChartOptions.ZAxis.setComparison(Boolean).- Parameters:
comparisonPeriod- the number of periods back to compare this series against- Returns:
- this series, for chaining further configuration
- See Also:
-
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<TimeSeriesChart,TimeSeriesChart.TimeSeriesSeries> - Returns:
- a new
TrendLinebuilder for this series. Nevernull.
-
addAdditionalMeasure
Adds a further measure to this series, independent of any other measure already added.- Returns:
- a new
TimeSeriesChart.TimeSeriesAdditionalMeasurefor this series. Nevernull.
-