[Interest] QtCharts restricted zoom behaviour
Scott Aron Bloom
scott at towel42.com
Tue Jul 5 20:02:43 CEST 2016
During the 5.6 phase, I asked about this and the answer I got was no.
I was looking more for "zoom X only, and not Y" to allow customers to focus in on data.
Scott
-----Original Message-----
From: Interest [mailto:interest-bounces+scott=towel42.com at qt-project.org] On Behalf Of aj at elane2k.com
Sent: Monday, July 4, 2016 6:42 AM
To: interest at qt-project.org
Subject: [Interest] QtCharts restricted zoom behaviour
Hi im experimenting with the zoomIn and zoomOut functions in QtCharts.
Is it possible to restrict both zoomIn and zoomOut to a specified max/min zoom?
E.g. i dont want to let the user zoom out beyond my values so that the smallest and highest value is always left/rightmost in the viewport.
Same with zooming in - at some point it doesnt make sense to zoom in any more.
I tried the axisX/Y()->setMin/Max() functions but these dont seem to restrict zoom to this values. Any other Ideas?
Regards,
A. Jäkel
_______________________________________________
Interest mailing list
Interest at qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest
More information about the Interest
mailing list