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

Since 2.1.5, data dabels on negative columns and bars overlap the bar #287

Closed
TorsteinHonsi opened this issue Jul 1, 2011 · 3 comments
Closed

Comments

@TorsteinHonsi
Copy link
Collaborator

In earlier versions, there was a hack available for programmatically setting the x or y offset: http://jsfiddle.net/highcharts/QbGPV/

Due to some reorganizing, adjusting the options from the formatter is no longer possible. Instead, we will provide better default behaviour for these cases so that the implementers don't have to consider it.

Test case: http://jsfiddle.net/highcharts/8g42d/

eolsson pushed a commit that referenced this issue Jul 1, 2011
@eolsson
Copy link
Contributor

eolsson commented Jul 1, 2011

Test if this fix is ok. Remove the hack all together. The default now is to position the label below the bar if its negative and no y-value is specified.

TorsteinHonsi pushed a commit that referenced this issue Jul 4, 2011
… overlap the bar (cherry-picking from commit 56bf5da)
@TorsteinHonsi
Copy link
Collaborator Author

To do:

  • Detect user set font size
  • Implement for inverted chart

eolsson pushed a commit that referenced this issue Aug 18, 2011
… overlap the bar (cherry-picking from commit 56bf5da)
@eolsson
Copy link
Contributor

eolsson commented Jan 30, 2012

Closing this issue, as it works a lot better now: http://jsfiddle.net/8g42d/23/
We could open a new one if we need support for font sizes.

@eolsson eolsson closed this as completed Jan 30, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants