The pie chart below was created in ColdFusion v11
with the following javascript:
{
"graphset":[
{
"border-width":1,
"background-color":"transparent",
"foreground-color":"black",
"plot":{
"value-box":{"color":"black"},
"border-color":"black",
"tooltip-text":"%t\n%v"
},
"plotarea":{
"margin":"dynamic"
},
"legend":{
"border-color":"red",
"layout":"2x",
"x":10,
"y":30,
"shadow":true,
"height":"40px"
}
}
]
}
in v2016 the JS does not work at all and received an error:
SyntaxError: unterminated string literal (zingchart-rhino.min.js#8(eval)#1) The specific sequence of files included or processed is: C:\websites\HazTrak\html\HazPortal.cfm, line: 1
if I take out the javascript the pie chart looks like:
I either need a fixed so that v2016 will work with the same JS or an xml file to do the same as the js did.