Yes, formatting in scientific notation is supported. To format the y-axis, set the vAxis.format option to an ICU pattern<http://icu-project.org/apiref/icu4c/classDecimalFormat.html#sci>that complies with scientific notation (such as '0.##E+0'). To format your data values, use a NumberFormatter<https://developers.google.com/chart/interactive/docs/reference#numberformatter>, with the same type of pattern. All options available for a chart are documented on the chart's page (eg, LineCharts<https://developers.google.com/chart/interactive/docs/gallery/linechart#Configuration_Options> ).
On Wednesday, January 9, 2013 9:47:04 PM UTC-5, [email protected] wrote: > > Hi I traced this kind of issue in google search and I found solution of > log scale, but the value show in the axis still kept 0.000015 instead of > 1.5E+5 in the axis tick. > Does API support scientific notation now, and where I can find a reference > to set the axis property? > > Thanks > > Badtnik於 2010年7月29日星期四UTC+8下午7時54分02秒寫道: >> >> Hey >> >> The formatting of numbers along the axis (including log scaled axes) is a >> feature we are working on but still do not know when exactly will be ready, >> once its out log scale will indeed be more use full for small numbers than >> it is today. >> >> Badtink >> >> >> On Thu, Jul 29, 2010 at 11:50 AM, Clams <[email protected]> wrote: >> >>> I am using a logScale on a scatter shot with value inferior to 1 : >>> it's working fine except that the label on the axis are all 0. Is >>> there any-way to display the axis label using scientific notation (ie >>> 0.001 displayed as 1E-003) ? or at least a displaying something like >>> 0.001 instead of 0 ? >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "Google Visualization API" group. >>> To post to this group, send email to [email protected]. >>> To unsubscribe from this group, send email to >>> [email protected]. >>> For more options, visit this group at >>> http://groups.google.com/group/google-visualization-api?hl=en. >>> >>> >> -- You received this message because you are subscribed to the Google Groups "Google Visualization API" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-visualization-api/-/H5Pmq5ZvIMMJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
