\r
if (av.scaleRightWrapped)\r
{\r
- LABEL_EAST = fm.stringWidth(getMask()+"0");\r
+ LABEL_EAST = fm.stringWidth(getMask());\r
}\r
\r
if (av.scaleLeftWrapped)\r
*/\r
String getMask()\r
{\r
- String mask = "0";\r
+ String mask = "00";\r
for (int i = av.alignment.getWidth(); i > 0; i /= 10)\r
{\r
mask += "0";\r
\r
if (av.scaleRightWrapped)\r
{\r
- LABEL_EAST = fm.stringWidth(getMask()+"0");\r
+ LABEL_EAST = fm.stringWidth(getMask());\r
}\r
\r
int LABEL_WEST = 0;\r
\r
if (value != -1)\r
{\r
- g.drawString(String.valueOf(value), av.charWidth/2,\r
+ g.drawString(String.valueOf(value), 0,\r
(ypos + (i * av.charHeight)) - (av.charHeight / 5));\r
}\r
}\r
\r
if (av.scaleRightWrapped)\r
{\r
- LABEL_EAST = fm.stringWidth(getMask()+"0");\r
+ LABEL_EAST = fm.stringWidth(getMask());\r
}\r
\r
if (av.scaleLeftWrapped)\r
*/\r
String getMask()\r
{\r
- String mask = "0";\r
+ String mask = "00";\r
for (int i = av.alignment.getWidth(); i > 0; i /= 10)\r
{\r
mask += "0";\r
\r
if (av.scaleRightWrapped)\r
{\r
- LABEL_EAST = fm.stringWidth(getMask()+"0");\r
+ LABEL_EAST = fm.stringWidth(getMask());\r
}\r
\r
int LABEL_WEST = 0;\r