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 ValueAxisLogarithmic(RrdGraph rrdGraph)
 {
    this.rrdGraph = rrdGraph;
    this.im = rrdGraph.im;
    this.gdef = rrdGraph.gdef;
    this.worker = rrdGraph.worker;
 }
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
 public Mapper(RrdGraph rrdGraph)
 {
    this.gdef = rrdGraph.gdef;
    this.im = rrdGraph.im;
    pixieX = (double)im.xsize / (double)(im.end - im.start);
    if (!gdef.logarithmic)
    {
       pixieY = (double)im.ysize / (im.maxval - im.minval);
    }
    else
    {
       pixieY = (double)im.ysize / (Math.Log10(im.maxval) - Math.Log10(im.minval));
    }
 }
Ejemplo n.º 5
0
 public Mapper(RrdGraph rrdGraph)
 {
     this.gdef = rrdGraph.gdef;
     this.im   = rrdGraph.im;
     pixieX    = (double)im.xsize / (double)(im.end - im.start);
     if (!gdef.logarithmic)
     {
         pixieY = (double)im.ysize / (im.maxval - im.minval);
     }
     else
     {
         pixieY = (double)im.ysize / (Math.Log10(im.maxval) - Math.Log10(im.minval));
     }
 }