Decimal numbers and labels are not shown correctly

Share RGraph:   Share or Like RGraph on Facebook!

« Back to message list

Enter your email address to get email updates on this topic. You can stop receiving updates by clicking the link in the update email messages.

Posted by fotosettore on 7th February 2017
hi
i have two little problems in this page :

www.homoandroidus.com/lucicloud/no_decimal.html

1. i'd like to see nothing on labels instead of "0" when data is 0 or null ( i tried to use "null" but it works like "0")

2. values are with one decimal, but labels are not. i tried to put scaleDecimals option but it does no effect.

please help me to find my errors .

many thanks

peppe
Posted by Richard on 7th February 2017
Hi there,

1. You'll need to use labelsAboveSpecific then and give the exact label that you wish to appear - blank for those labels that you don't want to appear.

2. Your scale is showing decimals. For the labelsAbove that you stipulate yourself you can format it as you wish.





Richard

Add a reply




« Back to message list