Problem with code generated
-
Hi guys,
I’m using the shortcode inside a category description.
I already activated the shortcode execution there, but using the sample schortcode I get this message on the page:var barchartOps = { animation: true,scaleFontSize: 12,scaleFontColor: “#666”,scaleOverride:false,scaleSteps:null,scaleStepWidth:null,scaleStartValue:null}; var barchartData = {labels : [“one”,”two”,”three”,”four”],datasets : [{ fillColor : “rgba(105,210,231,0.7)”, strokeColor : “rgba(105,210,231,1)”, data : [40,32,50,35] },{ fillColor : “rgba(224,228,204,0.7)”, strokeColor : “rgba(224,228,204,1)”, data : [20,25,45,42] },{ fillColor : “rgba(243,134,48,0.7)”, strokeColor : “rgba(243,134,48,1)”, data : [40,43,61,50] },{ fillColor : “rgba(150,206,127,0.7)”, strokeColor : “rgba(150,206,127,1)”, data : [33,15,40,22] }]};var wpChartbarchartBar = new Chart(document.getElementById(“barchart”).getContext(“2d”)).Bar(barchartData,barchartOps)
can you help?
Thanks!
- The topic ‘Problem with code generated’ is closed to new replies.