In this demonstration you can see a sample how you to use the ruler feature (available from version 2.10.2)