Class AbstractChartDescription

java.lang.Object
io.jmix.reports.entity.charts.AbstractChartDescription
Direct Known Subclasses:
PieChartDescription, SerialChartDescription

public abstract class AbstractChartDescription extends Object
  • Field Details

    • id

      protected UUID id
    • type

      protected final String type
    • showLegend

      protected Boolean showLegend
    • customJsonConfig

      protected String customJsonConfig
  • Constructor Details

    • AbstractChartDescription

      public AbstractChartDescription(String type)
  • Method Details

    • fromJsonString

      @Nullable public static AbstractChartDescription fromJsonString(String jsonString)
    • toJsonString

      public static String toJsonString(AbstractChartDescription chartDescription)
    • getGson

      protected static com.google.gson.Gson getGson()
    • getId

      public UUID getId()
    • setId

      public void setId(UUID id)
    • getType

      public ChartType getType()
    • getShowLegend

      public Boolean getShowLegend()
    • setShowLegend

      public void setShowLegend(Boolean showLegend)
    • setCustomJsonConfig

      public void setCustomJsonConfig(String customJsonConfig)
    • getCustomJsonConfig

      public String getCustomJsonConfig()