Interface Chart<SELF,O extends Options<?,?>,D extends AbstractData<?,?>>

All Known Implementing Classes:
AbstractChart, BarChart, BubbleChart, DoughnutChart, HomogeneousChart, LineChart, MixedChart, PieChart, PolarChart, RadarChart, ScatterChart

public interface Chart<SELF,O extends Options<?,?>,D extends AbstractData<?,?>>
  • Method Details

    • getType

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

      String toJson()

      Convert this instance to Json for use with Chart.js library.

      Returns:
      json representation of this Chart
    • setOptions

      SELF setOptions(O options)
    • setData

      SELF setData(D data)