Copy link to clipboard
Copied
After creating some charts using the built in cfchart tags, I've been told that the ability to right click is not 508 compliant. Looking at the zingchart website, I have been able to work out most of the JSON, and I can see that to disable it you would use the following
"gui":{
"context-menu":{
"visible":"false"
}
},
My issue is that I don't know how to add this to the cfchart tag to get it to work.
Thanks
Copy link to clipboard
Copied
I needed to remove some menu items so was looking for a similar answer. I couldn't see any way of getting the GUI object in using the standard tag attributes so I used an external JSON file instead:
<cfchart format="html" style="filename.json">
and then added this in the JSON file:
{
"gui":{
"behaviors":[
{
"id":"ViewAll",
"enabled":"none"
},
...
]
},
"graphset":[
{
"type":"line",
...
Worked a treat.