com.vaadin.flow.component.charts.model.

Class DataSeriesItemBullet

All Implemented Interfaces:

Serializable

public class DataSeriesItemBullet extends DataSeriesItem

DataSeriesItem that can hold also target and targetOptions. Used in e.g. bullet series.

See Also:

  • Constructor Details

    • DataSeriesItemBullet

      public DataSeriesItemBullet()

      Constructs an empty item

    • DataSeriesItemBullet

      public DataSeriesItemBullet(Number y, Number target)

      Constructs an item with Y and Target

      Parameters:

      y -

      target -

    • DataSeriesItemBullet

      public DataSeriesItemBullet(Number x, Number y, Number target)

      Constructs an item with X, Y and Target

      Parameters:

      x -

      y -

      target -

    • DataSeriesItemBullet

      public DataSeriesItemBullet(Instant x, Number y, Number target)

      Constructs an item with X, Y and Target

      Parameters:

      x -

      y -

      target -

  • Method Details

    • getTarget

      public Number getTarget()

      Returns the target value of the item.

      Returns:

      The target value of this data item.

      See Also:

    • setTarget

      public void setTarget(Number target)

      The target value of the item.

      Parameters:

      target - target value of the item.

    • getTargetOptions

      public TargetOptions getTargetOptions()

      See Also:

      • #setPartialFill(ItemPartialFill)

    • setPartialFill

      public void setPartialFill(TargetOptions targetOptions)

      Individual target options for each point.