Index: sources/gui/qml/components/TickMarks.qml =================================================================== diff -u -r9ec7a27375189ad75f0bef142cd6beb386db0955 -r6616f7b9b88efffa42ab605833d296afb76d3cb1 --- sources/gui/qml/components/TickMarks.qml (.../TickMarks.qml) (revision 9ec7a27375189ad75f0bef142cd6beb386db0955) +++ sources/gui/qml/components/TickMarks.qml (.../TickMarks.qml) (revision 6616f7b9b88efffa42ab605833d296afb76d3cb1) @@ -26,6 +26,7 @@ Item { id : _root // if loader used then assign ranges when used. // since loader get the parenthood and it has no range definition. + property int decimal : 0 property int minimum : parent.minimum property int maximum : parent.maximum property int step : parent.step @@ -59,7 +60,7 @@ visible: textVisible color: _root.textColor font.pixelSize: 10 - text: (index * step) + minimum + text: ((index * step) + minimum).toFixed(decimal) anchors { top: parent.bottom topMargin: 5