Describe the bug
When saving a LINEX Graph Item within a Graph Template, the Line width, if changed, must be a decimal with two decimal places of precision, which is too restrictive.
To Reproduce
Steps to reproduce the behavior:
- Edit a Line Graph Template Item
- Change the Width to 1.0 instead of 1.00
- Press Save
- See error
Expected behavior
Cacti should do the rounding automatically and not force the user to enter both decimals of precision. This may impact non-templated Graphs too.