You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently g-axis makes a lot of calls to SVGElement.getBBox(), which JSDom cannot do anything with because it doesn't do any visual calculations.
There are two ways to resolve this:
1. Explicitly not support JSDom implementations
I'd prefer not to do this if possible because it would mean needing to use really heavy implementations like PhantomJS or Puppeteer on the server, which will reduce adoption of using the charts programmatically within the org.
2. Find a better, non-getBBox() way of calculating sizes
d3-axis seems to manage this fine, it works in JSDom and headless contexts.
The text was updated successfully, but these errors were encountered:
Currently g-axis makes a lot of calls to
SVGElement.getBBox()
, which JSDom cannot do anything with because it doesn't do any visual calculations.There are two ways to resolve this:
1. Explicitly not support JSDom implementations
I'd prefer not to do this if possible because it would mean needing to use really heavy implementations like PhantomJS or Puppeteer on the server, which will reduce adoption of using the charts programmatically within the org.
2. Find a better, non-
getBBox()
way of calculating sizesd3-axis seems to manage this fine, it works in JSDom and headless contexts.
The text was updated successfully, but these errors were encountered: