Re-positioning the legend, more than just Position value (top, bottom, none)

33 views
Skip to first unread message

Matt Long

unread,
May 9, 2016, 6:40:17 PM5/9/16
to Google Visualization API
Hi again...

I have tried searching this and just haven't had any luck. I have a Legend on the top of my Google Scatter Chart, but the chart is 100% height (because it's an overlay for an image underneath it).

Adding a Legend to the top pushes the chart down, which misses some of the lower points on the chart (because they've been pushed beyond their container)

Is there an easy way to re-position the legend? Something like margin-bottom?

I hope this makes sense! Thanks again :)

Daniel LaLiberte

unread,
May 10, 2016, 9:45:12 AM5/10/16
to Google Visualization API
Hi Matt,

Have you tried the 'bottom' position?   


--
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 https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-visualization-api/87456f79-5500-4b4c-892a-9c4f4e709f2e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--

Matt Long

unread,
May 10, 2016, 12:03:19 PM5/10/16
to Google Visualization API
Hi Daniel,

Yeah I have, it was hidden by the chart.

Your documentation just showed the "in" value, which doesn't push any data away and works perfectly for me.

Thanks again for the great help! :)


On Tuesday, May 10, 2016 at 11:45:12 PM UTC+10, Daniel LaLiberte wrote:
Hi Matt,

Have you tried the 'bottom' position?   
On Mon, May 9, 2016 at 6:40 PM, Matt Long <long.m...@gmail.com> wrote:
Hi again...

I have tried searching this and just haven't had any luck. I have a Legend on the top of my Google Scatter Chart, but the chart is 100% height (because it's an overlay for an image underneath it).

Adding a Legend to the top pushes the chart down, which misses some of the lower points on the chart (because they've been pushed beyond their container)

Is there an easy way to re-position the legend? Something like margin-bottom?

I hope this makes sense! Thanks again :)

--
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-visualization-api+unsub...@googlegroups.com.



--
Reply all
Reply to author
Forward
0 new messages