anychart.onDocumentReady(function () {
var chart = anychart.line([1, 2, 1.3, 2.9]);
chart.contextMenu(false);
var customContextMenu = anychart.ui.contextMenu();
customContextMenu.addClassName("custom-menu");
customContextMenu.itemsProvider(function () {
text: "Custom Menu Item",
href: "https://api.anychart.com"
customContextMenu.attach(chart);
customContextMenu.removeClassName("custom-menu");
chart.title("Remove CSS class name.");
chart.container("container");