Package me.playernguyen.opteco.bStats
Class Metrics.SimplePie
java.lang.Object
me.playernguyen.opteco.bStats.Metrics.CustomChart
me.playernguyen.opteco.bStats.Metrics.SimplePie
- Enclosing class:
- Metrics
public static class Metrics.SimplePie extends Metrics.CustomChart
Represents a custom simple pie.
-
Constructor Summary
Constructors Constructor Description SimplePie(java.lang.String chartId, java.util.concurrent.Callable<java.lang.String> callable)
Class constructor. -
Method Summary
Modifier and Type Method Description protected com.google.gson.JsonObject
getChartData()
-
Constructor Details
-
SimplePie
public SimplePie(java.lang.String chartId, java.util.concurrent.Callable<java.lang.String> 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:
getChartData
in classMetrics.CustomChart
- Throws:
java.lang.Exception
-