Google Visualization API axes sceintific format decimal places

19 views
Skip to first unread message

hamma...@gmail.com

unread,
Dec 2, 2015, 9:34:52 AM12/2/15
to Google Visualization API

How to format axes labels in scientific notation with decimal places like 1.00E10 instead of 1E10.

vAxis: {
                ticks: yTicks,
                logScale: true,
                title: 'y-asix',
                format: 'scientific',
            },

 
googleapichart.png

Daniel LaLiberte

unread,
Dec 2, 2015, 10:08:05 AM12/2/15
to Google Visualization API
Try it with format: "0.00E0".

--
You received this message because you are subscribed to the Google Groups "Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-visualizati...@googlegroups.com.
To post to this group, send email to google-visua...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-visualization-api/cb458b83-f860-44d5-9290-0c65d8aa0e18%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
dlaliberte@Google.com   5CC, Cambridge MA
daniel.laliberte@GMail.com 9 Juniper Ridge Road, Acton MA

hamma...@gmail.com

unread,
Dec 3, 2015, 1:32:06 AM12/3/15
to Google Visualization API
Thanks Daneil, Its working.
Reply all
Reply to author
Forward
0 new messages