Class GeneralChartData

java.lang.Object
com.priint.pubserver.dashboard.GeneralChartData

public class GeneralChartData extends Object
Structure definition of data for charts(line, area, bar) in dashboards
  • Constructor Details

    • GeneralChartData

      public GeneralChartData()
  • Method Details

    • getName

      public String getName()
      Returns:
      - name of Chart String
    • setName

      public void setName(String name)
      Parameters:
      name - of Chart
    • getData

      public List<Map<String,Object>> getData()
      Gets the list values for all blocks in Chart.
      Returns:
      possible object is List of Map
    • setData

      public void setData(List<Map<String,Object>> data)
      Sets the list values for all blocks in Chart.
      Parameters:
      data - possible object is List of Map
    • getColors

      public Map<String,String> getColors()
      Get the colors information in Chart.
      Returns:
      Map where key String is a name of single bar in block of chart (Should one of key from getData() } and value is String RGB color value of this single bar
    • setColors

      public void setColors(Map<String,String> colors)
      Set the colors information in Chart.
      Parameters:
      colors - Map where key String is a name of single bar in block of chart (Should one of key from getData() } and value is String RGB color value of this single bar.