QCustomPlot Discussion and Comments

Always display upper and lower range values on Axis?Return to overview

Is it possible to display the upper and lower range always on the axis?
When the axis is dragged or zoomed no number will be displayed at the ends (top and bottom for Y-axis; left and right for X-axis).

How to automatically make the end values of the axis get displayed on QCustomPlot?
Any help will be highly appreciated.

Any one know how to do?

You need create two QCPItemText, put at the left on the axis and update value for every replot.

Then the qcpitemtext will be overlapped with axis ticks sometimes.
I actually want the axis ticks to be displayed at ends always. When I drag or zoom, the axis ticks will rearrange accordingly and there may not be any tick at ends of axis.