Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Padding between horizontal legend items #832

Closed
timbowhite opened this issue Mar 14, 2012 · 3 comments
Closed

Padding between horizontal legend items #832

timbowhite opened this issue Mar 14, 2012 · 3 comments

Comments

@timbowhite
Copy link

Hi. Somewhere between version 2.1.6 and 2.2.0, the padding between horizontal legend items was reduced to pretty much zero.

Comparison of a highcharts.com demo:

2.1.6
http://jsfiddle.net/wMUrP/

2.2.0
http://jsfiddle.net/gh/get/jquery/edge/highslide-software/highcharts.com/tree/master/samples/highcharts/demo/spline-irregular-time/

There does not currently seem to be any suitable work around with the current legend options (http://www.highcharts.com/ref/#legend) that will provide uniform spacing between variable width legend items.

Related highslide.com forum thread:
http://highslide.com/forum/viewtopic.php?f=9&t=13469

Note that there does seem to be a bit more padding between legend items in iOS safari and Android 2.x browsers. But not in Firefox/Chrome/Safari desktop browsers (Windows 7).

I would go back to 2.1.6, but I need to support Android 2.x. Any suggestions?

@ericpedia
Copy link
Contributor

I'm also running into this issue. It would be great to have itemMarginLeft and itemMarginRight properties to go with the existing itemMarginTop and itemMarginBottom properties.

@akrusz
Copy link

akrusz commented Apr 29, 2013

Thirding this.

@Linrstudio
Copy link

@highslide-software nice ^^*

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants