Package me.playernguyen.opteco.bStats
Class Metrics.AdvancedPie
java.lang.Object
me.playernguyen.opteco.bStats.Metrics.CustomChart
me.playernguyen.opteco.bStats.Metrics.AdvancedPie
- Enclosing class:
- Metrics
public static class Metrics.AdvancedPie extends Metrics.CustomChart
Represents a custom advanced pie.
-
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
Modifier and Type Method Description protected com.google.gson.JsonObjectgetChartData()
-
Constructor Details
-
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 Details
-
getChartData
protected com.google.gson.JsonObject getChartData() throws java.lang.Exception- Specified by:
getChartDatain classMetrics.CustomChart- Throws:
java.lang.Exception
-