Comments (3)
I had this exact same issue and it's a deal breaker for me. This needs to be fixed for me to use this plugin. There's too many IE users to dismiss them. Otherwise this seems like great plugin in general :)
from d3-textwrap.
Found the problem. The x and y of the bounds are ignored totally when foreignObject is used. Here's a version that fixes this problem https://googledrive.com/host/0BxN9lOIYoZDGM2tTa1l3UXMwU3M/d3textwrap.v2.makke.js
Please test it properly! I just wanted to figure out why it didn't work in IE.
from d3-textwrap.
Just implemented this change. Thanks for the fix.
from d3-textwrap.
Related Issues (18)
- wrap_with_tspans method omits single word at end HOT 3
- need help to use the correct syntax of wrapping running text HOT 2
- Problem with existing coordinates. HOT 2
- How to import or require after npm install? HOT 8
- import declarations may only appear at top level of a module HOT 2
- Bower package? HOT 1
- callback function once wrapping complete? HOT 1
- d3 text-wrap plugin changes coordinates HOT 1
- Text alignment in IE11 HOT 3
- Could not find a declaration file for module d3-textwrap HOT 1
- Import and Export Errors loading in script element
- Build in font formatting
- Doesn't select right element when <text> element is not only one within parent HOT 2
- Specify a LICENSE HOT 1
- Center alignment HOT 4
- Can't debug the getbounds function
- textwrap doesn't work with d3.selectAll() HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from d3-textwrap.