Ejemplo n.º 1
0
 internal ValueAxisMrtg(RrdGraph rrdGraph)
 {
    this.im = rrdGraph.im;
    this.gdef = rrdGraph.gdef;
    this.worker = rrdGraph.worker;
    im.unit = gdef.unit;
 }
Ejemplo n.º 2
0
 internal ValueAxisMrtg(RrdGraph rrdGraph)
 {
     this.im     = rrdGraph.im;
     this.gdef   = rrdGraph.gdef;
     this.worker = rrdGraph.worker;
     im.unit     = gdef.unit;
 }
Ejemplo n.º 3
0
 internal ValueAxis(RrdGraph rrdGraph)
 {
     this.rrdGraph = rrdGraph;
     this.im       = rrdGraph.im;
     this.gdef     = rrdGraph.gdef;
     this.worker   = rrdGraph.worker;
 }
Ejemplo n.º 4
0
 internal ValueAxisLogarithmic(RrdGraph rrdGraph)
 {
    this.rrdGraph = rrdGraph;
    this.im = rrdGraph.im;
    this.gdef = rrdGraph.gdef;
    this.worker = rrdGraph.worker;
 }
Ejemplo n.º 5
0
 internal LegendComposer(RrdGraph rrdGraph, int legX, int legY, int legWidth)
 {
     LegendComposer.gdef     = rrdGraph.gdef;
     LegendComposer.worker   = rrdGraph.worker;
     LegendComposer.legX     = legX;
     LegendComposer.legY     = legY;
     LegendComposer.legWidth = legWidth;
     interlegendSpace        = rrdGraph.getInterlegendSpace();
     leading      = rrdGraph.getLeading();
     smallLeading = rrdGraph.getSmallLeading();
     boxSpace     = rrdGraph.getBoxSpace();
 }
Ejemplo n.º 6
0
 internal LegendComposer(RrdGraph rrdGraph, int legX, int legY, int legWidth)
 {
    LegendComposer.gdef = rrdGraph.gdef;
    LegendComposer.worker = rrdGraph.worker;
    LegendComposer.legX = legX;
    LegendComposer.legY = legY;
    LegendComposer.legWidth = legWidth;
    interlegendSpace = rrdGraph.getInterlegendSpace();
    leading = rrdGraph.getLeading();
    smallLeading = rrdGraph.getSmallLeading();
    boxSpace = rrdGraph.getBoxSpace();
 }
Ejemplo n.º 7
0
 /**
  * Creates graph from the corresponding {@link RrdGraphDef} object.
  *
  * @param gdef Graph definition
  *
  * @ Thrown in case of I/O error
  */
 public RrdGraph(RrdGraphDef gdef, RrdDbAccessInterface rrdDbAccess)
 {
    DbAccessInterface = rrdDbAccess;
    this.gdef = gdef;
    worker = new ImageWorker(1, 1); // Dummy worker, just to start with something
    try
    {
       createGraph();
    }
    finally
    {
       worker.dispose();
       worker = null;
       dproc = null;
    }
 }
Ejemplo n.º 8
0
 /**
  * Creates graph from the corresponding {@link RrdGraphDef} object.
  *
  * @param gdef Graph definition
  *
  * @ Thrown in case of I/O error
  */
 public RrdGraph(RrdGraphDef gdef, RrdDbAccessInterface rrdDbAccess)
 {
     DbAccessInterface = rrdDbAccess;
     this.gdef         = gdef;
     worker            = new ImageWorker(1, 1); // Dummy worker, just to start with something
     try
     {
         createGraph();
     }
     finally
     {
         worker.dispose();
         worker = null;
         dproc  = null;
     }
 }