QCustomPlot Discussion and Comments

How to have hex values displayed on Y axis ?Return to overview

Hello,

I want to transform the values displayed on Y axis into hexadecimal values.
For the moment, I only set a fixed range:
customPlot->yAxis->setRange(0, 65535);
I want to be displayed: 0xFFFF or FFFF as maximum value.

Thank you,
Maria.

you would probably want to create your own axis ticker and then use the QString arg function to get hex.