Hi,
We’re glad to know that you were able to figure it out. Let me know if it happens again. 🙂
Hello there,
How did you solve this issue? I am having it now and it is killing me!
The graph renders when the page loads. If you load the graph into a tab or a modal windows that you dont see from the very start, it only takes the default svg size that is 400×400.
Now my question is how to render the graph so that it takes 100% of the width.
The only think that makes the graph re-render is if you resize the window.
I actually added a transition to the wrapper element (I was using the graphs in tabs, so that was okay).
So because the parent element changed, the graph seemed to resize.
Didn’t have to do anything else I guess, cause I already set everything on responsive in the plugin settings
can you tell me the code you wrote please? I can’t seem to follow how you did it. When i resize the wrapper or the div(visualiser-X) the graph doesn’t auto rerender.
Using theme: DIVI
This is solution:
.tab-content > .tab-pane,
.pill-content > .pill-pane {
display: block;
height: 0;
overflow-y: hidden;
}
.tab-content > .active,
.pill-content > .active {
height: auto;
}
Would it be possible to call the render javascript on clicking the tab button?
Please create a new thread for your question, as per Forum Guideline. Hope you understand. 🙂