277: Line chart does not draw constant value

This changeset fixes the bug #277 when the chart is not being built if difference between min and max values in dataset equals 0.