Packages that use RrdGraphDef
Package
Description
The router console user interface, implemented in routerconsole.jar, with these classes supporting the webapp in routerconsole.war.
RRD4J graph capabilities.
Uses of RrdGraphDef in net.i2p.router.web
Methods in net.i2p.router.web with parameters of type RrdGraphDefModifier and TypeMethodDescriptionprivate voidGraphRenderer.addSummaryPrints(RrdGraphDef def, String plotName, String suffix, String numberFormat) Emit the max/min/avg/now legend block for one series.private static voidGraphRenderer.applyDash(RrdGraphDef def, GraphRenderer.GraphRenderConfig cfg) Hand the theme's dot pattern to the renderer.private static voidGraphRenderer.applyTheme(RrdGraphDef def, GraphRenderer.GraphRenderConfig cfg) Apply the theme's colours to the graph definition.private voidGraphRenderer.configureArea(RrdGraphDef def, GraphRenderer.GraphRenderConfig cfg) Draw the primary as a filled area, which is how a single-value graph has always been rendered.private voidGraphRenderer.configureCommentsAndSignature(RrdGraphDef def, GraphRenderer.GraphRenderConfig cfg) Adds the comments and signature text to the graph.private voidGraphRenderer.configureDataSources(RrdGraphDef def, GraphRenderer.GraphRenderConfig cfg) Adds the stat's data sources to the graph.private voidGraphRenderer.configureDownsampler(RrdGraphDef def, GraphRenderer.GraphRenderConfig cfg) Caps how many points are plotted so that each has room to be drawn.private voidGraphRenderer.configureExtraDataSources(RrdGraphDef def, GraphRenderer.GraphRenderConfig cfg) Declare and plot every extra series of a combined graph.private voidGraphRenderer.configureFonts(RrdGraphDef def, GraphRenderer.GraphRenderConfig cfg) Sets the graph's fonts from the config.private voidGraphRenderer.configureGridAndRendering(RrdGraphDef def, GraphRenderer.GraphRenderConfig cfg) Sets the grid style and rendering options.private voidGraphRenderer.configureLegend(RrdGraphDef def, GraphRenderer.GraphRenderConfig cfg) Adds the legend lines to the graph.private voidGraphRenderer.configureRestartMarkers(RrdGraphDef def, GraphRenderer.GraphRenderConfig cfg) Adds the router restart markers to the graph.private voidGraphRenderer.configureTimeZone(RrdGraphDef def, boolean useUtc) Sets the graph's time zone.private voidGraphRenderer.configureTitle(RrdGraphDef def, GraphRenderer.GraphRenderConfig cfg) Sets the graph title and vertical label.private voidGraphRenderer.renderGraph(RrdGraphDef def, OutputStream out, GraphRenderer.GraphRenderConfig cfg) Renders the graph and writes the image.Uses of RrdGraphDef in org.rrd4j.graph
Fields in org.rrd4j.graph declared as RrdGraphDefModifier and TypeFieldDescriptionprivate RrdGraphDefBufferedImageWorker.Builder.gdefGraph definition set in the builder.private final RrdGraphDefLegendComposer.gdefThe graph definition being composed.private final RrdGraphDefMapper.gdefThe graph being drawn.(package private) final RrdGraphDefRrdGraph.gdefThe definition describing what this graph plots.(package private) final RrdGraphDefRrdGraphGenerator.gdefThe graph definition this generator renders.private final RrdGraphDefTimeAxis.gdefThe graph definition being drawn.private final RrdGraphDefValueAxis.gdefThe graph being drawn.private final RrdGraphDefValueAxisLogarithmic.gdefThe definition of the graph.private final RrdGraphDefValueAxisMrtg.gdefThe graph definition being drawn.Methods in org.rrd4j.graph with parameters of type RrdGraphDefModifier and TypeMethodDescriptionprivate static ImageWorkerRrdGraph.generateImageWorker(RrdGraphDef gdef) Generate image workerprivate static ImageWorkerRrdGraph.generateImageWorker(RrdGraphDef gdef, ImageWriter writer, ImageWriteParam param) Creates the worker that renders the graph.BufferedImageWorker.Builder.setGdef(RrdGraphDef gdef) Sets the graph definition for this worker.Constructors in org.rrd4j.graph with parameters of type RrdGraphDefModifierConstructorDescription(package private)Mapper(RrdGraphDef gdef, ImageParameters im) Creates a new mapper for the specified graph definition and image parameters.RrdGraph(RrdGraphDef gdef) Creates graph from the correspondingRrdGraphDefobject.privateRrdGraph(RrdGraphDef gdef, java.util.function.Supplier<ImageWorker> worker) Builds the image for a graph definition.RrdGraph(RrdGraphDef gdef, ImageWriter writer, ImageWriteParam param) Creates graph from the correspondingRrdGraphDefobject.RrdGraph(RrdGraphDef gdef, ImageWorker worker) Create graph from a custom image worker(package private)RrdGraphGenerator(RrdGraphDef gdef, ImageWorker worker, DataProcessor dproc) Create a generator for one graph definition.