Package org.jrobin.graph

Examples of org.jrobin.graph.RrdGraphDef.datasource()


      rrdGraphDef.setImageFormat("png");
      rrdGraphDef.setTitle(rrdDef.getDsDefs()[dsIndex].dump() + " " +
          rrdDef.getArcDefs()[arcIndex].dump());
      LinearInterpolator linearInterpolator = new LinearInterpolator(timestamps, values);
      linearInterpolator.setInterpolationMethod(LinearInterpolator.INTERPOLATE_RIGHT);
      rrdGraphDef.datasource(dsName, linearInterpolator);
      rrdGraphDef.area(dsName, color, dsName + "\\r");
      rrdGraphDef.comment("START: " + new Date(t1 * 1000L) + "\\r");
      rrdGraphDef.comment("END: " + new Date(t2 * 1000L) + "\\r");
      int width = graphPanel.getWidth(), height = graphPanel.getHeight();
      rrdGraphDef.setWidth(width + deltaWidth);
View Full Code Here


      rrdGraphDef.setImageFormat("png");
      rrdGraphDef.setTitle(rrdDef.getDsDefs()[dsIndex].dump() + " " +
          rrdDef.getArcDefs()[arcIndex].dump());
      LinearInterpolator linearInterpolator = new LinearInterpolator(timestamps, values);
      linearInterpolator.setInterpolationMethod(LinearInterpolator.INTERPOLATE_RIGHT);
      rrdGraphDef.datasource(dsName, linearInterpolator);
      rrdGraphDef.area(dsName, color, dsName + "\\r");
      rrdGraphDef.comment("START: " + new Date(t1 * 1000L) + "\\r");
      rrdGraphDef.comment("END: " + new Date(t2 * 1000L) + "\\r");
      int width = graphPanel.getWidth(), height = graphPanel.getHeight();
      rrdGraphDef.setWidth(width + deltaWidth);
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.