If you don't need any zoom at all, then it's easy - just set the autoZoomExtent
and zoomExtent
to a fixed value so that no zooming is possible. Also disable the zoomControl
. Here, a JSFiddle example for you:
http://jsfiddle.net/7s6st5Lf/
new NetChart({
container: document.getElementById("demo"),
area: { height: 350 },
data: { url: "https://zoomcharts.com/dvsl/data/net-chart/company-network.json" },
navigation: {
mode: "focusnodes",
initialNodes: ["1886"]
},
interaction: {
zooming: {
autoZoomAfterClick: true,
autoZoomExtent: [0.5,0.5],
zoomExtent: [0.5,0.5]
}
},
toolbar: {
zoomControl: false
}
});