Пример #1
0
 internal ValueAxisMrtg(RrdGraph rrdGraph)
 {
    this.im = rrdGraph.im;
    this.gdef = rrdGraph.gdef;
    this.worker = rrdGraph.worker;
    im.unit = gdef.unit;
 }
Пример #2
0
 internal ValueAxisLogarithmic(RrdGraph rrdGraph)
 {
    this.rrdGraph = rrdGraph;
    this.im = rrdGraph.im;
    this.gdef = rrdGraph.gdef;
    this.worker = rrdGraph.worker;
 }
Пример #3
0
 internal ValueAxis(RrdGraph rrdGraph)
 {
     this.rrdGraph = rrdGraph;
     this.im       = rrdGraph.im;
     this.gdef     = rrdGraph.gdef;
     this.worker   = rrdGraph.worker;
 }
Пример #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));
    }
 }
Пример #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));
     }
 }