The library allows you to add custom values, but it doesn't appear to be able to remove some of the default periods (e.g., if you we didn't want to have a "minute" granularity). So maybe being able to pass in a "periods" array to define what periods to display.
I would find this very useful too - not sure why the pull request hasn't merged (it's been 3 years).
I added this to my local copy, but it would be nice to have this in the original repo.
The library allows you to add custom values, but it doesn't appear to be able to remove some of the default periods (e.g., if you we didn't want to have a "minute" granularity). So maybe being able to pass in a "periods" array to define what periods to display.