/** * return the RrdGraphDef for this graph, used the indicated probe any data * can be overridden of a provided map of {@link org.rrd4j.data.Plottable} * * @param defProbe * @param ownData data used to override probe's own values * @return * @throws IOException */ public RrdGraphDef getGraphDef(Probe<?, ?> defProbe, ExtractInfo ei, Map<String, ? extends Plottable> ownData) throws IOException { RrdGraphDef retValue = getEmptyGraphDef(); fillGraphDef(retValue, defProbe, ei, ownData); return retValue; }
protected void setGraphDefData(RrdGraphDef graphDef, Probe<?, ?> defProbe, ExtractInfo ei, Map<String, ? extends Plottable> customData) { GraphDesc gd = getGraphDesc(); gd.fillGraphDef(graphDef, node.getProbe(), ei, customData); }