if (value.equals("0")) return null;
    String getUnitBarValue(double factor)    {        double v = getPixelsSizeX()/factor;        v *= getUnitBarSize();        String value;        double c = v;        if (v < 0) return null;        if ((c-Math.floor(c)) > 0) value = ""+Math.round(c*100)/100f;         else  value = ""+(int) c;        return value;    }