October 14, 2020 at 6:46 am
#10034769
Keymaster
Hello,
You can use the option tickDecimals inside yaxis and xaxis. For example:
.......
...........
........
.................
backgroundColor: 'transparent'
},
yaxis: {
min: 0,
max: 150.77,
color: 'rgba(0,0,0,0.1)',
tickDecimals: 2
},
xaxis: {
color: 'rgba(0,0,0,0.1)',
tickDecimals: 2
},
tooltip: true,
tooltipOpts: {
content: '%s: Value of %x is %y',
shifts: {
.......
.............
.....
Please try that and let us know if you need further assistance.
Kind Regards,
Rodrigo.
If you are satisfied with Porto Admin and our support, please leave your comment and rating on ThemeForest downloads page. That helps us a lot: https://themeforest.net/downloads