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

Plot area doesn't respect html title height #776

Closed
slawekkolodziej opened this issue Feb 23, 2012 · 3 comments
Closed

Plot area doesn't respect html title height #776

slawekkolodziej opened this issue Feb 23, 2012 · 3 comments

Comments

@slawekkolodziej
Copy link
Contributor

Open this demo: http://highcharts.com/jsbin/uvoraw/edit

As you can see useHTML is set to true and titile width is defined. Now there's a problem with plot area position - it doesn't respect title height.

@TorsteinHonsi
Copy link
Collaborator

It happens regardless of the useHTML. JsFiddle: http://jsfiddle.net/highcharts/snFqH/

To do:

  • Use renderer.label for the titles
  • Make the default y value null, and let the default behaviour be that the title is positioned at y = 0, anchored at the top
  • When computing the titleOffset, compute the bounding box of the text
  • Make subtitle position relative to the bounding box of the title by default

@fabiomargarido
Copy link

Hi Torstein. I'm sorry to bother you, but this issue is kind of a big deal for us.

Is this expected to be fixed by 3.0? Is the January-February target date mentioned in the roadmap still accurate?

Thank you.

@TorsteinHonsi
Copy link
Collaborator

It is a bit complicated because we have to consider the new layout in all
redraws, and also with and without useHTML. It would delay 3.0 further,
which is bad because it is already delayed. We expect to have a beta out
soon.

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

3 participants