Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Overlapping xAxis labels #193

Closed
slawekkolodziej opened this Issue · 4 comments

3 participants

@slawekkolodziej

If you set xAxis label align to left, last label sometime overlaps. Here is an example: http://jsfiddle.net/vbpDS/1409/ (try to resize result area)

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

@highslide-software

There's no logic in Highcharts to prevent overlapping. The user must set a tickInterval high enough to prevent it, slant the labels or apply staggerLines...

@westonsimon

Is there a way to access the xAxis labels from the load event to check for collisions after rendering? e.g. Check if the x position of a label is within x + width of the previous label.

If this is possible then I could choose to re-render my chart with stagger or slant enabled.

@highslide-software
@highslide-software

Overlapping avoidance was added in Highcharts 3.0.8.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.