Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Extending QCustomplot zoom feature to Android.
vishnu last edited by vishnu
QML wrapper for QCustomplot has been implemened here. Works perfect for windows. It does support auto ranging and mouse drag/zoom (with Shift - X axis, with Control - Y axis). But on android it cannot support. I would like to implement this feature on Android. My idea is using PinchArea and binding it to the function where the zooming functionality is done. for example in
ql-lineplot.cppthe mouse wheel event is implemented in the function
void QlLinePlotItem::wheelEvent(QWheelEvent* event). How can I map or bind PichArea to this function ?Also It is already implemented, while zooming with mouse wheel the values on X and Y axis are changed accordingly. How can I do this on Android? Thanks.