QCustomPlot Discussion and Comments

how to substitude tickStep?Return to overview

Dear all
previous versions had a function tickStep() in CPAxis wich is now only a vitrual protected method from QCPAxisTicker.

how can I get the current in my mainwindow from an CPAxis object?

Henri

my workaround:

tickstep=myAxis->range().size()/myAxis->ticker()->tickCount();

this is doing the job only very roughly, but not exactly. Especially, if called for an xAxis with DateTime format.

Is there any way to get the distance between first and second tick? This would help.
Henri