Fix: 2D datetimeaxis rounding error
Datetimeaxis incorrectly rounded up sub-minute intervals. This happened
because qreal values were assigned to float. Usually qreal is double so
precission were lost in the type conversion. Change the code to use
qreal instead of float.
Pick-to: 6.12 6.11
Fixes: QTBUG-147722
Change-Id: Iffb957d1b58c2f49433d6522f8ae88baf449a0ec
Reviewed-by: Owais Akhtar <owais.akhtar@qt.io>
Reviewed-by: Kwanghyo Park <kwanghyo.park@qt.io>
Reviewed-by: Sami Varanka <sami.varanka@qt.io>