Class GeneralChartData


  • public class GeneralChartData
    extends java.lang.Object
    Structure definition of data for charts(line, area, bar) in dashboards
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Map<java.lang.String,​java.lang.String> getColors()
      Get the colors information in Chart.
      java.util.List<java.util.Map<java.lang.String,​java.lang.Object>> getData()
      Gets the list values for all blocks in Chart.
      java.lang.String getName()  
      void setColors​(java.util.Map<java.lang.String,​java.lang.String> colors)
      Set the colors information in Chart.
      void setData​(java.util.List<java.util.Map<java.lang.String,​java.lang.Object>> data)
      Sets the list values for all blocks in Chart.
      void setName​(java.lang.String name)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • GeneralChartData

        public GeneralChartData()
    • Method Detail

      • getName

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

        public void setName​(java.lang.String name)
        Parameters:
        name - of Chart
      • getData

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

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

        public java.util.Map<java.lang.String,​java.lang.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​(java.util.Map<java.lang.String,​java.lang.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.