class Mapper extends Object
| Constructor and Description |
|---|
Mapper(RrdGraphDef gdef,
ImageParameters im)Creates a new mapper for the specified graph definition and image parameters. |
| Modifier and Type | Method and Description |
|---|---|
(package private) int | xtr(double mytime)Converts time coordinate to pixel x-coordinate. |
(package private) int | ytr(double value)Converts value coordinate to pixel y-coordinate. |
Mapper(RrdGraphDef gdef, ImageParameters im)
gdef - the graph definition containing scaling informationim - the image parameters with dimensions and rangesint xtr(double mytime)
mytime - timestamp in secondsint ytr(double value)
value - data value to convert