Log Scal label Overlapping issue

20 views
Skip to first unread message

hamma...@gmail.com

unread,
Nov 24, 2015, 1:56:45 AM11/24/15
to Google Visualization API




Hi Google Visualization Community,
I am facing an issue with logScale labels. Labels are overlapping each others and are not readable. Is there any way to restrict number of labels to be drawn on the axis. I am using scientific notation for y-axis and also want to specify ticks as well. I need grid lines to be drawn. Please see the attached snapshot.
options :{
vAxis: {
                ticks: [ 1.00E-30, 2.00E-30, 3.00E-30, 4.00E-30, 5.00E-30, 6.00E-30, 7.00E-30,  ........],
                logScale: true,
                title: 'y-axis',
                format: 'scientific',
            },
}

 
plot.png

Daniel LaLiberte

unread,
Nov 24, 2015, 8:03:31 AM11/24/15
to Google Visualization API
The latest version, 43, should eliminate the overlapping tick labels on the vAxis.  You currently have to load this version via the frozen version loader.  See instructions at:  https://developers.google.com/chart/interactive/docs/library_loading_enhancements#frozen-versions

But if you don't need to see the tick labels of values between powers of 10, you could use the minorGridlines option.

--
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/a17047e7-3a99-4d1c-a82f-e05532d0dddd%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,
Nov 24, 2015, 9:49:06 AM11/24/15
to Google Visualization API
Thank you so much Daniel, Its working. Thanks alot
Reply all
Reply to author
Forward
0 new messages