Improved domain extension for single point charts

This PR addresses an issue when the line chart has only one datapoint with y > 0. In that case y axis was shown reversed (i.e. from 0.25 to 0.24)