Class PolarChart

All Implemented Interfaces:
Chart<PolarChart,PolarOptions,PolarData>

public class PolarChart extends AbstractChart<PolarChart,PolarOptions,PolarData>
  • Constructor Details

    • PolarChart

      public PolarChart()
    • PolarChart

      public PolarChart(PolarData data)
    • PolarChart

      public PolarChart(PolarData data, PolarOptions options)
  • Method Details

    • data

      public static PolarData data()
      Static factory, constructs an Data implementation appropriate for a PolarChart.
      Returns:
      a new PolarData instance
    • options

      public static PolarOptions options()
      Static factory, constructs an Options implementation appropriate for a PolarChart.
      Returns:
      a new PolarOptions 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.

      PolarChart is drawable if at least one dataset has at least two data points.

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