Skip to content

OffsetVertical and offsetHorizontal fully implemented in Organization chart? (offset deprecated?) #17594

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

Closed
nevalain opened this issue Aug 11, 2022 · 1 comment · Fixed by #19334

Comments

@nevalain
Copy link

I am asking is OffsetVertical and offsetHorizontal fully implemented in Organization chart?

To my understanding they should be implemented in Organization chart?
https://api.highcharts.com/highcharts/series.organization.nodes.offsetHorizontal

Sorry. I am pretty useless with code!

Expected behaviour

OffsetVertical and offsetHorizontal can be used in Organization chart.

Actual behaviour

I see no reference of offsetVertical and offsetHorizontal in code here:
https://code.highcharts.com/modules/organization.js

Live demo with steps to reproduce

Shareholders is offset and it is working, board is not:
https://jsfiddle.net/vcon76qa/

Product version

Highcharts, v10.2.0 (2022-07-05)

Affected browser(s)

All

@pawellysy
Copy link
Contributor

hi @nevalain, thank you for reporting this issue!
You're right, there is something wrong with the offsetVertical option. It does not work for inverted charts. For now, you can use the deprecated offset option.

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

Successfully merging a pull request may close this issue.

3 participants