Class LimitToMeasure<S extends AbstractChartSeries<?,S>>

Object
ObjectIdentity
BacklinkBuilder<S>
AggrFieldAxis<S>
LimitToMeasure<S>
Type Parameters:
S - the type of the series this limit belongs to

public class LimitToMeasure<S extends AbstractChartSeries<?,S>> extends AggrFieldAxis<S>
Builder for a series' Top-N/Bottom-N row limit, obtained from AbstractChartSeries.setLimitTo(net.pricefx.common.api.chart.LimitPosition, java.math.BigDecimal, net.pricefx.common.api.chart.LimitType) rather than instantiated directly. By default the limit ranks rows by the series' own measure; call setMeasure(String) to rank by a different measure instead.
  • Constructor Details

    • LimitToMeasure

      public LimitToMeasure(S backLink, String instanceId, String classId)
  • Method Details

    • setMeasure

      public LimitToMeasure<S> setMeasure(String measure)
      Sets the measure this Top-N/Bottom-N limit ranks rows by, instead of the series' own measure.
      Parameters:
      measure - the technical name of the field to rank rows by
      Returns:
      this LimitToMeasure builder, for chaining further configuration