Class BubbleChart

All Implemented Interfaces:
Chart<BubbleChart,BubbleOptions,BubbleData>

public class BubbleChart extends HomogeneousChart<BubbleChart,BubbleOptions,BubbleData>
  • Constructor Details

  • Method Details

    • data

      public static BubbleData data()
      Static factory, constructs an HomogeneousData implementation appropriate for a BubbleChart.
      Returns:
      a new BubbleData instance
    • options

      public static BubbleOptions options()
      Static factory, constructs an Options implementation appropriate for a BubbleChart.
      Returns:
      a new BubbleOptions instance
    • getType

      public String getType()
      Returns:
      type of this Chart implementation for proper drawing in JavaScript.
    • isDrawable

      public boolean isDrawable()

      Optional check to determine whether the current state of this Chart implementation instance will generate a drawable JSON string.

      Implementations provide a best-effort evaluation, and can not guarantee that the serialized chart will be rendered correctly.

      BubbleChart is drawable if at least one dataset has at least one data point.

      Returns:
      true if this Chart is drawable in its current state