Class ChartJsonSerializationContext

java.lang.Object
io.jmix.charts.widget.amcharts.serialization.ChartJsonSerializationContext
All Implemented Interfaces:
com.google.gson.JsonSerializationContext

public class ChartJsonSerializationContext extends Object implements com.google.gson.JsonSerializationContext
  • Field Details

  • Constructor Details

  • Method Details

    • serialize

      public com.google.gson.JsonElement serialize(Object src)
      Specified by:
      serialize in interface com.google.gson.JsonSerializationContext
    • serialize

      public com.google.gson.JsonElement serialize(Object src, Type typeOfSrc)
      Specified by:
      serialize in interface com.google.gson.JsonSerializationContext
    • getChartModel

      public ChartModelImpl getChartModel()
    • getItemKeyMapper

      public Function<DataItem,String> getItemKeyMapper()
    • getProperties

      public List<String> getProperties()
    • getSegmentFields

      public List<String> getSegmentFields()
    • addField

      protected void addField(List<String> fields, @Nullable String field)