示例#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
文件: Mapper.cs 项目: mujing/rrd4net
 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));
     }
 }