Relative Content

Tag Archive for angularhighcharts

high chart calculate best time units to the x-axis automatically

I have a highchart diagram and I will get number X of days that I want to present on the diagram.
if I get X days I don’t know if it is better to present them as days or weeks or month or years.
is there any common algorithm that know what is the best choice?
or even a build in config for high charts?

high chart calculate best time units to the x-axis automatically

I have a highchart diagram and I will get number X of days that I want to present on the diagram.
if I get X days I don’t know if it is better to present them as days or weeks or month or years.
is there any common algorithm that know what is the best choice?
or even a build in config for high charts?