psdi.webclient.beans.startcntr

Class KPIGraph

  • java.lang.Object
    • psdi.webclient.beans.startcntr.KPIGraph


  • public class KPIGraph
    extends java.lang.Object
    This class contains methods to use KPI data and create a NFGraph that is displayed in the start center and KPi manager application
    • Constructor Summary

      Constructors 
      Constructor and Description
      KPIGraph(java.util.Vector vecData, boolean forStartCenter, WebClientSession sessionContext)
      Constructor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.String getTitle() 
      BarChartData makeBarChartData()
      Returns an object of type Map that will be passed to the jsp for dojo bar chart image generation
      ChartData makeChartData()
      Returns an object of type Map that will be passed to the jsp for dojo chart image generation
      DialChartData makeDialChartData()
      Returns an object of type Map that will be passed to the jsp for dojo dial chart image generation
      • Methods inherited from class java.lang.Object

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

      • KPIGraph

        public KPIGraph(java.util.Vector vecData,
                        boolean forStartCenter,
                        WebClientSession sessionContext)
        Constructor
        Parameters:
        Vector - - collection of KPIs with data to plot
        boolean - - flag if the graph is for startcenter of the KPI application
        WebClientSession -
    • Method Detail

      • makeChartData

        public ChartData makeChartData()
        Returns an object of type Map that will be passed to the jsp for dojo chart image generation
        Returns:
        chart data as Map
      • makeBarChartData

        public BarChartData makeBarChartData()
        Returns an object of type Map that will be passed to the jsp for dojo bar chart image generation
      • makeDialChartData

        public DialChartData makeDialChartData()
        Returns an object of type Map that will be passed to the jsp for dojo dial chart image generation
      • getTitle

        public java.lang.String getTitle()
        Returns:
        the chart title as a string