Hi,
I am working with KendoUI '2015.2.624' and an
horizontal Linear Gauge where min, max and range values are decimal
numbers. In that case, it appears that the first label (min value) is clipped. When gauge is set as vertical, there is no issue (labels
are not clipped).
Here a scale example to reproduce the issue:
var scale = {
majorUnit: 15,
minorUnit: 5,
min: 10.25,
max: 50.23,
vertical: false,
ranges: [
{
from: 10.25,
to: 20,
color: "#2798df"
}, {
from: 20,
to: 45,
color: "#ffc700"
}, {
from: 45,
to: 50.23,
color: "#c20000"
},
]
};var scale = {
majorUnit: 15,
minorUnit: 5,
min: 1.25,
max: maxValue,
vertical: false,
ranges: [
{
from: 10.25,
to: 20,
color: "#2798df"
}, {
from: 20,
to: 45,
color: "#ffc700"
}, {
from: 45,
to: 50.23,
color: "#c20000"
},
]
};
Of course I could round values but it may not always be possible to do so...
Is this a bug or do I need to set extra stuff somewhere ?
Thanks