categoryAxis.baseUnit String

The base time interval for the date axis. The default base unit is determined automatically from the minimum difference between subsequent categories.

The supported values are:

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

Setting baseUnit to "fit" will set such base unit and categoryAxis.baseUnitStep that the total number of categories does not exceed categoryAxis.maxDateGroups.

Series data is aggregated for the specified base unit using the series.aggregate function.

In this article
Not finding the help you need?