XY chart x-axis scale incorrectly in Gantt mode

It seems to me that the XY chart has a bug in Gantt mode.
If the end time range is between tick, it fills the gap or leaves it empty.

Here’s what I had to do in order to make everything work:

  1. xAxes.0.date.range.max and xAxes.0.date.range.min must be set, and they must use dates converted into milliseconds. If you use normal dates it doesn’t seem to work.
  2. You must have a record that exists outside of the min and max date ranges. In order to ensure this, I add a record that has fromDate = 0 and toDate = 1 for every person.

Here’s a view that should demonstrate this.
Gantt Chart_2021-03-24_1123.zip (12.7 KB)

1 Like