Package xyz.geik.farmer
Class Metrics
java.lang.Object
xyz.geik.farmer.Metrics
Metrics class which created by BStats
- Author:
- BStats
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
advanced bar chartstatic class
advanced piestatic class
Custom chartstatic class
Drill down pie chartstatic class
An extremely simple JSON builder.static class
metrics basestatic class
multiline chartstatic class
simple bar chartstatic class
simple piestatic class
Single line chart -
Constructor Summary
ConstructorDescriptionMetrics
(org.bukkit.plugin.java.JavaPlugin plugin, int serviceId) Creates a new Metrics instance. -
Method Summary
Modifier and TypeMethodDescriptionvoid
Adds a custom chart.
-
Constructor Details
-
Metrics
public Metrics(org.bukkit.plugin.java.JavaPlugin plugin, int serviceId) Creates a new Metrics instance.- Parameters:
plugin
- Your plugin instance.serviceId
- The id of the service. It can be found at What is my plugin id?
-
-
Method Details
-
addCustomChart
Adds a custom chart.- Parameters:
chart
- The chart to add.
-