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
Hi greghub,
thanks for building this awesome and beautiful funnel graph library. I am experiencing the issue where either styles are not applied correctly or the SVG funnel is not drawn at all.
I used the CSS/JS files and the code from the example in the Readme. Here is a JS fiddle that shows the issue: https://jsfiddle.net/xyzb95oq/1/
The text was updated successfully, but these errors were encountered:
Found the issue. A height-value needs to be assigned to the funnel. Otherwise it will draw the labels etc. but the actual SVG areas will be invisible because they have height 0.
To get something resembling the screenshot in the Readme.md I found that I also had to add a wrapper div with some padding and a background and add graph.updateWidth() to a browser resize event.
Also, I hadn't realised the data structure for the values correctly, it's per label then an array of values for the subLabels, not per subLabel.
Hi greghub,
thanks for building this awesome and beautiful funnel graph library. I am experiencing the issue where either styles are not applied correctly or the SVG funnel is not drawn at all.
I used the CSS/JS files and the code from the example in the Readme. Here is a JS fiddle that shows the issue: https://jsfiddle.net/xyzb95oq/1/
The text was updated successfully, but these errors were encountered: