QCustomPlot Discussion and Comments

Changing number of gridsReturn to overview

Hi.
I need help in adding number of grids in the graph using qcustomplot.
Any help would be highly appreciated.

regards,
Hammad

What exactly do you mean with "adding number of grids"? Do you mean more ticks and thus tighter grid line spacing? That could be done with QCPAxis::setAutoTickCount(), or by disabling the automatic tick step and providing a tick step yourself via setTickStep().

@DerManu, that's exactly what I wanted to do. I actually noticed that tick controls the size of grid and I used the above mentioned commands and I worked.

Thanks a lot.

regards,
Hammad