Fix chart names.
Added support for duration parameter to data getters.