Added possibility to specify ticks interval explicitely