Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

Expose container style (necessary for IE support) #15

Merged
merged 1 commit into from
Jan 12, 2016
Merged

Expose container style (necessary for IE support) #15

merged 1 commit into from
Jan 12, 2016

Conversation

benzitohhh
Copy link
Contributor

Hi @topicus,

It seems that Microsoft IE9/10/11 ignores svg height attribute. So the only way to set height for charts on IE is to set the height on the nv-chart container div via css.

But currently it is not possible to do this dynamically.

Such behaviour is really important for a project I am working on, where we need to be able to set the height of charts dynamically and (sadly) support IE.

So...

This pull request exposes the nv-chart container's style attribute. It tries to follow the style used elsewhere in this project. Hope this is ok. Anyways let me know what you think.

Thanks!

Ben

@topicus
Copy link
Contributor

topicus commented Jan 8, 2016

Awesome! Thanks for your contribution. I'm going to review this and other PRs a and merge them.

@benzitohhh
Copy link
Contributor Author

Cool thanks @topicus - much appreciated

topicus added a commit that referenced this pull request Jan 12, 2016
Expose container style (necessary for IE support)
@topicus topicus merged commit 294523f into NuCivic:master Jan 12, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants