QCustomPlot Discussion and Comments

qcustomplot and RealtimeDataDemoReturn to overview


in the example of RealtimeDataDemo the xAxis take QDateTime as values , but i want to take some values of integers not a date ,how i can do this ? please help me

ps: sorry for my english

I got the answer, we can do it by seting setTickLabelType's parametre to ltNumber and add setNumberFormat("d"); to the xAxis.