Class Metrics.MultiLineChart
- java.lang.Object
-
- net.alpenblock.bungeeperms.metrics.velocity.Metrics.CustomChart
-
- net.alpenblock.bungeeperms.metrics.velocity.Metrics.MultiLineChart
-
- Enclosing class:
- Metrics
public static class Metrics.MultiLineChart extends Metrics.CustomChart
Represents a custom multi line chart.
-
-
Constructor Summary
Constructors Constructor Description MultiLineChart(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()
-
-
-
Constructor Detail
-
MultiLineChart
public MultiLineChart(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 classMetrics.CustomChart
- Throws:
java.lang.Exception
-
-