how to disable contextmenu of flashcanvas

92 views Asked by At

I'm using FlashCanvas (flashcanvas) instead of excanvas.js library to draw Flot chart in IE7/8 versions. I'm able to view the charts successfully but not able to disable the right click (context menu) option. As mentioned in their Documention section under configuration falsh canvas configuration documentation im having below code at the bottom of the page, but still contextMenu is coming up when i'm right-clicking. what is the mistake im doing here

if (typeof FlashCanvas != "undefined") {
    FlashCanvas.setOptions({
        disableContextMenu: true
    });
}
0

There are 0 answers