categoryAxis.baseUnit String

The base time interval for the axis. The default baseUnit is determined automatically from the minimum difference between subsequent categories. Available options:

  • minutes
  • hours
  • days
  • weeks
  • months
  • years *fit

SettingbaseUnitto "fit" will set such base unit andbaseUnitStep that the total number of categories does not exceedmaxDateGroups.

Series data is aggregated for the specified base unit by using the series.aggregatefunction.

In this article