Suddenly stop working
-
Hi,
I have been working on a chart, everything was working fine. And suddently D3 seems to have stopped working. I went back to basics and just did a simple canvas with a rectangle in a svg. Even that does not work. It seems that the instructions placed in the chart manager are never reached. Even console.log(“test”) does not do anything. I am very confused. It seems like a D3 bug. I have uninstalled it and reinstalled but still the same.
In the page i have just this line
[d3-source canvas="wpd3-94-0”]
In the chart manager I have this:
var svg = d3.select(".wpd3-94-0").append("svg") .attr("width", 1000) .attr("height", 1000); svg.append("rect") .attr("x", 50) .attr("y", 50) .attr("width", 1000) .attr("height", 1000) .attr("fill","red"); svg.append("text") .attr("x", 50) .attr("y", 50) .attr("text","hello"); console.log("test");
The javascrip debugger does not print anything neither.
Really needs some help here I cannot understand what is going on. I think of a bug and last recourse to reinstall the entire wordpress but this is a pain :s
Thanks in advance
The page I need help with: [log in to see the link]
- The topic ‘Suddenly stop working’ is closed to new replies.