Class Metrics.AdvancedPie

    • Constructor Summary

      Constructors 
      Constructor Description
      AdvancedPie​(java.lang.String chartId, java.util.concurrent.Callable<java.util.Map<java.lang.String,​java.lang.Integer>> callable)
      Class constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected com.google.gson.JsonObject getChartData()  
      • Methods inherited from class java.lang.Object

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

      • AdvancedPie

        public AdvancedPie​(java.lang.String chartId,
                           java.util.concurrent.Callable<java.util.Map<java.lang.String,​java.lang.Integer>> callable)
        Class constructor.
        Parameters:
        chartId - The id of the chart.
        callable - The callable which is used to request the chart data.
    • Method Detail

      • getChartData

        protected com.google.gson.JsonObject getChartData()
                                                   throws java.lang.Exception
        Specified by:
        getChartData in class Metrics.CustomChart
        Throws:
        java.lang.Exception