Class RadarChart

All Implemented Interfaces:
Chart<RadarChart,RadarOptions,RadarData>

public class RadarChart extends HomogeneousChart<RadarChart,RadarOptions,RadarData>
  • Constructor Details

    • RadarChart

      public RadarChart()
    • RadarChart

      public RadarChart(RadarData data)
    • RadarChart

      public RadarChart(RadarData data, RadarOptions options)
  • Method Details

    • data

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

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

      RadarChart is drawable if at least one dataset has at least three data points.

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