HTML key position values

Share RGraph:   To help my Google visibility (it can't get much worse!), if you like and use RGraph I'd appreciate it if you could link to me

« 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 John C on 26th June 2017
I'm using the HTML keys and with position: 'absolute' plus some tinkering I've got the keys where I want relative to the pie chart - but only when the screen is at full size. Are there any values for position, like relative or responsive, that would allow the keys to remain in the same percentage to the right of the graph? As it is, the legend slowly overlaps the graph as the screen shrinks.

- John C
Posted by Richard on 26th June 2017
Hi there,

Well the tableCss value is real CSS - so yes. Any CSS values like absolute or relative will work.

I've made this example which positions the key absolutely at 600px from the left of the containing DIV:

www.rgraph.net/fiddle/view.html/positioning-the-html-key

You can override this in media queries as needed.


Richard

Add a reply




« Back to message list