Examples of Plotter


Examples of org.melonbrew.fe.Metrics.Plotter

        try {
            Metrics metrics = new Metrics(this);

            Graph databaseGraph = metrics.createGraph("Database Engine");

            databaseGraph.addPlotter(new Plotter(getFeDatabase().getName()) {
                public int getValue() {
                    return 1;
                }
            });

            Graph defaultHoldings = metrics.createGraph("Default Holdings");

            defaultHoldings.addPlotter(new Plotter(getAPI().getDefaultHoldings() + "") {
                public int getValue() {
                    return 1;
                }
            });

            Graph maxHoldings = metrics.createGraph("Max Holdings");

            String maxHolding = getAPI().getMaxHoldings() + "";

            if (getAPI().getMaxHoldings() == -1) {
                maxHolding = "Unlimited";
            }

            maxHoldings.addPlotter(new Plotter(maxHolding) {
                public int getValue() {
                    return 1;
                }
            });
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.