BUGFIX: this fixes the issue that the last min/max part of the last
value of an analog compressed chart isn't drawn.