ZingChart: How do I disable the context menu?
The context menu is what appears when you right-click on the chart. The context menu holds various options for interacting with a chart.
By default the context menu is turned on. It is possible to disable the context menu and turn it off by setting the empty
property to false in the contextMenu
object like so
gui : {
contextMenu : {
empty : true
}
}
Note: You may not fully disable nor remove the "About ZingChart" entry unless you are a commercial license holder.
The context menu should not be viewed as an annoyance though it is highly customizable supporting a variety of built-in and user-defined behaviors. The context menu tutorial should help you explore such possibilities.